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

ParameterTypeRequiredDefaultDescription
addressstringNoCaller's IPIP 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

FieldDescription
ipIP address
countryCountry
regionProvince / region
cityCity
ispISP

Pricing

$0.01/call (news). First 500 calls/month are free.

Updated 6 days ago
Did this page help you?