IP to ASN

Connect an IPv4 or IPv6 address to its autonomous system, organization and ISP.

Group activity by network operator.

Attach isp.asn to request logs to compare activity across networks. Keep the ASN organization separate from the ISP label and the identity of the visitor.

IP to ASN · actual API resultSingle-IP lookup
Autonomous systemAS13335

Cloudflare, Inc.

ASN organization · isp.org
Cloudflare, Inc.
Internet provider · isp.isp
Cloudflare, Inc.

These names can match or differ. Neither identifies an individual visitor.

The ASN organization and the company operating a specific IP range can differ. Exported range counts are not BGP prefix counts.

API fields

Field definitionExample from 1.1.1.1
isp.asnType: string
Autonomous system number with the AS prefix, such as AS13335.
Example value"AS13335"
isp.orgType: string
Organization associated with the autonomous system.
Example value"Cloudflare, Inc."
isp.ispType: string
Internet service provider name in the record.
Example value"Cloudflare, Inc."

Look up one address

Request
curl --fail --silent --show-error --max-time 5 \
  "https://api.ipquery.io/1.1.1.1?format=json"

Actual response fields

JSON
{
  "ip": "1.1.1.1",
  "isp": {
    "asn": "AS13335",
    "org": "Cloudflare, Inc.",
    "isp": "Cloudflare, Inc."
  }
}

The excerpt shows the relevant fields from this single-IP response. Inspect the full IP report

For the connecting client’s own address, use https://api.ipquery.io/?format=json. Bulk lookups are disabled.

API reference

Matching and provenance

ASN identity, operator type and country associations come from the verified Enterprise export.

Full-list access.

For pricing or full-list access, email [email protected].

Selected list
Selected records
Records in this list