GEOIP

Best Free Rest API for IP-based user location detection

Over 97% IPv4 and IPv6 address coverage. Daily updates. Instant search 0.002 seconds per query.
Your public IP address
18.191.13.255
US
Columbus
Ohio, United States of America
Latitude
39.96138
Longitude
-82.997749
UTC-4
43085

Get your Free API Key

You will receive an email with a free API key at the specified address.

API Guide

Request
POST
https://api.surfy.one/geo/ip/{IP_ADDRESS}
Header parameters
Required
Email
String
Your E-mail
Required
Key
String
Your Free API key
Response
JSON { "ip": "2a01:e35:8bd9:8bb0:92b:8628:5ca5:5f2b", "code": "FR", "country": "France", "region": "Ile-de-France", "city": "Paris", "latitude": 48.858365, "longitude": 2.294532, "zip": "75000", "timezone": { "id": "Europe/Paris", "name": "Central European Standard Time", "gmt": "GMT+01:00", "offset": 60, "localTime": "11/12/2022, 6:55:50 PM GMT+01:00" }, "state":true }
Example
CURL -X POST -H "Email: {YOUR_EMAIL}" -H "Key: {YOUR_FREE_API_KEY}" https://api.surfy.one/geo/ip/{IP_ADDRESS}

Contribution

If you like our project and would like to contribute to it or support us, feel free to contact us:
Alexander Yermolenko Surfy Founder
Get in Touch
Only major events and global updates