Telize offers a JSON IP and GeoIP REST API allowing to get a visitor IP address and to query location information from any IP address. It outputs JSON-encoded IP geolocation data, and supports both Cross-origin resource sharing (CORS) and JSONP.
View API Details
GETJSON IP
GETIP
GETLocation
GETLocation with specific IP
GETLegacy - GeoIP
GETJSON IP
Get IP address in JSON format. Returns the visitor IP address (IPv4 or IPv6) in a JSON object.