Advanced ASN API

We offer a dedicated endpoint to query detailed ASN information, with coverage of ~100K ASNs.

Example Request

curl  "https://api.ipdata.co/AS2/?api-key=<<apiKey>>"
https api.ipdata.co/AS2/ api-key==test
ipdata AS2

Sample Response

{
    "domain": "udel.edu",
    "usage": "edu",
    "name": "University of Delaware",
    "ipv4_prefixes": [
        "128.4.0.0/16",
        "91.143.144.0/20",
        "177.55.80.0/22",
        "12.35.70.0/23",
        "170.244.24.0/23",
        "45.229.70.0/24",
        "45.163.227.0/24",
        "45.163.224.0/24",
        "31.129.245.0/24",
        "103.250.31.0/24",
        "103.29.28.0/24",
        "50.236.231.0/24"
    ],
    "ipv6_prefixes": [
        "2001:df4:200::/47"
    ],
    "num_ips": "73472",
    "registry": "arin",
    "country": "US",
    "date": "1991-01-10",
    "status": "assigned",
    "upstream": [
        34,
        3356,
        37628,
        41837,
        55257,
        56720,
        135216,
        207422,
        265007,
        266489,
        267222,
        270289
    ],
    "downstream": [
        24556,
        394717
    ],
    "peers": [
        21954,
        28591,
        59445,
        137704
    ]
}

Data Fields

FieldDescription
domainThe website of the organization
usageUsage Type (same categories as ASN)
nameThe name of the organization that owns the ASN
ipv4_prefixesThe ipv4 network prefixes associated with the ASN
ipv6_prefixesThe ipv6 network prefixes associated with the ASN
num_ipsThe number of IP addresses associated with the ASN
registryRegistry/Administrator of the ASN
countryCountry associated with the ASN
dateDate ASN was assigned
statusASN status
upstreamUpstream providers for the ASN in question
downstreamDownstream ASN providers for the ASN in question
peersPeer ASN providers for the ASN in question

Did this page help you?