logo
theme
Location By IP
FREEMIUM
By onesoft
Updated a year ago

Location By IP API Documentation

The Location By IP API allows you to find geographic information such as Country, Country Code, Region, Region Code, City, Zip code, Latitude, Longitude, Timezone, ISP and Organization of any given IP address. The API can also return results in many different formats such as JSON, XML, CSV, YAML, PHP, Serialized PHP and Text.

Learn more about this API
GETJSON
GETXML
GETCSV
GETYAML
GETPHP
GETNew Line
GETSerialized
GETPHP

To receive the response as PHP code.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
array ( 'status' => 'success', 'country' => 'United States', 'country_code' => 'US', 'region' => 'VA', 'region_name' => 'Virginia', 'city' => 'Ashburn', 'zip_code' => '20147', 'latitude' => 39.043700000000001, 'longitude' => -77.487499999999997, 'time_zone' => 'America/New_York', 'isp' => 'Amazon Technologies', 'org' => 'Amazon.com', 'as' => 'AS14618 Amazon.com, Inc.', 'q' => '54.86.225.32', )

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication