IP to Geocode
Returns google informations
Input
{
"ip": "142.250.184.227"
}Output · HTTP 200
{
"result": {
"ip": "142.250.184.227",
"latitude": 37.751,
"longitude": -97.822,
"country": "United States",
"countryCode": "US"
}
}Show curl command
curl -X POST 'https://api.1001fx.com/geo/ip2geocode' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"ip":"142.250.184.227"}'