IP Geolocation by ipgeolocation.io
By ejaz1
Updated 5 months ago

IP Geolocation by ipgeolocation.io API Documentation

IP Geolocation API allows developers to get geolocation information for a given IP address. Data points returned by this GeoIP API include city, state, province, country, continent, latitude, longitude, region, timezone, current time, organization, ISP, local currency, and country flags. This IP Location API can be used for content personalization, geotargeting, geofencing, ad targeting, digital rights management, form auto-completion, etc. With the free plan, you can make 15,000 IP lookup API calls per month. Paid plans are starting from $15 per month.

Learn more about this API
GETGet IP Geolocation
GETGet Client IP
POSTBulk IP Geolocation
GETGet IP Geolocation

This endpoint returns geolocation and other useful points from an IP Address. If IP address is provided as query parameter, geolocation is performed on that IP address. If IP address is left empty, geolocation data of client IP is returned.

Header Parameters
Optional Parameters
OPTIONALProvide the IP address to geolocate. If set blank, API will use client IP.
OPTIONALSpecify the fields to retrieve in response. Field names can be comma separated. Possible values are city, currency, geo and everything which appears in json response. To speed up the response time, its better to provide the fields which are needed rather than pulling everything.
OPTIONALYou can also filter the API response by specifying the name of fields/objects that you want to remove from the API response. This is also comma separated.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication