ASN WHOIS API - Real time Autonomous System Number Lookup

The WhoisFreaks ASN WHOIS API lets you query real-time data for any Autonomous System Number including organisation details, BGP routing, IP prefixes, peer relationships, and upstream/downstream providers. Get clean JSON or XML responses. Built for security engineers, network researchers, and threat intelligence platforms.

curl --location --request GET https://api.whoisfreaks.com/v2.0/asn-whois?apiKey=API_KEY&asn=as15169
[
  {
    "asNumber": "15169",
    "asName": "GOOGLE",
    "orgName": "Google LLC",
    "description": "",
    "orgHandle": "gogl",
    "country": "US",
    "domain": "google.com",
    "website": "",
    "allocationStatus": "",
    "numOfIPv4Routes": "1088",
    "numOfIPv6Routes": "162",
    "whoisHost": "ARIN",
    "dateAllocated": "2000-03-30",
    "type": "BUSINESS",
    "routeObjects": [
      {
        "route": "108.177.103.0/24",
        "origin": "AS15169",
        "originName": "Google LLC",
        "isp": "Google LLC",
        "numberOfIps": 256
      },
      {
        "route": "192.178.131.0/24",
        "origin": "AS15169",
        "originName": "Google LLC",
        "isp": "Google LLC",
        "numberOfIps": 256
      },
      {
        "route": "34.190.176.0/21",
        "origin": "AS15169",
        "originName": "Google LLC",
        "isp": "Google LLC",
        "numberOfIps": 2048
      }
    ],
    "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:       15169\nASName:         GOOGLE\nASHandle:       AS15169\nRegDate:        2000-03-30\nUpdated:        2012-02-24    \nRef:            https://rdap.arin.net/registry/autnum/15169\n\n\n\nOrgName:        Google LLC\nOrgId:          GOGL\nAddress:        1600 Amphitheatre Parkway\nCity:           Mountain View\nStateProv:      CA\nPostalCode:     94043\nCountry:        US\nRegDate:        2000-03-30\nUpdated:        2019-10-31\nComment:        Please note that the recommended way to file abuse complaints are located in the following links. \nComment:        \nComment:        To report abuse and illegal activity: https://www.google.com/contact/\nComment:        \nComment:        For legal requests: http://support.google.com/legal \nComment:        \nComment:        Regards, \nComment:        The Google Team\nRef:            https://rdap.arin.net/registry/entity/GOGL\n\n\nOrgTechHandle: ZG39-ARIN\nOrgTechName:   Google LLC\nOrgTechPhone:  +1-650-253-0000 \nOrgTechEmail:  [email protected]\nOrgTechRef:    https://rdap.arin.net/registry/entity/ZG39-ARIN\n\nOrgAbuseHandle: ABUSE5250-ARIN\nOrgAbuseName:   Abuse\nOrgAbusePhone:  +1-650-253-0000 \nOrgAbuseEmail:  [email protected]\nOrgAbuseRef:    https://rdap.arin.net/registry/entity/ABUSE5250-ARIN\n\nRTechHandle: ZG39-ARIN\nRTechName:   Google LLC\nRTechPhone:  +1-650-253-0000 \nRTechEmail:  [email protected]\nRTechRef:    https://rdap.arin.net/registry/entity/ZG39-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": [
      {
        "asNumber": "AS36383",
        "description": "Google LLC",
        "country": "US"
      },
      {
        "asNumber": "AS41264",
        "description": "Google Switzerland GmbH",
        "country": "CH"
      },
      {
        "asNumber": "AS139190",
        "description": "Google Asia Pacific Pte. Ltd.",
        "country": "SG"
      }
    ],
    "parsedWhoisResponse": {
      "status": true,
      "whois_server": "whois.arin.net",
      "aut_nums": [
        {
          "aut_num": "15169",
          "as_handle": "AS15169",
          "as_name": "GOOGLE",
          "tech_contacts": [
            "ZG39-ARIN",
            "ZG39-ARIN"
          ],
          "abuse_contacts": [
            "ABUSE5250-ARIN"
          ],
          "date_created": "2000-03-30",
          "date_updated": "2012-02-24",
          "source": "https://rdap.arin.net/registry/autnum/15169"
        }
      ],
      "organization": {
        "handle": "GOGL",
        "name": "Google LLC",
        "address": [
          "1600 Amphitheatre Parkway",
          "Mountain View",
          "CA",
          "94043",
          "US"
        ],
        "street": "Amphitheatre Parkway",
        "city": "Mountain View",
        "state": "CA",
        "zip_code": "94043",
        "country": [
          "US"
        ],
        "date_created": "2000-03-30",
        "date_updated": "2019-10-31",
        "source": "https://rdap.arin.net/registry/entity/GOGL",
        "addressCountry": "US"
      },
      "technical_contacts": [
        {
          "handle": "ZG39-ARIN",
          "name": "Google LLC",
          "email": [
            "[email protected]"
          ],
          "phone": [
            "+1-650-253-0000"
          ],
          "source": "https://rdap.arin.net/registry/entity/ZG39-ARIN"
        }
      ],
      "abuse_contacts": [
        {
          "handle": "ABUSE5250-ARIN",
          "name": "Abuse",
          "email": [
            "[email protected]"
          ],
          "phone": [
            "+1-650-253-0000"
          ],
          "source": "https://rdap.arin.net/registry/entity/ABUSE5250-ARIN"
        }
      ]
    },
    "upstreams": [
      {
        "asNumber": "AS141014",
        "description": "Balaji Teleworks Development Pvt Ltd",
        "country": "IN"
      },
      {
        "asNumber": "AS12552",
        "description": "GlobalConnect AB",
        "country": "SE"
      },
      {
        "asNumber": "AS5511",
        "description": "Orange S.A.",
        "country": "FR"
      }
    ],
    "peers": [
      {
        "asNumber": "AS141014",
        "description": "Balaji Teleworks Development Pvt Ltd",
        "country": "IN"
      },
      {
        "asNumber": "AS5511",
        "description": "Orange S.A.",
        "country": "FR"
      },
      {
        "asNumber": "AS28792",
        "description": "Public Internet Ltd",
        "country": "GB"
      }
    ],
    "contacts": {
      "emailContacts": [
        "[email protected]"
      ],
      "abuseContacts": [
        "[email protected]"
      ]
    },
    "legacyRoutes": [
      "152.65.218.0/24",
      "152.65.218.0/23",
      "34.0.0.0/20",
      "34.2.0.0/20",
      "35.212.128.0/17",
      "34.190.0.0/16",
      "34.191.0.0/16",
      "34.190.160.0/21",
      "34.1.96.0/24",
      "152.65.249.0/24",
      "34.1.208.0/20",
      "2600:1902:200::/44",
      "34.1.48.0/20",
      "57.140.210.0/24",
      "34.1.83.0/24",
      "34.1.112.0/21",
      "2600:1902:300::/44",
      "57.140.225.0/24",
      "34.1.64.0/24",
      "2600:1902:330::/44",
      "2600:1902::/31",
      "34.1.67.0/24",
      "34.0.0.0/15",
      "35.207.0.0/18",
      "34.2.0.0/16",
      "152.65.248.0/24",
      "34.190.72.0/21",
      "34.1.108.0/24",
      "152.65.234.0/24",
      "34.112.0.0/14",
      "152.65.246.0/24",
      "34.1.99.0/24",
      "35.206.2.0/24",
      "35.207.192.0/18",
      "34.1.77.0/24",
      "34.190.16.0/21",
      "34.1.176.0/20",
      "35.216.128.0/17",
      "34.190.224.0/21",
      "2600:1902:50::/44",
      "34.4.128.0/18",
      "34.1.94.0/24",
      "34.4.128.0/17",
      "152.65.208.0/22",
      "57.140.213.0/24",
      "35.211.0.0/16",
      "34.5.0.0/16",
      "152.65.230.0/24",
      "2600:1902:c0::/44",
      "34.3.16.0/20",
      "152.65.224.0/19",
      "66.22.229.0/24",
      "35.208.0.0/14",
      "34.190.184.0/21",
      "2600:1902:60::/44",
      "35.213.192.0/18",
      "34.2.114.0/23",
      "152.65.214.0/23",
      "57.140.226.0/24",
      "34.3.32.0/19",
      "57.140.195.0/24",
      "34.3.64.0/18",
      "57.140.192.0/18",
      "34.0.32.0/20",
      "2600:1902:70::/44",
      "57.140.215.0/24",
      "34.3.96.0/20",
      "152.65.227.0/24",
      "34.0.236.0/23",
      "34.2.116.0/23",
      "35.206.192.0/18",
      "34.1.120.0/21",
      "34.1.89.0/24",
      "2600:1902:4a0::/44",
      "34.190.8.0/21",
      "57.140.228.0/24",
      "35.206.4.0/24",
      "2600:1902:10::/44",
      "34.4.16.0/20",
      "34.0.234.0/24",
      "35.212.0.0/14",
      "34.0.16.0/20",
      "66.22.228.0/24",
      "66.22.228.0/23",
      "152.65.245.0/24",
      "35.216.0.0/14",
      "34.190.64.0/21",
      "34.1.105.0/24",
      "35.216.0.0/17",
      "34.4.32.0/19",
      "2600:1902:40::/44",
      "35.219.194.0/24",
      "57.140.243.0/24",
      "34.190.24.0/21",
      "34.1.32.0/20",
      "2600:1902:20::/44",
      "34.1.85.0/24",
      "34.0.96.0/19",
      "34.190.40.0/21",
      "57.140.244.0/24",
      "34.190.216.0/21",
      "57.140.227.0/24",
      "2600:1902:2f0::/44",
      "34.3.24.0/22",
      "2600:1902:1f0::/44",
      "34.188.0.0/16",
      "34.1.86.0/24",
      "34.189.0.0/16",
      "2600:1902:80::/44",
      "34.4.64.0/18",
      "34.1.101.0/24",
      "152.65.225.0/24",
      "35.213.0.0/17",
      "152.65.222.0/23",
      "34.1.104.0/24",
      "152.65.244.0/24",
      "35.217.128.0/17",
      "34.191.48.0/21",
      "34.190.192.0/21",
      "152.65.228.0/24",
      "34.2.72.0/22",
      "35.206.0.0/15",
      "152.65.209.0/24",
      "35.206.3.0/24",
      "2600:1902:1e0::/44",
      "34.0.238.0/23",
      "35.206.9.0/24"
    ],
    "response_status": 200,
    "routeObjectsCount": 1250,
    "downstreamsCount": 20,
    "upstreamsCount": 138,
    "peersCount": 666
  }
]
pricing backgroundEclipse Top RightEclipse Top LeftEclipse WHOIS Stats

Product

ASN WHOIS Lookup API

Use the ASN WHOIS API to look up complete registration and routing data for any Autonomous System Number

ASN Lookup API

The API queries live WHOIS data from ARIN, RIPE, APNIC, AFRINIC, and LACNIC and returns results in structured JSON or XML, ready for integration into your security tooling, network maps, or threat intelligence workflows. Each response includes the ASN owner, organisation type, BGP route objects, IP prefix allocations, upstream providers, downstream networks, and peer ASNs.

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?

An ASN WHOIS API lets you programmatically query registration data for Autonomous System Numbers (ASNs). An ASN identifies a network on the internet and is used for BGP routing. The API returns the registered owner, organisation type, route objects, peer ASNs, and upstream/downstream providers.

What data does the ASN WHOIS API return?

Each response includes the ASN number and name, organisation name and handle, country, allocation date, BGP route objects with prefix and IP count, upstream providers, downstream networks, peer ASNs, and the raw WHOIS record.

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 do I look up an ASN by IP address?

Use the IP WHOIS API first to retrieve the ASN associated with an IP, then use the ASN WHOIS API to get full details about that autonomous system.

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.

Is there a free plan?

Yes. WhoisFreaks offers a free tier with 500 free requests. Sign up to get your API key and start making live ASN WHOIS queries immediately.