Skip to content
Gridlode
Docs · Reference

IP Lookup (ASN, Network, Hosting)

GET /v1/domain/ip-info1 credit / requestcache 360 min

Who runs an IP address or a domain's servers: ASN and AS name, announced prefix, country, regional registry and allocation date (Team Cymru), the registered network name, organization, address range and abuse contact (IP RDAP from the regional registry), reverse DNS (PTR), and a hosting guess that names the provider and its type (cloud, hosting, CDN or ISP). Domains are resolved to their IPv4 and IPv6 addresses first.

Query parameters

query
string · required
IPv4/IPv6 address (e.g. 1.1.1.1) or a domain (e.g. example.com); domains are resolved to their A and AAAA records.
max_ips
integer
For domains: how many resolved addresses to look up (IPv4 first).
Default: 4
max_age
integer
Accept a cached answer up to this many seconds old, billed at 50%.

Response data fields

    Example

    curl "https://api.gridlode.com/v1/domain/ip-info?query=1.1.1.1" \
      -H "Authorization: Bearer $GRIDLODE_KEY"

    Try it without code on the IP Lookup (ASN, Network, Hosting) API page.