Get geolocation information for the current IP address.

https://ipapi.co/json/

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 { "ip": "103.126.34.169", "network": "103.126.32.0/22", "version": "IPv4", "city": "New Delhi", "region": "National Capital Territory of Delhi", "region_code": "DL", "country": "IN", "country_name": "India", "country_code": "IN", "country_code_iso3": "IND", "country_capital": "New Delhi", "country_tld": ".in", "continent_code": "AS", "in_eu": false, "postal": "110003", "latitude": 28.652, "longitude": 77.1663, "timezone": "Asia/Kolkata", "utc_offset": "+0530", "country_calling_code": "+91", "currency": "INR", "currency_name": "Rupee", "languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc", "country_area": 3287590, "country_population": 1352617328, "asn": "AS135772", "org": "Powernet" }

Get geolocation information for a specific IP address.

https://ipapi.co/{ip}/json/

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 { "ip": "103.126.34.169", "network": "103.126.32.0/22", "version": "IPv4", "city": "New Delhi", "region": "National Capital Territory of Delhi", "region_code": "DL", "country": "IN", "country_name": "India", "country_code": "IN", "country_code_iso3": "IND", "country_capital": "New Delhi", "country_tld": ".in", "continent_code": "AS", "in_eu": false, "postal": "110003", "latitude": 28.652, "longitude": 77.1663, "timezone": "Asia/Kolkata", "utc_offset": "+0530", "country_calling_code": "+91", "currency": "INR", "currency_name": "Rupee", "languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc", "country_area": 3287590, "country_population": 1352617328, "asn": "AS135772", "org": "Powernet" }

Get the country for a specific IP address.

https://ipapi.co/{ip}/country/

Example-> JSON data

1 IN

Get the city for a specific IP address.

https://ipapi.co/{ip}/city/

Example-> JSON data

1 New Delhi

Get the timezone for a specific IP address.

https://ipapi.co/{ip}/timezone/

Example-> JSON data

1 Asia/Kolkata

Get the currency for a specific IP address.

https://ipapi.co/{ip}/currency/

Example-> JSON data

1 INR