Skip to content
Developers

Build on My IP Address

A plain-text IP for scripts, a JSON API for apps, and an OpenAPI spec for everything in between. No account needed for anonymous use.

Quickstart

curl-friendly by default — a plain user agent like curl or PowerShell hitting the homepage gets the bare IP back, no flags needed.

curl https://my-ip-address.in/ip
curl https://my-ip-address.in/ip.json
curl "https://my-ip-address.in/api/v1/lookup?q=1.1.1.1"

Rate limits

Anonymous requests are limited per hashed IP: 60 a minute, 10 a minute for the heavier endpoints (bulk lookup, breach, blacklist). Send an x-api-key header for higher limits — self-serve keys are on the way; ask in the meantime.

Every response carries

RateLimit-LimitRateLimit-RemainingRateLimit-Reset

Endpoints

get/ipYour IP as plain text
get/ip.jsonYour IP as JSON
get/api/v1/ipFull intel for the caller's IP
get/api/v1/lookupLook up an IP, domain or URL
post/api/v1/lookup/bulkBulk lookup (up to 100 IPs)
get/api/v1/blacklistDNSBL check (quick ≈ 12 lists, full = 50+ lists)
get/api/v1/dnsDNS records or reverse DNS
get/api/v1/headersEcho the request headers your client sent
post/api/v1/breach/emailEmail breach lookup (Have I Been Pwned)

OpenAPI

Every endpoint below, typed, at /api/v1/openapi.json — import it into Postman, Insomnia, or your codegen of choice.

Open the OpenAPI spec

Estimates, not certainties: location, ISP, and VPN/proxy/Tor flags come from third-party data and heuristics, and can be wrong. See the Terms before building anything that depends on them being right.