Empower Your Security Tools Instantly with Our ASN Lookup API

Use autonomous system number lookup to enhance your security with detailed network information, routing data, ASN WHOIS records, peer relationships, and more.

curl --location --request GET https://api.whoisfreaks.com/v2.0/asn-whois?apiKey=API_KEY&asn=as56554
[
  {
    "asNumber": "19231",
    "asName": "NBCUNI",
    "orgName": "NBCUniversal",
    "description": "",
    "orgHandle": "nbcun-5",
    "country": "US",
    "domain": "nbcuni.com",
    "website": "",
    "allocationStatus": "",
    "numOfIPv4Routes": "5",
    "numOfIPv6Routes": "0",
    "whoisHost": "ARIN",
    "dateAllocated": "2020-07-10T00:00",
    "type": "BUSINESS",
    "routeObjects": [
      {
        "route": "50.203.232.0/24",
        "origin": "AS19231",
        "originName": "NBCUniversal",
        "isp": "Comcast Cable Communications, LLC",
        "numberOfIps": 256
      },
      {
        "route": "208.73.112.0/24",
        "origin": "AS19231",
        "originName": "NBCUniversal",
        "isp": "NBCUniversal",
        "numberOfIps": 256
      },
      {
        "route": "208.73.115.0/24",
        "origin": "AS19231",
        "originName": "NBCUniversal",
        "isp": "NBCUniversal",
        "numberOfIps": 256
      },
      {
        "route": "208.73.114.0/24",
        "origin": "AS19231",
        "originName": "NBCUniversal",
        "isp": "NBCUniversal",
        "numberOfIps": 256
      },
      {
        "route": "173.213.210.0/24",
        "origin": "AS19231",
        "originName": "NBCUniversal",
        "isp": "NBCUniversal",
        "numberOfIps": 256
      }
    ],
    "whoisResponse": "\n#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https://www.arin.net/resources/registry/whois/tou/\n#\n# If you see inaccuracies in the results, please report at\n# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n#\n# Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n#\n\n\nASNumber:       19231\nASName:         NBCUNI\nASHandle:       AS19231\nRegDate:        2006-12-13\nUpdated:        2020-07-10    \nRef:            https://rdap.arin.net/registry/autnum/19231\n\n\nOrgName:        NBCUniversal\nOrgId:          NBCUN-5\nAddress:        30 ROCKEFELLER CENTER\nCity:           NEW YORK\nStateProv:      NY\nPostalCode:     10112\nCountry:        US\nRegDate:        2006-12-11\nUpdated:        2025-01-21\nRef:            https://rdap.arin.net/registry/entity/NBCUN-5\n\n\nOrgAbuseHandle: INFOS6-ARIN\nOrgAbuseName:   InfoSec\nOrgAbusePhone:  +1-212-664-4444 \nOrgAbuseEmail:  [email protected]\nOrgAbuseRef:    https://rdap.arin.net/registry/entity/INFOS6-ARIN\n\nOrgNOCHandle: NBCUO-ARIN\nOrgNOCName:   NBCUO-ARIN\nOrgNOCPhone:  +1-818-777-9673 \nOrgNOCEmail:  [email protected]\nOrgNOCRef:    https://rdap.arin.net/registry/entity/NBCUO-ARIN\n\nOrgTechHandle: NBCUT-ARIN\nOrgTechName:   NBCU Technical\nOrgTechPhone:  +1-818-777-9673 \nOrgTechEmail:  [email protected]\nOrgTechRef:    https://rdap.arin.net/registry/entity/NBCUT-ARIN\n\nRAbuseHandle: NBCUA-ARIN\nRAbuseName:   NBCU Admin\nRAbusePhone:  +1-818-777-9673 \nRAbuseEmail:  [email protected]\nRAbuseRef:    https://rdap.arin.net/registry/entity/NBCUA-ARIN\n\nRNOCHandle: NBCUA-ARIN\nRNOCName:   NBCU Admin\nRNOCPhone:  +1-818-777-9673 \nRNOCEmail:  [email protected]\nRNOCRef:    https://rdap.arin.net/registry/entity/NBCUA-ARIN\n\nRTechHandle: NBCUT-ARIN\nRTechName:   NBCU Technical\nRTechPhone:  +1-818-777-9673 \nRTechEmail:  [email protected]\nRTechRef:    https://rdap.arin.net/registry/entity/NBCUT-ARIN\n\n\n#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https://www.arin.net/resources/registry/whois/tou/\n#\n# If you see inaccuracies in the results, please report at\n# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n#\n# Copyright 1997-2026, American Registry for Internet Numbers, Ltd.\n#\n",
    "downstreams": [],
    "parsedWhoisResponse": {
      "status": true,
      "whois_server": "whois.arin.net",
      "aut_nums": [
        {
          "aut_num": "19231",
          "as_handle": "AS19231",
          "as_name": "NBCUNI",
          "tech_contacts": [
            "NBCUT-ARIN",
            "NBCUT-ARIN"
          ],
          "abuse_contacts": [
            "INFOS6-ARIN",
            "NBCUA-ARIN"
          ],
          "date_created": "2006-12-13",
          "date_updated": "2020-07-10",
          "source": "https://rdap.arin.net/registry/autnum/19231"
        }
      ],
      "organization": {
        "handle": "NBCUN-5",
        "name": "NBCUniversal",
        "address": [
          "30 ROCKEFELLER CENTER",
          "NEW YORK",
          "NY",
          "10112",
          "US"
        ],
        "city": "New York",
        "state": "NY",
        "zip_code": "10112",
        "country": [
          "US"
        ],
        "date_created": "2006-12-11",
        "date_updated": "2025-01-21",
        "source": "https://rdap.arin.net/registry/entity/NBCUN-5",
        "addressCountry": "US"
      },
      "technical_contacts": [
        {
          "handle": "NBCUT-ARIN",
          "name": "NBCU Technical",
          "email": [
            "[email protected]"
          ],
          "phone": [
            "+1-818-777-9673"
          ],
          "source": "https://rdap.arin.net/registry/entity/NBCUT-ARIN"
        }
      ],
      "abuse_contacts": [
        {
          "handle": "INFOS6-ARIN",
          "name": "InfoSec",
          "email": [
            "[email protected]"
          ],
          "phone": [
            "+1-212-664-4444"
          ],
          "source": "https://rdap.arin.net/registry/entity/INFOS6-ARIN"
        },
        {
          "handle": "NBCUA-ARIN",
          "name": "NBCU Admin",
          "email": [
            "[email protected]"
          ],
          "phone": [
            "+1-818-777-9673"
          ],
          "source": "https://rdap.arin.net/registry/entity/NBCUA-ARIN"
        }
      ]
    },
    "upstreams": [
      {
        "asNumber": "AS286",
        "description": "GTT Communications Inc.",
        "country": "US"
      },
      {
        "asNumber": "AS3257",
        "description": "GTT Communications Inc.",
        "country": "US"
      },
      {
        "asNumber": "AS7922",
        "description": "Comcast Cable Communications, LLC",
        "country": "US"
      }
    ],
    "peers": [
      {
        "asNumber": "AS286",
        "description": "GTT Communications Inc.",
        "country": "NL"
      },
      {
        "asNumber": "AS286",
        "description": "GTT Communications Inc.",
        "country": "US"
      },
      {
        "asNumber": "AS3257",
        "description": "GTT Communications Inc.",
        "country": "US"
      },
      {
        "asNumber": "AS7922",
        "description": "Comcast Cable Communications, LLC",
        "country": "US"
      }
    ],
    "contacts": {
      "emailContacts": [
        "[email protected]",
        "[email protected]"
      ],
      "abuseContacts": []
    },
    "legacyRoutes": []
  }
]
pricing backgroundEclipse Top RightEclipse Top LeftEclipse WHOIS Stats

Product

ASN Lookup API

An advanced ASN API offering real‑time autonomous system number intelligence, enabling security professionals, network engineers, and researchers to identify networks, analyze connectivity, and strengthen cybersecurity with precision.

ASN Lookup API

ASN Lookup provides detailed ASN WHOIS data along with registration information, organization names, and classifications such as ISP or hosting provider. It also delivers routes, peering relationships, and upstream and downstream providers in structured JSON or XML formats.

monitoring

Features

What ASN Lookup API Provide

Real‑time ASN insights to strengthen cybersecurity and streamline network analysis.

Feature icon

Extensive ASN Listings

Access diverse ASNs worldwide to explore the global internet backbone and uncover interconnection patterns.

Feature icon

Detailed Organization Info

Use the ASN API to retrieve operational and contact information for AS holders, ensuring verification.

Feature icon

IP Range Associations

Discover which IP blocks map to specific ASNs, providing clarity on ownership, network scope, and routing boundaries.

Feature icon

API Access

Integrate ASN data with your tools through the API to enable seamless automation and enhanced network management.

Product

ASN Whois Database

Get ASN database to upgrade your systems with routing, ownership, and connectivity insights.

ASN WHOIS Database

The ASN WHOIS Database delivers daily snapshots of ASN details, covering around 128.7K records. Updated daily in standardized gzipped JSON across all RIRs (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC), it ensures consistent and reliable data access.

monitoring

Use Cases

ASN API in Action

Real‑world applications of ASN data to verify, analyze, and secure networks.

Feature icon

Cybersecurity and Threat Detection

ASN data helps security teams pinpoint malicious activity, detect anomalies, and mitigate threats.

Feature icon

Routing Optimization

Analyze routing paths, ASN relationships, and policies to optimize traffic, reduce latency, and maintain high‑performance connectivity.

Feature icon

Peering Agreements

Identify ASN partners for peering to expand reach, cut transit costs, improve routing, and strengthen ISP and content network negotiations.

Feature icon

Security Analysis

Monitor ASN routing to detect anomalies and path changes, identifying threats like BGP hijacking and route leaks.

Feature icon

Market Analysis

Evaluate ASN distribution to gauge ISP presence, track infrastructure trends, and guide decisions on expansion, investment, and more.

Feature icon

Academic Research

Leverage ASN data to analyze internet infrastructure, network behavior, and support research in protocols, topology, and connectivity.

Request demo background

Unlock ASN insights with our API — monitor routing threats, assess distribution trends, and analyze infrastructure for research and strategic growth.

FAQs

Answers to common questions about ASNs, formats and data freshness.

What is an ASN WHOIS API?

The ASN WHOIS API provides detailed information about Autonomous Systems. An Autonomous System (AS) is a collection of IP networks managed by one or more operators that share a unified, well-defined routing policy with the internet. The ASN WHOIS database includes key details such as the AS number, the organization to which it is assigned, contact information, and the associated IP address ranges.

What kind of information does an ASN WHOIS Lookup reveal?

It reveals the ASN's registration details, the organization managing it, routing policies, status, and contact information for administrative and technical issues.

Why is ASN WHOIS Lookup important?

It's important for understanding the management of internet routing, identifying the operators of large networks, and for network troubleshooting or research purposes.

How often is ASN WHOIS data updated?

This depends on the policies of the regional internet registry maintaining the data. It's generally updated whenever there are significant changes to the ASN or its associated organization.

What formats does the ASN API support?

The ASN API provides responses in both JSON and XML formats.

How can I test the ASN Data API?

When you sign up, we provide 500 free credits that you can use to explore and test the ASN WHOIS API.

Do ASN data responses come from the database or live lookups?

The ASN API performs live lookups directly from registries. Alternatively, you can subscribe to our ASN database service, which provides daily snapshots of ASN data.