{"api":{"id":"api_2aacb2767dbf1904b2ae6542","slug":"ip-geolocation","name":"IP Geolocation API","description":"Country and network owner for IPv4 and IPv6 addresses from DB-IP's open data: continent, country, EU membership, the address block around each address, AS number and network name. One record per address, up to 1,000 per run.","kind":"ready_made","visibility":"public","domain":"db-ip.com","source_url":"https://db-ip.com/db/download/ip-to-country-lite","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:33:09.224Z","updated_at":"2026-12-06T03:33:09.224Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"ip","type":"string","description":"The address looked up, in its standard written form (IPv6 shortened, lower-case).","required":true,"coverage":1,"example":"1.0.0.1"},{"name":"ip_version","type":"integer","description":"4 or 6.","required":false,"coverage":1,"example":4},{"name":"is_reserved","type":"boolean","description":"True for private, loopback, link-local, shared, multicast, documentation and other special-use addresses, which have no location.","required":false,"coverage":1,"example":false},{"name":"continent_code","type":"string","description":"Two-letter continent code: AF, AN, AS, EU, NA, OC or SA.","required":false,"coverage":1,"example":"OC"},{"name":"continent","type":"string","description":"Continent name, such as Europe.","required":false,"coverage":1,"example":"Oceania"},{"name":"country_code","type":"string","description":"ISO 3166-1 two-letter country code, such as US.","required":false,"coverage":1,"example":"AU"},{"name":"country","type":"string","description":"Country name in English, such as United States.","required":false,"coverage":1,"example":"Australia"},{"name":"is_eu","type":"boolean","description":"True when the country is one of the 27 EU member states.","required":false,"coverage":1,"example":false},{"name":"country_range","type":"string","description":"The block of addresses around this one placed in the same country, as first-last; every address in it gets the same country.","required":false,"coverage":1,"example":"1.0.0.0-1.0.0.255"},{"name":"asn","type":"integer","description":"Number of the autonomous system (network) that holds the address, such as 15169.","required":false,"coverage":1,"example":13335},{"name":"as_name","type":"string","description":"Name of the organisation behind that network, such as Google LLC.","required":false,"coverage":1,"example":"Cloudflare, Inc."},{"name":"network_range","type":"string","description":"The block of addresses that network holds around this one, as first-last.","required":false,"coverage":1,"example":"1.0.0.0-1.0.0.255"}],"inputs":[{"name":"ips","type":"array","description":"IPv4 or IPv6 addresses to look up, such as [\"8.8.8.8\", \"2606:4700:4700::1111\"]. Up to 1,000 per run.","example":["1.0.0.1","8.8.8.8"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"as_name":{"description":"Name of the organisation behind that network, such as Google LLC.","type":"string"},"asn":{"description":"Number of the autonomous system (network) that holds the address, such as 15169.","type":"integer"},"continent":{"description":"Continent name, such as Europe.","type":"string"},"continent_code":{"description":"Two-letter continent code: AF, AN, AS, EU, NA, OC or SA.","type":"string"},"country":{"description":"Country name in English, such as United States.","type":"string"},"country_code":{"description":"ISO 3166-1 two-letter country code, such as US.","type":"string"},"country_range":{"description":"The block of addresses around this one placed in the same country, as first-last; every address in it gets the same country.","type":"string"},"ip":{"description":"The address looked up, in its standard written form (IPv6 shortened, lower-case).","type":"string"},"ip_version":{"description":"4 or 6.","type":"integer"},"is_eu":{"description":"True when the country is one of the 27 EU member states.","type":"boolean"},"is_reserved":{"description":"True for private, loopback, link-local, shared, multicast, documentation and other special-use addresses, which have no location.","type":"boolean"},"network_range":{"description":"The block of addresses that network holds around this one, as first-last.","type":"string"}},"required":["ip"],"title":"IP Geolocation API","type":"object"},"samples":[{"ip":"1.0.0.1","ip_version":4,"is_reserved":false,"continent_code":"OC","continent":"Oceania","country_code":"AU","country":"Australia","is_eu":false,"country_range":"1.0.0.0-1.0.0.255","asn":13335,"as_name":"Cloudflare, Inc.","network_range":"1.0.0.0-1.0.0.255"},{"ip":"8.8.8.8","ip_version":4,"is_reserved":false,"continent_code":"NA","continent":"North America","country_code":"US","country":"United States","is_eu":false,"country_range":"8.7.245.0-8.8.235.255","asn":15169,"as_name":"Google LLC","network_range":"8.8.8.0-8.8.8.255"},{"ip":"193.0.6.139","ip_version":4,"is_reserved":false,"continent_code":"EU","continent":"Europe","country_code":"NL","country":"Netherlands","is_eu":true,"country_range":"193.0.0.0-193.0.23.255","asn":3333,"as_name":"Reseaux IP Europeens Network Coordination Centre (RIPE NCC)","network_range":"193.0.0.0-193.0.7.255"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"as_name":1,"asn":1,"continent":1,"continent_code":1,"country":1,"country_code":1,"country_range":1,"ip":1,"ip_version":1,"is_eu":1,"is_reserved":1,"network_range":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_2aacb2767dbf1904b2ae6542/run","openapi":"https://pullrow.dev/v1/apis/api_2aacb2767dbf1904b2ae6542/openapi.json","contract":"https://pullrow.dev/v1/apis/api_2aacb2767dbf1904b2ae6542/contract.json","page":"https://pullrow.dev/catalog/ip-geolocation"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Country and network level only: region, city, postal code and coordinates are not part of this API.","Data comes from DB-IP's IP to Country Lite and IP to ASN Lite databases (CC BY 4.0), refreshed monthly: show 'IP Geolocation by DB-IP' with a link to db-ip.com wherever you show or use the results.","Free Lite data is less precise than paid databases: mobile, satellite, VPN and cloud addresses often show the network's registered country rather than the user's.","Up to 1,000 addresses per run. Entries that are not IPv4 or IPv6 addresses are skipped and repeats are answered once; a port or IPv6 zone is ignored and ::ffff: addresses are read as IPv4.","Private, loopback, link-local, multicast and documentation addresses come back with is_reserved true and no country or network. Unallocated or unannounced addresses come back with those fields empty.","Continent follows the GeoNames split (Turkey and the Caucasus in Asia, Russia and Cyprus in Europe); is_eu means one of the 27 EU member states.","Each address costs a few small reads of the monthly data files, shared across a run: about 10 to 20 seconds for 100 addresses and up to about 2 minutes for 1,000."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"ip","label":"Ip","description":"The address looked up, in its standard written form (IPv6 shortened, lower-case).","group":"Basics","shown":true,"written":false},{"name":"ip_version","label":"Ip version","description":"4 or 6.","group":"Basics","shown":true,"written":false},{"name":"is_reserved","label":"Reserved","description":"True for private, loopback, link-local, shared, multicast, documentation and other special-use addresses, which have no location.","group":"Basics","shown":true,"written":false},{"name":"continent_code","label":"Continent code","description":"Two-letter continent code: AF, AN, AS, EU, NA, OC or SA.","group":"Basics","shown":true,"written":false},{"name":"continent","label":"Continent","description":"Continent name, such as Europe.","group":"Basics","shown":true,"written":false},{"name":"country_code","label":"Country code","description":"ISO 3166-1 two-letter country code, such as US.","group":"Location","shown":true,"written":false},{"name":"country","label":"Country","description":"Country name in English, such as United States.","group":"Location","shown":true,"written":false},{"name":"is_eu","label":"EU","description":"Yes when the country is one of the 27 EU member states.","group":"Basics","shown":true,"written":false},{"name":"country_range","label":"Country range","description":"The block of addresses around this one placed in the same country, as first-last; every address in it gets the same country.","group":"Location","shown":true,"written":false},{"name":"asn","label":"Asn","description":"Number of the autonomous system (network) that holds the address, such as 15169.","group":"Basics","shown":true,"written":false},{"name":"as_name","label":"As name","description":"Name of the organisation behind that network, such as Google LLC.","group":"Basics","shown":true,"written":false},{"name":"network_range","label":"Network range","description":"The block of addresses that network holds around this one, as first-last.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"ips","label":"Ips","help":"IPv4 or IPv6 addresses to look up, such as [\"8.8.8.8\", \"2606:4700:4700::1111\"]. Up to 1,000 per run.","example":"1.0.0.1, 8.8.8.8","written":false}]}},"incidents":[]}