How to Use
Get IP geolocation data in 30 seconds. Free API key required -- register in seconds at ipfast.dev/login.
Quick Start
One HTTP request gives you 24+ geolocation fields. Works from any language, any platform.
curl https://ipfast.dev/json
Single Field Endpoints
Need just one value? Plain text response, perfect for scripts:
curl https://ipfast.dev/country # TR
curl https://ipfast.dev/city # Istanbul
curl https://ipfast.dev/timezone # Europe/Istanbul
curl https://ipfast.dev/ip # Your IP as text
curl https://ipfast.dev/flag # Flag emoji
curl https://ipfast.dev/currency # TRY
Output Formats
GET /json # JSON (default, 24+ fields)
GET /xml # XML
GET /yaml # YAML
GET /csv # CSV
GET /all # JSON with IP + connection + user agent
JavaScript
fetch('https://ipfast.dev/json')
.then(r => r.json())
.then(data => {
console.log(data.ip); // Your IP
console.log(data.city); // City name
console.log(data.country); // Country code
});
Python
import requests
data = requests.get('https://ipfast.dev/json').json()
print(f"{data['ip']} - {data['city']}, {data['countryName']}")
Premium API Features
- Arbitrary IP lookup:
GET /json/8.8.8.8
- Company detection:
GET /company/8.8.8.8
- VPN/Proxy/Tor detection:
?modules=security
- Threat intelligence:
?modules=threat
- IP Risk scoring:
GET /risk/8.8.8.8
- Bulk lookup:
POST /bulk (up to 500 IPs)
- Distance calculator:
GET /distance/ip1/ip2
Plans from $9/month. See pricing
Rate Limits
| Tier | Req/min | Monthly | Price |
| Free | 120 | 10K | $0 |
| Starter | 500 | 50K | $9/mo |
| Pro | 1,000 | 200K | $29/mo |
| Business | 2,000 | 1M | $99/mo |