IPAPI


The IPAPI is a fast, simple, and powerful IP geolocation service. With a single HTTP request, you can retrieve detailed information for both IPv4 and IPv6 addresses, including geographic location, time zone, currency, connection details, ISP data, and security metadata. Responses are delivered in lightweight JSON or XML formats optimized for speed and ease of use. 

IPAPI’s easy-to-use REST API provides over 45 unique data points per IP address, covering location, connection, ISP, time zone, currency, and security assessment information. Lookup requests are made via straightforward HTTP GET URLs, with results returned in milliseconds.

This documentation details the API’s specifications, features, and access methods. At the end, you’ll find code examples in multiple programming languages. For any technical questions, IPAPI Customer Service is available to assist.

Get free API Access Key

API Endpoint Summary

EndpointDescriptionHTTP MethodNotes / Parameters
/api/{ip}Standard IP Lookup – Retrieve detailed info for a single IPv4 or IPv6 addressGETRequires access_key; optional parameters: fields, hostname, security, language, output
/api/bulkBulk IP Lookup – Lookup multiple IPs in a single requestPOSTBusiness plan and above; JSON body with list of IPs; optional fields, hostname, security, language, output
/api/checkOrigin IP Lookup – Get details for the requestor’s IPGETRequires access_key; optional parameters: fields, hostname, security, language, output

Why Choose IPAPI?

IPAPI stands out as a geolocation API for developers and businesses due to:

  • Comprehensive Data: Returns over 40 unique data points, including continent, country, city, ZIP, latitude/longitude, time zone, currency, ASN, ISP, and more.
  • Flexible Output: Supports JSON and XML formats with optional JSONP callbacks.
  • Easy Integration: Uses simple HTTP GET requests; no complex authentication.
  • Multiple Endpoints: Includes standard, bulk, and origin IP lookups to cover different use cases. 
  • Optional Enhancements: Enable hostname resolution, security data (TOR/proxy detection), custom fields, and language localization.
  • Scalable for Developers and Enterprises: Available on all plans, with higher tiers unlocking bulk lookups and advanced features. 

 

Questions? Contact Sales .
Need help? Contact Support .
© 2026 APILayer. All rights reserved.