Basic ASN

We provide detailed ASN data for all IP Addresses with the following fields: AS Name, AS Number, AS Route, the AS Organization's domain and the usage type. We have coverage of ~100K ASNs.

Example Request

curl "https://api.ipdata.co/8.8.8.8/asn?api-key=<<apiKey>>"
ipdata 8.8.8.8 -f asn

Sample Response

{
    "asn": "AS15169",
    "name": "Google LLC",
    "domain": "google.com",
    "route": "35.192.0.0/14",
    "type": "hosting"
}

Data Fields

FieldDescription
asnThe Autonomous System Number
nameThe name of the organization that owns the ASN
domainThe website of the organization
routeThe network prefix the IP Address belongs to
typeThe usage type associated with the IP Address and ASN

Usage Type

There are several options for usage type

FieldDescription
hostingBelonging to a datacenter (we have mapped 200M+ hosting IP addresses)
ispBelonging to ISP IP space (we have mapped 1B+ isp IPs)
cdnBelonging to a Content delivery network
eduEducational institutions
govOne of ~25,000 government agencies worldwide
milMilitary organizations
businessEnd-user organizations