On this page

IP Address Geolocation API

Introduction

The IP Geolocation API delivers our most precise assessment of the country, comprehensive location details, and highly detailed network properties. 

BigDataCloud IP Geolocation API utilizes our proprietary patent-pending Next Generation IP Geolocation technology to achieve the highest level of IP Geolocation accuracy theoretically possible. If you're interested in exploring the theoretical limits of IP Geolocation accuracy, we encourage you to read our blog post titled How accurate can IP Geolocation get?

At BigDataCloud, we are committed to improving our IP Geolocation accuracy by continuously gathering more data from the field. To stay informed about the latest accuracy levels, please refer to our Daily IP Geolocation Accuracy Report.

Get started

This API is part of the IP Geolocation package and is available in free and paid plans. Please visit the IP Geolocation package page for limits and pricing information.

Endpoints

IPv4 only API Endpoint

Use this endpoint to force API calls routed over the IPv4 network only

GET
https://api.bigdatacloud.net/data/ip-geolocation

Dual-Stack API Endpoint

This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks

GET
https://api-bdc.net/data/ip-geolocation

Request

Parameter
Type
Required
Description
Parameter
ip
Type
string
Required
Optional, default value: [Caller's IP]
Description
IPv4 IP address in a string or numeric format or IPv6 IP address in a string format. If omitted, the caller’s IP address is assumed
Parameter
localityLanguage
Type
string
Required
Optional, default value: en
Description
Preferred language for locality names in ISO 639-1 format, such as 'en' for English, 'es' for Spanish etc. If the requested language is unavailable for a requested location, it will default to English. If no English variant is available, will provide the native, local names. Use 'default' as the requested value to automatically adjust the language to the first administrative language in the Country.
Parameter
key
Type
string
Required
Yes
Description
Your API key

Responses

Example query

https://api-bdc.net/data/ip-geolocation?ip=8.8.8.8&localityLanguage=en&key=[YOUR API KEY]
  

Example response

Schema

application/json