Country by IP Address API
The live query
CURL Example
https://api.bigdatacloud.net/data/country-by-ip
CURL Example
curl -X GET --header 'Accept: application/json' 'https://api.bigdatacloud.net/data/country-by-ip'
Visit our SDK page to access API clients in specific languages like Javascript, Python + PHP.
Response
Response Format
Field |
Data type |
Description |
---|---|---|
ip |
string |
Requested IPv4 IP address in a string format |
localityLanguageRequested |
string |
localityLanguage input parameter received |
country |
<Country> object |
Geolocated Country |
API Endpoint
Endpoint: | /data/country-by-ip |
---|---|
Full URL: | https://api.bigdatacloud.net/data/country-by-ip |