API Documentation

Fair use

This API is free for everyone. There are no limitations, please use in your application cache mechanisms to prevent an overload of the server.

JSON

$ curl "https://ipapi.de/json/{query}"

{query} can be:

{empty} with no query you ca see your current data.

save to save your current data.

{ID} to see saved data. ID looks like "a8584ba898d2d".

CSV

$ curl "https://ipapi.de/csv/{query}"

{query} can be:

{empty} with no query you ca see your current data.

head Show the header for the csv file.

save to save your current data.

{ID} to see saved data. ID looks like "a8584ba898d2d".

Plain

$ curl "https://ipapi.de/plain/{query}"

{query} can be:

ip ip_version country_name country_code region city latitude longitude zip_code hostname user_agent date timezone_type proxy as asn

Image

https://ipapi.de/image.png

Show your current IP, location and hostname as PNG.