Developer platform

WhatIsMyIP Intelligence API

Query our locally built allocation, routing, RPKI, and first-party observation database. Normal API requests do not depend on a paid geolocation API.

Authentication

Send your API key as a Bearer token. Complete keys are shown only once when generated.

curl -H "Authorization: Bearer wmip_live_YOUR_KEY" \
  "https://whatismyip.live/api/v1/me"

IP lookup

GET /api/v1/ip/{ip} returns country allocation, country flag, ASN, prefix, routing security, network type, and locally available location observations.

curl -H "Authorization: Bearer YOUR_KEY" \
  "https://whatismyip.live/api/v1/ip/8.8.8.8"

Routing and RPKI

GET /api/v1/routing/{ip} returns the active BGP prefix, origin ASN, and locally calculated RPKI validation result.

ASN explorer

GET /api/v1/asn/AS13335 returns the local ASN profile and currently imported prefixes.

Prefix lookup

Use GET /api/v1/prefix/1.1.1.0/24. IPv6 is supported through the same route.

Reverse DNS

GET /api/v1/reverse-dns/{ip} performs a cached PTR lookup through our resolver.

Errors and limits

Errors use a stable JSON structure with a machine-readable code. Responses include rate-limit and monthly allowance headers.