Overview

This documentation is intended for developers who want to write applications that can query IP-API. To perform a query, you need to send a request, specifying a data format and some optional arguments, and will receive a formatted response.


Data formats

Geolocation API

JSON

XML

CSV

Newline

PHP


Batch API

Query multiple IP addresses in one HTTP request.

Batch JSON


DNS API

Retrieve the Client Subnet (edns-client-subnet) and DNS Server.

DNS JSON


Other pages

API Statistics

Unban IP address