Logo
Logo

PRODUCTS

TOOLS

Empower Your Security Tools Instantly with OurASN Lookup API

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

1[
2  {
3    "asNumber": "19231",
4    "asName": "NBCUNI",
5    "orgName": "NBCUniversal",
6    "description": "",
7    "orgHandle": "nbcun-5",
8    "country": "US",
9    "domain": "nbcuni.com",
10    "website": "",
11    "allocationStatus": "",
12    "numOfIPv4Routes": "5",
13    "numOfIPv6Routes": "0",
14    "whoisHost": "ARIN",
15    "dateAllocated": "2020-07-10T00:00",
16    "type": "BUSINESS",
17    "routeObjects": [
18      {
19        "route": "50.203.232.0/24",
20        "origin": "AS19231",
21        "originName": "NBCUniversal",
22        "isp": "Comcast Cable Communications, LLC",
23        "numberOfIps": 256
24      },
25      {
26        "route": "208.73.112.0/24",
27        "origin": "AS19231",
28        "originName": "NBCUniversal",
29        "isp": "NBCUniversal",
30        "numberOfIps": 256
31      },
32      {
33        "route": "208.73.115.0/24",
34        "origin": "AS19231",
35        "originName": "NBCUniversal",
36        "isp": "NBCUniversal",
37        "numberOfIps": 256
38      },
39      {
40        "route": "208.73.114.0/24",
41        "origin": "AS19231",
42        "originName": "NBCUniversal",
43        "isp": "NBCUniversal",
44        "numberOfIps": 256
45      },
46      {
47        "route": "173.213.210.0/24",
48        "origin": "AS19231",
49        "originName": "NBCUniversal",
50        "isp": "NBCUniversal",
51        "numberOfIps": 256
52      }
53    ],
54    "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",
55    "downstreams": [],
56    "parsedWhoisResponse": {
57      "status": true,
58      "whois_server": "whois.arin.net",
59      "aut_nums": [
60        {
61          "aut_num": "19231",
62          "as_handle": "AS19231",
63          "as_name": "NBCUNI",
64          "tech_contacts": [
65            "NBCUT-ARIN",
66            "NBCUT-ARIN"
67          ],
68          "abuse_contacts": [
69            "INFOS6-ARIN",
70            "NBCUA-ARIN"
71          ],
72          "date_created": "2006-12-13",
73          "date_updated": "2020-07-10",
74          "source": "https://rdap.arin.net/registry/autnum/19231"
75        }
76      ],
77      "organization": {
78        "handle": "NBCUN-5",
79        "name": "NBCUniversal",
80        "address": [
81          "30 ROCKEFELLER CENTER",
82          "NEW YORK",
83          "NY",
84          "10112",
85          "US"
86        ],
87        "city": "New York",
88        "state": "NY",
89        "zip_code": "10112",
90        "country": [
91          "US"
92        ],
93        "date_created": "2006-12-11",
94        "date_updated": "2025-01-21",
95        "source": "https://rdap.arin.net/registry/entity/NBCUN-5",
96        "addressCountry": "US"
97      },
98      "technical_contacts": [
99        {
100          "handle": "NBCUT-ARIN",
101          "name": "NBCU Technical",
102          "email": [
103            "[email protected]"
104          ],
105          "phone": [
106            "+1-818-777-9673"
107          ],
108          "source": "https://rdap.arin.net/registry/entity/NBCUT-ARIN"
109        }
110      ],
111      "abuse_contacts": [
112        {
113          "handle": "INFOS6-ARIN",
114          "name": "InfoSec",
115          "email": [
116            "[email protected]"
117          ],
118          "phone": [
119            "+1-212-664-4444"
120          ],
121          "source": "https://rdap.arin.net/registry/entity/INFOS6-ARIN"
122        },
123        {
124          "handle": "NBCUA-ARIN",
125          "name": "NBCU Admin",
126          "email": [
127            "[email protected]"
128          ],
129          "phone": [
130            "+1-818-777-9673"
131          ],
132          "source": "https://rdap.arin.net/registry/entity/NBCUA-ARIN"
133        }
134      ]
135    },
136    "upstreams": [
137      {
138        "asNumber": "AS286",
139        "description": "GTT Communications Inc.",
140        "country": "US"
141      },
142      {
143        "asNumber": "AS3257",
144        "description": "GTT Communications Inc.",
145        "country": "US"
146      },
147      {
148        "asNumber": "AS7922",
149        "description": "Comcast Cable Communications, LLC",
150        "country": "US"
151      }
152    ],
153    "peers": [
154      {
155        "asNumber": "AS286",
156        "description": "GTT Communications Inc.",
157        "country": "NL"
158      },
159      {
160        "asNumber": "AS286",
161        "description": "GTT Communications Inc.",
162        "country": "US"
163      },
164      {
165        "asNumber": "AS3257",
166        "description": "GTT Communications Inc.",
167        "country": "US"
168      },
169      {
170        "asNumber": "AS7922",
171        "description": "Comcast Cable Communications, LLC",
172        "country": "US"
173      }
174    ],
175    "contacts": {
176      "emailContacts": [
177        "[email protected]",
178        "[email protected]"
179      ],
180      "abuseContacts": []
181    },
182    "legacyRoutes": []
183  }
184]
as19233
as13231
as18331
as19299
pricing backgroundEclipse Top RightEclipse Top LeftEclipse WHOIS Stats
1528+
TLDs
693M+
Active Domains
881M+
Domains Tracked
3567M+
WHOIS Records
4998M+
Host Names
14B+
DNS Records

Product

ASNLookup 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

WhatASN Lookup APIProvide

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 WhoisDatabase
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.

pricing background

Documentation

ASN Lookup

The ASN WHOIS API provides detailed information about Autonomous System Numbers (ASNs), including the AS number, name, organization details, country, domain, allocation status, and associated IPv4 and IPv6 routes. It also returns upstream and downstream providers, peers, administrative and technical contacts, abuse contacts, and raw WHOIS data, all available in JSON or XML format.

Authorization

You can make authorized requests to our API by passing API key as a query parameter. To get your API key, login to our billing dashboard and get your API key! If your API key has been compromised, you can change it by clicking on reset button in billing dashboard.

Query Parameters

Required
  • apiKey
    Get your API key from our billing dashboard.
  • asn
    The ASN number with or without 'as' for requested whois. (e.g. as1009 or 1009)
Optional
  • format
    Two formats are available JSON, XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
Loading request...

Response

Loading response...

Status Codes

Success Codes
  • 200Request is processed successfully.
  • 206Partial response, as an error occurred while processing the request.
Failure Codes
  • 400Request-param 'asn' (******) is not valid.
  • 400Request-param 'format' (<format>) is not valid. Supported formats are json, xml.
  • 401Provided API key is invalid.
  • 401Provided API key is inactive.
  • 401Please buy a subscription plan or add api credits, then use this api key.
  • 401Your subscription is deactivated. Please buy new plan or add api credits for using whoisfreaks APIs.
  • 401Your subscription is deactivated due to much time payment failure. Please buy a new plan or add api credits for using whoisfreaks APIs.
  • 401Your account is deactivated.
  • 401You are blocked due to suspicious activity.
  • 408Unable to fetch whois data. Please try again.
  • 412You have exceeded the limit of api plan requests and your subscription is canceled.
  • 413You have exceeded the limit of api credits requests [allowed_request_no]. Please upgrade your plan.
  • 413You have exceeded the limit of Surcharge Requests [allowed_surcharge_request_no]. Please upgrade your plan.
  • 429Please slow down. Your maximum request limit per minute is reached.
  • 500Internal Server error occurred.
  • 503Service is unavailable. Please try after some time.
  • 504Request is timed-out.
FAQs
Enhance your apps with industry leading web scraping and crawling.
What is an ASN Whois API?
What formats does the ASN API support?
How can I test the ASN Data API?
Do ASN data responses come from the database or live lookups?