IP2Location
FREE
By fraudlabs
Updated a year ago

IP2Location API Documentation

The IP2Location Geolocation Web Service allows instant identification of online visitors geographical location by using IP address. The IP2Location Geolocation Web Service returns geographic information such as country, region, city, latitude, longitude, ISP and domain name.

Sign up for free license key at http://www.fraudlabs.com/freelicense.aspx?PackageID=2t which allows up to 90 queries a month.

Learn more about this API
GETIP2Location API
GETIP2Location API

IP Geolocation API

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
licenseSTRING
REQUIREDAPI license key
ipSTRING
REQUIREDIP address to query
Code Snippet
Install SDK
Response Body
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://v1.fraudlabs.com/soap/IP2LocationWebService"><SOAP-ENV:Body><ns1:IP2LocationResponse xmlns:ns1="v1.fraudlabs.com"><return xsi:type="tns:IP2LocationOutput"><COUNTRYCODE xsi:type="xsd:string">US</COUNTRYCODE><COUNTRYNAME xsi:type="xsd:string">UNITED STATES</COUNTRYNAME><REGION xsi:type="xsd:string">CALIFORNIA</REGION><CITY xsi:type="xsd:string">MOUNTAIN VIEW</CITY><LATITUDE xsi:type="xsd:string">37.405992</LATITUDE><LONGITUDE xsi:type="xsd:string">-122.078515</LONGITUDE><ZIPCODE xsi:type="xsd:string">94043</ZIPCODE><ISPNAME xsi:type="xsd:string">GOOGLE INC.</ISPNAME><DOMAINNAME xsi:type="xsd:string">GOOGLE.COM</DOMAINNAME><TIME_ZONE xsi:type="xsd:string">-07:00</TIME_ZONE><NETSPEED xsi:type="xsd:string">T1</NETSPEED><AREACODE xsi:type="xsd:string">650</AREACODE><WEATHERSTATION xsi:type="xsd:string">MOUNTAIN VIEW</WEATHERSTATION><WEATHERSTATIONCODE xsi:type="xsd:string">USCA0746</WEATHERSTATIONCODE><CREDITSAVAILABLE xsi:type="xsd:string">99326243</CREDITSAVAILABLE><MESSAGE xsi:type="xsd:string"></MESSAGE></return></ns1:IP2LocationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication