IP Geolocation
FREEMIUM
By geoplugin
Updated 6 months ago

IP Geolocation API Documentation

geoPlugin - the original and largest free IP geolocation web service API since 2006
Available in JSON, PHP, XML, CSV, Javascript

Learn more about this API
IP Geolocation
GETJSON IP geolocation
GETPHP IP geolocation
GETXML IP geolocation
GETCSV IP geolocation
GETASP IP geolocation
GETJavascript IP geolocation
Currency Conversion
GETASP Currency Conversion
GETJSON Currency Conversion
GETXML Currency Conversion
GETPHP Currency Conversion
GETCSV Currency Conversion
GETJavascript IP geolocation

IP geolocation for Javascript applications

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
ipSTRING
OPTIONALOptional IP address (Default: Requesting IP)
Code Snippet
Install SDK
function geoplugin_request() { return '54.88.28.194';} function geoplugin_status() { return '200';} function geoplugin_credit() { return 'Some of the returned data includes GeoLite data created by MaxMind, available from http://www.maxmind.com.';} function geoplugin_delay() { return '0ms';} function geoplugin_city() { return 'Ashburn';} function geoplugin_region() { return 'Virginia';} function geoplugin_regionCode() { return 'VA';} function geoplugin_regionName() { return 'Virginia';} function geoplugin_areaCode() { return '';} function geoplugin_dmaCode() { return '511';} function geoplugin_countryCode() { return 'US';} function geoplugin_countryName() { return 'United States';} function geoplugin_inEU() { return 0;} function geoplugin_euVATrate() { return ;} function geoplugin_continentCode() { return 'NA';} function geoplugin_latitude() { return '39.0481';} function geoplugin_longitude() { return '-77.4728';} function geoplugin_locationAccuracyRadius() { return '1000';} function geoplugin_timezone() { return 'America/New_York';}

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication