Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

IPGeolocation.io ASN Lookup API

API endpoint for retrieving Autonomous System Number (ASN) informationassociated with IPv4 addresses, IPv6 addresses, or specific ASN numbers.The response includes ASN metadata such as the ASN number, organizationname, country of registration, ASN type, domain, allocation details,routing statistics, and the Regional Internet Registry (RIR) responsiblefor the allocation.Additional routing intelligence such as peers, upstreams, downstreams,announced routes, and raw WHOIS registry data can also be retrievedusing the `include` parameter.This information helps analyze internet routing, identify networkoperators, and understand how Autonomous Systems interconnectacross the internet.

IPGeolocation.io ASN Lookup API is one of 7 APIs that IPGeolocation.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ASN Lookup. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.7, at version 3.0.

Requests are made against a single base URL, https://api.ipgeolocation.io.

1 operations 1 paths 4 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.7
API Version
3.0
Base URL
https://api.ipgeolocation.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

IPGeolocation.io ASN Lookup API declares 1 security scheme for authenticating requests. An API key is passed in the query as apiKey (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key passed as the apiKey query parameter. Get yours from the [IPGeolocation dashboard](https://app.ipgeolocation.io/). For client-side usage, consider usin…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

ASN Lookup 1

API endpoint for retrieving Autonomous System Number (ASN) information associated with IPv4 addresses, IPv6 addresses, or specific ASN numbers. The response includes ASN metadata…

GET
/v3/asn
IPGeolocation.io ASN Lookup
lookupASN 6 params → 200400401404405423429499

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ASN (16 properties), ASNConnection (3 properties), ASNLookupResponse (2 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ErrorResponse
object
Returned for any non-200 response. Contains only a human-readable message. Message text can vary by status and condition; examples in this spec are representat…
1 property 1 required
ASN
object
ASN information describing the Autonomous System responsible for routing the queried IP address or the specified ASN. Costs 1 credit.
16 properties
ASNLookupResponse
object
Response returned by the ASN Lookup API. Contains the queried IP address (when an IP lookup is performed) and the ASN information associated with the network r…
2 properties
ASNConnection
object
Represents a connected Autonomous System such as a peer, upstream provider, or downstream customer.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ipgeolocation-asn-lookup-api-openapi.yml Raw ↑

Other APIs IPGeolocation.io publishes across the network.

IPGeolocation.io Astronomy API
IPGeolocation.io IP Abuse Contact API
IPGeolocation.io IP Geolocation API
IPGeolocation.io IP Security API
IPGeolocation.io Timezone API
IPGeolocation.io User Agent API