IP Geolocation API: Country, City, ASN & Time Zone avatar

IP Geolocation API: Country, City, ASN & Time Zone

Pricing

$1.00 / 1,000 ip lookups

Go to Apify Store
IP Geolocation API: Country, City, ASN & Time Zone

IP Geolocation API: Country, City, ASN & Time Zone

Look up any IPv4/IPv6 address or hostname: country, region, city, coordinates, time zone, EU flag, ASN and network owner, plus a hosting/datacenter flag. Offline database, fast bulk lookups.

Pricing

$1.00 / 1,000 ip lookups

Rating

0.0

(0)

Developer

Tudor Lane

Tudor Lane

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Security

Limited permissions

Share

Use when…

  • You need the country, city, time zone or network owner (ASN) of an IP address.
  • A fraud, analytics or personalisation agent must flag hosting/datacenter IPs or EU visitors.
  • You want fast bulk lookups from an offline database, with no API key.

Try this input

Copy-paste this JSON as the Actor input (it matches a successful run / the default schema):

{
"requests": [
{
"ip": "8.8.8.8"
},
{
"ip": "81.2.69.142"
},
{
"ip": "2a03:2880:f12f:83:face:b00c::25de"
}
]
}

Sample output (real run 2026-10-27)

One dataset item, shortened:

{
"ip": "8.8.8.8",
"host": null,
"version": 4,
"country_code": "US",
"country": "United States",
"continent": "NA",
"region": "California",
"city": "Mountain View",
"lat": 37.422,
"lon": -122.085,
"timezone": "America/Los_Angeles",
"in_eu": false,
"…": "+6 more keys"
}

Fast IP-to-location lookups from an offline database: no rate limits, up to 10,000 IPs per run.

  • Country, continent, region, city, latitude/longitude
  • Time zone (from coordinates) and EU membership flag
  • ASN and network owner (e.g. Google LLC, Comcast)
  • Likely hosting/datacenter flag (cloud and VPS providers): useful for fraud and bot checks
  • Hostnames are resolved first (e.g. bbc.co.uk); private/reserved IPs are flagged

Quick start

Leave the default input (it is prefilled) and click Start:

{"requests": [{"ip": "8.8.8.8"}, {"ip": "81.2.69.142"}, {"ip": "2a03:2880:f12f:83:face:b00c::25de"}]}

Send many items in requests per run (cheaper and faster than one run each).

Sample output (real run, 26 Oct 2026, default input)

ipcountryregioncitytimezonein_euasnas_orglikely_hosting
8.8.8.8United StatesCaliforniaMountain ViewAmerica/Los_Angelesfalse15169Google LLCtrue
81.2.69.142United KingdomEnglandLondonEurope/Londonfalse20712Andrews & Arnold Ltdfalse
2a03:2880:f12f:83:face:b00c::25deIrelandLeinsterDublin (Ballsbridge)Europe/Dublintrue32934Facebook, Inc.false

Each row also has version, country_code, continent, lat, lon, accuracy_note and source.

Use cases

  • Add country and time zone to sign-ups or log lines.
  • Flag sign-ups from datacenter or hosting IPs in fraud and bot checks.
  • Localise content, currency or language by visitor country.
  • Bulk-enrich server logs with network owner (ASN).

Pricing

Pay per event: $0.001 per ip lookup (one IP address located). Rows with errors are not charged.

Sources and licences

IP Geolocation by DB-IP (https://db-ip.com), DB-IP Lite City and ASN databases, licensed CC BY 4.0, updated monthly (refreshed on each build). Time zones: timezonefinder (MIT).

Notes

City-level results are estimates and can be wrong for mobile, VPN and corporate networks. Not for identifying individuals.

FAQ

Do I need an API key? No. It uses an offline database, so there are no rate limits.

IPv6? Yes, and hostnames are resolved first.

How many per run? Up to 10,000 IPs.

Limits & failure modes

  • City results are estimates and can be wrong, especially for mobile, VPN and corporate networks.
  • The hosting flag is a guess from the network owner, not a VPN detector.
  • The database is updated monthly, so recently moved IP ranges may be out of date.
  • It cannot identify a person or street address.

Use from AI agents (MCP)

Add it to any MCP client via https://mcp.apify.com?actors=tudorlane/ip-geolocation, or call the Apify API / run-sync endpoint.