Free Geo IP

FREE
By freegeoipapp
Updated a month ago
Commerce
2.7/10
Popularity Score
81ms
Latency
100%
Success Rate

Free Geo IP API Documentation

FreeGeoIP.app - Get Free Geo IP Information

View API Details
GETXML
GETCSV
GETJSON
GETXML

Get Geo IP in XML format

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
ip-or-hostnameSTRING
REQUIREDThe IP or hostname to check
Code Snippet
unirest.get("https://free-geo-ip.p.rapidapi.com/xml/{ip-or-hostname}")
.header("X-RapidAPI-Host", "free-geo-ip.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://free-geo-ip.p.rapidapi.com/xml/{ip-or-hostname}
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://free-geo-ip.p.rapidapi.com/xml/{ip-or-hostname}")
.header("X-RapidAPI-Host", "free-geo-ip.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication