cURL
curl --request GET \ --url https://free.freeipapi.com/api/json/{ip}
[ { "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 } ]
This will return the IP info of the given IP address.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Valid IPv4 or IPv6
Response
The response is of type object[].
object[]