Skip to main content
GET
/
api
/
json
cURL
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"
    ],
    "zipCode": "40123",
    "cityName": "Düsseldorf",
    "regionName": "North Rhine-Westphalia",
    "continent": "Europe",
    "continentCode": "EU",
    "currencies": [
      "EUR"
    ],
    "languages": [
      "de"
    ],
    "asn": "3209",
    "asnOrganization": "Vodafone GmbH",
    "isProxy": false
  }
]

Authorizations

Authorization
string
header
required

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

Response

Response

ipVersion
integer
Example:

6

ipAddress
string<ipv6>
Example:

"2a02:8071:1212:aa0:d914:e794:457d:1212"

latitude
number
Example:

51.2217

longitude
number
Example:

6.77616

countryName
string
Example:

"Germany"

countryCode
string
Example:

"DE"

capital
string
Example:

"Berlin"

phoneCodes
integer[]
Example:
[49]
timeZones
string[]
Example:
["Europe/Berlin", "Europe/Busingen"]
zipCode
string
Example:

"40123"

cityName
string
Example:

"Düsseldorf"

regionName
string
Example:

"North Rhine-Westphalia"

continent
string
Example:

"Europe"

continentCode
string
Example:

"EU"

currencies
string[]
Example:
["EUR"]
languages
string[]
Example:
["de"]
asn
string
Example:

"3209"

asnOrganization
string
Example:

"Vodafone GmbH"

isProxy
boolean
Example:

false