/v1/geolocation
Look up your own IP
Determines the IP address of the requesting client and answers with its geolocation data. Only a response with status: success is billed.
Bearer fd_… 0.40 EUR per 1,000 successful requests
Query parameters
| Name | Type | Description | |
|---|---|---|---|
| lang | string | Language of the geographic labels (default de, alternatively en) |
curl -X GET "https://api.flowdata.one/v1/geolocation" \
-H "Authorization: Bearer fd_YOUR_KEY" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('fd_YOUR_KEY')
->get('https://api.flowdata.one/v1/geolocation');
$data = $response->json();
const response = await fetch('https://api.flowdata.one/v1/geolocation', {
method: 'GET',
headers: {
'Authorization': 'Bearer fd_YOUR_KEY',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer fd_YOUR_KEY',
'Accept': 'application/json',
}
response = requests.get(
'https://api.flowdata.one/v1/geolocation',
headers=headers,
)
data = response.json()
{
"status": "success",
"continent": "Nordamerika",
"continentCode": "NA",
"country": "Vereinigte Staaten",
"countryCode": "US",
"region": "CA",
"regionName": "Kalifornien",
"city": "Mountain View",
"district": null,
"zip": "94043",
"lat": 37.4192,
"lon": -122.0574,
"timezone": "America/Los_Angeles",
"offset": -25200,
"currency": "USD",
"isp": "Google LLC",
"org": "Google LLC",
"as": "AS15169 Google LLC",
"asname": "Google LLC",
"reverse": null,
"mobile": null,
"proxy": null,
"hosting": null,
"query": "8.8.8.8"
}