IPv4 & IPv6 Bulk IP Geolocation: ASN, Country, City avatar

IPv4 & IPv6 Bulk IP Geolocation: ASN, Country, City

Pricing

from $1.17 / 1,000 ip locateds

Go to Apify Store
IPv4 & IPv6 Bulk IP Geolocation: ASN, Country, City

IPv4 & IPv6 Bulk IP Geolocation: ASN, Country, City

From $1.90 per 1K IPs. Look up thousands of IPv4 and IPv6 addresses at once: country, region, city, latitude, longitude, ASN and organization from the bundled DB-IP Lite database. No API key, no rate limit.

Pricing

from $1.17 / 1,000 ip locateds

Rating

0.0

(0)

Developer

Detroit Web Agent - Open Data

Detroit Web Agent - Open Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Turn a list of IP addresses into locations and network owners in seconds. Paste IPv4 and IPv6 addresses, or paste a whole web server log, and get one row per address with country, region, city, latitude, longitude, ASN, organization and the announced network range. The lookup runs inside the Actor against the bundled DB-IP Lite databases, so there is no API key, no per-request rate limit and no third party that ever sees your addresses.

Typical jobs: enrich access logs, check where login attempts come from, flag traffic from unexpected countries, group a customer list by country, or add the ASN and hosting provider to a block list.

Run in 30 seconds

  1. Open the Input tab. The prefilled list of 30 public IPv4 and IPv6 addresses is a ready-to-run test.
  2. Click Start. The first dataset is normally ready in about 5 seconds.
  3. Open the Locations table in the Output tab, or download the dataset as JSON, CSV, Excel or HTML.
  4. Replace the list with your own addresses, or paste raw log text into Paste text.

What you get

For every address the Actor reads two offline databases that ship inside the Actor image: DB-IP Lite City (country, region, city, coordinates) and DB-IP Lite ASN (autonomous system number and organization). Lookups are in-memory, so a list of 100,000 addresses is processed in a few seconds and the run time is dominated by Apify startup.

FeatureDetail
Address typesIPv4 and IPv6
InputA list, or any pasted text (logs, CSV cells, headers): addresses are extracted automatically
CleaningPorts, brackets and CIDR suffixes are stripped; duplicates are removed (optional)
Reserved rangesPrivate, loopback, link-local, multicast and documentation addresses return status reserved and are free
Bad inputInvalid text returns status invalid and is free
Network keysASN number, organization and the announced CIDR range
Keys and limitsNo account, no API key, no daily quota

Pricing

Price per 1,000 located IPs (Free plan)$1.90
Start fee$0.00005 per run
Plan discountsBronze $1.77, Silver $1.52, Gold and above $1.17
Charged foronly addresses with status ok
Not chargedreserved, invalid, unknown and duplicate addresses

Input

  • IP addresses: one IPv4 or IPv6 address per line. Ports and CIDR suffixes are stripped.
  • Paste text (optional): any text containing addresses, such as nginx or Apache logs, firewall exports or a CSV column.
  • Remove duplicate addresses: on by default; each distinct address is looked up and billed once.
  • Max addresses: cap for the run (default 1,000,000).

Example input

{
"ips": ["8.8.8.8", "1.1.1.1", "2606:4700:4700::1111", "81.2.69.142"],
"maxItems": 1000
}

Output sample

{
"ip": "8.8.8.8",
"ipVersion": 4,
"status": "ok",
"country": "United States",
"countryCode": "US",
"continent": "North America",
"continentCode": "NA",
"region": "California",
"city": "Mountain View",
"lat": 37.422,
"lon": -122.085,
"isEuMember": false,
"asn": 15169,
"asnLabel": "AS15169",
"org": "Google LLC",
"network": "8.8.8.0/24",
"dataRelease": "2026-11",
"attribution": "IP Geolocation by DB-IP (https://db-ip.com), CC BY 4.0",
"lookupUrl": "https://db-ip.com/8.8.8.8",
"checkedAt": "2026-11-10T20:00:00.000Z"
}

Output fields

Every row has these fields. Rows that are not located keep the same keys with empty values and a note.

FieldTypeDescription
ipstringThe IP address that was looked up, normalized (ports, brackets and CIDR suffixes removed)
ipVersionintegerIP version: 4 or 6
statusstringok when the address was located; reserved (private, loopback, documentation), invalid or not_found are returned free of charge
countrystringCountry name in English
countryCodestringISO 3166-1 alpha-2 country code, for example US or DE
continentstringContinent name in English
continentCodestringTwo-letter continent code: AF, AN, AS, EU, NA, OC or SA
regionstringState, province or first-level administrative region
citystringCity name in English. City level is approximate: it often points to the network operator location
latnumberLatitude in decimal degrees (approximate, city level)
lonnumberLongitude in decimal degrees (approximate, city level)
isEuMemberbooleantrue when the country is a European Union member state
asnintegerAutonomous system number that announces the address, for example 15169
asnLabelstringAutonomous system number in AS15169 form
orgstringOrganization that owns the autonomous system, for example Google LLC
networkstringAnnounced network range (CIDR) that contains the address
dataReleasestringMonth of the DB-IP Lite release used for the lookup, for example 2026-11
attributionstringRequired attribution for the DB-IP Lite data (CC BY 4.0)
lookupUrlstringLink to the DB-IP public page for this address, to spot-check a result by hand
checkedAtstringISO timestamp of the run that produced the row
notestringWhy a row is not ok (reserved, invalid or unknown address); absent on located rows

Use cases

  • Enrich web server and application logs with country, city and network owner before loading them into a spreadsheet or warehouse.
  • Fraud and security review: group sign-ins, checkouts or failed logins by country and ASN to spot proxies, hosting providers and unusual regions.
  • Marketing and analytics: map a visitor or subscriber IP list to countries and cities without sending addresses to a paid API.
  • Build country and ASN block lists or allow lists from a list of offending addresses.
  • Add a location and ISP column to a CRM export or support-ticket dump.
  • Data cleaning: validate a column of IPs and separate valid public, reserved and invalid values in one pass.

Run it from code

API (returns the rows directly):

curl -X POST "https://api.apify.com/v2/acts/transparent_meteorite~ip-geolocation-bulk-lookup/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"ips":["8.8.8.8","1.1.1.1","2606:4700:4700::1111"]}'

Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("transparent_meteorite/ip-geolocation-bulk-lookup").call(
run_input={"ips": ["8.8.8.8", "1.1.1.1", "81.2.69.142"]}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["ip"], row["countryCode"], row["city"], row["asnLabel"], row["org"])

MCP (Claude, Cursor and other agents): add the Apify MCP server and enable this Actor.

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=transparent_meteorite/ip-geolocation-bulk-lookup",
"headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
}
}
}

Then ask your agent: "Where are these IP addresses located and which networks own them?" and paste the list.

Integrations and scheduling

ToolHow to use it
n8nAdd the Apify node, choose Run Actor, set the Actor to transparent_meteorite/ip-geolocation-bulk-lookup, pass {"ips": ["={{ $json.ip }}"]} (or an array built with a Code node), then add Get Dataset Items and route rows by countryCode or asn
Make and ZapierUse the Apify app: Run Actor, then read the dataset items
Google SheetsRun from the Apify integration and append the dataset rows
WebhooksCall a URL when the run succeeds to push the results into your own system

Every run's dataset can also be downloaded as JSON, CSV, Excel, XML or HTML.

Search terms this Actor covers

bulk IP geolocation, IP to country lookup, IP address to city, IP to ASN lookup, bulk ASN lookup, IP location finder, geolocate a list of IP addresses, IPv6 geolocation, IP address lookup API alternative, enrich IP logs with country, offline IP geolocation database, IP to organization lookup, GeoIP batch lookup, find ISP of IP address, IP address CSV geolocation, DB-IP lite lookup.

Limits

  • IP geolocation is approximate. Country is usually right; region and city are a best estimate and often point to the network operator or an exit node, not the end user. Mobile, VPN, proxy and satellite traffic can be far from the stated place.
  • The databases are the free DB-IP Lite editions, refreshed monthly with each Actor build. The release month is in every row (dataRelease).
  • There are no hosting, VPN, proxy or threat flags and no timezone or postal code in the lite data.
  • Reserved addresses (private, loopback, documentation) have no public location and are returned as reserved.

Fair use and data

The lookup uses the free DB-IP Lite databases (CC BY 4.0). Attribution is required when you publish or redistribute results: IP Geolocation by DB-IP. The Actor makes no network requests for the lookups, so your addresses stay inside the run. IP addresses can be personal data in some jurisdictions; check the rules that apply to your logs and your use before you store or share enriched results.

FAQ

Do I need an API key or a DB-IP account? No. The database is bundled in the Actor.

How fast is it? Lookups are in memory. 100,000 addresses are located in seconds; a small list finishes in about 5 seconds including startup.

Is IPv6 supported? Yes, IPv4 and IPv6 are both located, and mixed lists work.

How accurate is the city? City level is approximate. Treat country as reliable, region as likely and city as a guide, as with any IP geolocation database.

What happens with private or invalid addresses? They come back as reserved or invalid with a note and are never charged.

Can I paste a log file? Yes. Paste it into Paste text and every IPv4 and IPv6 address is extracted and looked up once.

How current is the data? Each Actor build bundles the newest monthly DB-IP Lite release; dataRelease shows which one a row used.

Support

Found a bug or need a field? Open an issue on the Issues tab with the run URL and we will reply there.

Changelog

  • 0.1: first release. Bulk IPv4 and IPv6 lookup with country, region, city, coordinates, ASN, organization and network range from DB-IP Lite.