DocumentationIP Geolocation API
IP Geolocation API
Look up geographic location of an IP address
Overview
GET /v1/life/ip looks up the geographic location of an IP address. Defaults to the caller's IP when no address is specified.
Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
address | string | No | Caller's IP | IP address to query |
Request Examples
Look Up Own IP
curl -H "X-API-Key: sk_gapi_xxxxx" \
"https://api.groundapi.net/v1/life/ip"Look Up Specific IP
curl -H "X-API-Key: sk_gapi_xxxxx" \
"https://api.groundapi.net/v1/life/ip?address=114.114.114.114"Response Fields
| Field | Description |
|---|---|
ip | IP address |
country | Country |
region | Province / region |
city | City |
isp | ISP |
Pricing
$0.01/call (news). First 500 calls/month are free.
Updated 6 days ago