IP Lookup API

GET

Know where every request to your app comes from.

IP Lookup resolves an IP address to its geographic location. It returns the country, region, city, coordinates, postal code, timezone and continent, along with an accuracy radius and an EU-membership flag for compliance routing.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/iplookup?ip=173.172.81.20
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "ip": "173.172.81.20",
    "country": "US",
    "countryName": "United States",
    "region": "MO",
    "regionName": "Missouri",
    "city": "Kansas City",
    "continent": "NA",
    "continentName": "North America",
    "timezone": "America/Chicago",
    "coordinates": [
      39.0831,
      -94.5853
    ],
    "postalCode": "64106",
    "accuracyRadius": 20,
    "isEU": false,
    "asn": "AS11427",
    "asnName": "TWC-11427-TEXAS"
  }
}

Start from a template — a working app you can deploy in a minute

About the IP Lookup API

IP Lookup works by querying the IP address against a geolocation database and returning structured location data — country, region, city, coordinates, postal code, timezone and continent — plus the coordinate accuracy radius and whether the country is in the European Union.

What people use it for

Localized Content Routing
E-commerce storefronts inspect incoming visitor IP addresses to set default languages and display regional offers matched to the country and timezone.
Account Takeover Detection
To flag suspicious logins, fraud engines compare the incoming IP's country and autonomous system number against the customer's known sign-in history.
Geo-Restricted Media Delivery
When a viewer requests video playback, streaming services read the country code to enforce territorial broadcasting rights and block unauthorized regions.
Ad Click Verification
Audit advertising traffic by matching visitor coordinates and autonomous system details against publisher placement records to filter bot farm activity.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use IP Lookup

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the IP Lookup API.

Read the docs
What would 10,000 IP lookups a month cost me?
Ten thousand lookups require 100,000 credits, which uses half of the Starter plan. On Starter, lookups work out to about $0.0015 per call or $1.50 per 1,000 calls. The Free plan provides 20 calls each month to test with.
Do I get city, coordinates, and EU status on the Free plan?
No. City, latitude and longitude coordinates, postal code, accuracy radius, and the EU-membership flag are premium fields unlocked on Starter and above. The Free plan returns country, region, continent, and timezone.
How fresh is the IP location data?
The database updates daily across more than 4 billion IP addresses. This regular refresh ensures location mappings remain accurate as network allocations and routing change.
Can it tell me whether an IP address is within the European Union for compliance?
Yes, on paid plans. IP Lookup includes an EU membership flag designed for routing and GDPR compliance checks. It also returns the country name, ISO country code, continent, region, and IANA timezone.
Can I use the geolocation data in a commercial SaaS product?
Yes, provided you are on a paid plan. You may use location outputs within your security, routing, and user experience features. You may not resell or redistribute the raw data as a standalone service.

Ready to build with IP Lookup? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs