Geolocate IP
This endpoint allows you to geolocate an IP address.
Query Parameters
- ip string required
The IP address you wish to ping.
Responses
- 200
Cake successfully retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- request string
- ip string
- country_code2 string
- country_code3 string
- country_name string
- continent_code string
- region_name string
- city_name string
- postal_code string
- latitude number
- longitude number
- dma_code string
- area_code string
- timezone string
- real_region_name string
{
"request": "string",
"ip": "string",
"country_code2": "string",
"country_code3": "string",
"country_name": "string",
"continent_code": "string",
"region_name": "string",
"city_name": "string",
"postal_code": "string",
"latitude": 0,
"longitude": 0,
"dma_code": "string",
"area_code": "string",
"timezone": "string",
"real_region_name": "string"
}
Loading...