AmarIPআমার আইপি

API for people and agents

Every page here is also available as JSON, plain text and Markdown. No key, no sign-up, no rate limit worth mentioning.

From the command line

$ curl amarip.com
216.73.217.21

curl, wget and httpie get back the bare address and nothing else, which is what you want in a script.

JSON

GET https://amarip.com/api/v1/me
GET https://amarip.com/api/v1/ip/8.8.8.8

Markdown

$ curl -H 'Accept: text/markdown' https://amarip.com/

Any page will return Markdown if you ask for it, so an agent can read the page without parsing HTML.

Description documents

Limits and terms

No API key. No rate limit for reasonable use. Geolocation data is from DB-IP, licensed CC BY 4.0.