ipapi
Real-time IP to geolocation lookup returning location, connection, timezone, currency and optional threat-assessment data for an IPv4 or IPv6 address, plus a /check endpoint that resolves the caller's own address. Supports field selection, JSON or XML output and bulk lookups.