ip2time
IP address → geolocation & local time.
Fully offline, DST-aware, no API key required.
API Documentation
GET
/api/v1/
Returns geolocation and local time for your own IP.
curl http://ip2time.maexbert.de/api/v1/
GET
/api/v1/{ip}
Returns geolocation and local time for any IP address.
curl http://ip2time.maexbert.de/api/v1/8.8.8.8
{
"success": true,
"data": {
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"timezone": "America/Los_Angeles",
"local_time": "2026-02-16T06:30:00.123456-08:00",
"is_dst": false
},
"error": null,
"tier": "Free"
}
Why ip2time?
Ultra-Fast Lookups
Powered by a memory-mapped MaxMind database, every request is resolved locally — no network round-trips, no waiting.
Simple Integration
A single GET request returns structured JSON with location and local time — ready for any language or framework. No registration, no API key, no SDK required.
Accurate Geolocation
Built on the industry-standard MaxMind GeoLite2 database with regular automated updates. You always get the most current IP-to-location mapping available.
DST & Timezone Magic
Handling timezones correctly is hard — let ip2time do it for you. Daylight saving transitions are automatically detected so you always get the true local time.
Free to Use
The free tier gives you 20 requests per hour — enough to get started immediately. Need more? Request an API key for higher limits.
Privacy First
All traffic is encrypted via HTTPS. Lookups run entirely on-server with no external API calls — your queries and your users' IP addresses never leave the system.
Rate Limit
The API is free to use. Each IP address is allowed 20 requests per hour (Fixed Window). No API key required.
The rate limit window starts with your first request
and resets after exactly 60 minutes.
Every API response includes a rate_limit field showing
your current usage (requests_permitted,
requests_used, requests_left).
Need higher limits? Send your API key via the X-API-Key header.
Request an API key.
Fair Use Policy
This API is provided free of charge and on an "as-is" basis without any warranty or service guarantee. We reserve the right to modify, restrict, or discontinue the service at any time without prior notice.
Please use the API responsibly. Automated mass queries, scraping beyond the rate limit, or any form of abuse may result in your IP being blocked.
Contact
Questions, feedback, or need an API key?
[email protected]