GET
/
api
/
json
curl --request GET \
  --url https://free.freeipapi.com/api/json
[
  {
    "ipVersion": 6,
    "ipAddress": "2a02:8071:1212:aa0:d914:e794:457d:1212",
    "latitude": 51.2217,
    "longitude": 6.77616,
    "countryName": "Germany",
    "countryCode": "DE",
    "capital": "Berlin",
    "phoneCodes": [
      49
    ],
    "timeZones": [
      "Europe/Berlin",
      "Europe/Busingen"
    ],
    "cityName": "Düsseldorf",
    "regionName": "North Rhine-Westphalia",
    "continent": "Europe",
    "continentCode": "EU",
    "currencies": [
      "EUR"
    ],
    "languages": [
      "de"
    ],
    "asn": "3209",
    "asnOrganization": "Vodafone GmbH"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Response

The response is of type object[].