Skip to main content
GET
/
v1
Get IP geolocation data
curl --request GET \
  --url https://api.geoipfetcher.com/v1
{
  "ip_address": "<string>",
  "city": "<string>",
  "city_geoname_id": 123,
  "region": "<string>",
  "region_iso_code": "<string>",
  "region_geoname_id": 123,
  "postal_code": "<string>",
  "country": "<string>",
  "country_code": "<string>",
  "country_geoname_id": 123,
  "country_is_eu": true,
  "continent": "<string>",
  "continent_code": "<string>",
  "continent_geoname_id": 123,
  "latitude": 123,
  "longitude": 123,
  "timezone": {
    "name": "<string>",
    "abbreviation": "<string>",
    "gmt_offset": 123,
    "current_time": "<string>",
    "is_dst": true
  },
  "flag": {
    "emoji": "<string>",
    "unicode": "<string>",
    "png": "<string>",
    "svg": "<string>"
  },
  "currency": {
    "currency_code": "<string>",
    "currency_name": "<string>"
  }
}

Query Parameters

api_key
string
required

Your Api Key provided by GeoIPFetcher

ip_address
string

IP address to get geo data from

Response

Successful operation

ip_address
string
required

The IP address

city
string

The city associated with the IP address

city_geoname_id
integer

The Geoname ID of the city

region
string

The region associated with the IP address

region_iso_code
string

The ISO code of the region

region_geoname_id
integer

The Geoname ID of the region

postal_code
string

The postal code associated with the IP address

country
string

The country associated with the IP address

country_code
string

The country code associated with the IP address

country_geoname_id
integer

The Geoname ID of the country

country_is_eu
boolean

Whether the country is in the European Union

continent
string

The continent associated with the IP address

continent_code
string

The continent code associated with the IP address

continent_geoname_id
integer

The Geoname ID of the continent

latitude
number

The latitude associated with the IP address

longitude
number

The longitude associated with the IP address

timezone
object
flag
object
currency
object