Our API is created as a public resource for receiving the most complete information about the IP-address of the user. The data formats are XML or JSON with HTTP connection. Information in the databases updates every day and every webmaster can integrate this service with his own projects.
For the integration of our service with your projects, we offer you one of the following API:
- service "Geo-IP API";
- service "Provider-IP API".
- service "Hosting API";
- service "Email API".
Restrictions in use
The inquiries' number limit to each service "Geo-IP API", "Provider-IP API", "Hosting API" or "Email API" amounts to no more than 100 inquiries from one IP address during 24 hours. If you need more inquiries' number to our server, contact us via email address firstname.lastname@example.org.
Data provided by our API contains the following fields.
Service "Geo-IP API":
Service "Provider-IP API":
Service "Hosting API":
Service "Email API":
Examples of API requests
Example of XML and JSON requests to the service "Geo-IP API":
- XML: http://api.2ip.tools/geo.xml?ip=2001:4860:4860::8844
- JSON: http://api.2ip.tools/geo.json?ip=2001:4860:4860::8844
API call with an empty parameter "ip" returns information about the IP address from which handling comes.