Lightweight IP → context API

Turn any IP into geolocation, billing & UX context in one call.

ExplainIP is a lightweight IP geolocation API that returns country, city, coordinates, language, currency and simple EU/VAT hints in a single JSON – so you can localise prices, copy and flows without wiring multiple services.

  • Clean IP geolocation JSON: city, country, lat/lon, language, currency, VAT region.
  • One GET endpoint → stable schema with nested and flat.* fields.
  • Same JSON on every plan – only rate limits and support level change.
  • Free anonymous usage up to 1,000 requests/day, no API key needed.

No auth needed for quick tests. The same response shape you'll use in production.

Live response from https://api.explainip.com/
Loading live data…
Waiting for response…
–
IP · Type
–
City · Region · Country
–
Currency · EU / non-EU
–
Language · Calling code · TLD
–
Coordinates (lat, lon)
JSON response
{}

One tiny API for geo, language and currency.

Instead of wiring separate geolocation, country, language and VAT datasets, ExplainIP gives you a single JSON with:

  • location – latitude & longitude for maps and distance logic
  • country.* – ISO codes, names, languages, calling code, TLD
  • currency.* – currency code & name
  • hints.* – EU vs non-EU and simple VAT region hints
  • flat.* – most common fields flattened for quick access
Example curl
curl "https://api.explainip.com/?ip=8.8.8.8"

Need detailed field descriptions and code snippets for PHP, JS or Python? Open the docs.

Quick start

GET https://api.explainip.com/

Call a single GET endpoint with an optional ip query parameter. If you omit ip, ExplainIP will use the caller's IP from the request.

cURL
curl "https://api.explainip.com/?ip=8.8.8.8"
JavaScript
fetch("https://api.explainip.com/?ip=8.8.8.8")
  .then((res) => res.json())
  .then((data) => {
	console.log(data.flat.country_code, data.flat.currency_code);
  });

Need PHP and Python examples, or a full field-by-field JSON breakdown? Open the docs.

Pricing

Same JSON on every plan. You only pay to raise the rate limits and get better support.

Free

For testing, hobby projects and prototypes.

€0 / month

Up to 1,000 requests per day.

  • Anonymous usage, no account required
  • One IP lookup endpoint
  • Same JSON shape as paid plans
  • Best-effort uptime

Developer

For live projects, SaaS apps and ecommerce.

€9 / month

Up to 100,000 requests per month.

  • API key authentication
  • Higher rate limits
  • Same JSON schema as Free
  • Email support

Scale

For high-traffic apps, agencies and platforms.

€29 / month

Up to 1,000,000 requests per month.

  • High limits & burstable traffic
  • Same JSON schema across environments
  • Priority support
  • Custom rate limits on request
Talk to us

Need more than 1M requests, on-prem or a custom SLA? Email us at [email protected].

Ready to integrate?

The full documentation includes request examples for curl, PHP, JavaScript and Python, plus a field-by-field JSON breakdown.

Open documentation