logo
theme
geolocation
FREEMIUM
By damngoodapis
Updated 5 months ago

geolocation API Documentation

Geolocation api. Have you ever needed to know where the person visiting your website is coming from? Just use this API.

If you use it in your front-end javascript code, you may even leave the IP argument empty. Just hit the root of the API and you'll be given information on the whereabouts of your visitor.

Using in the backend is as simple! All you have to do is pass a "ip" argument with the ip address of the given user.

Learn more about this API
GETgeolocation
GETgeolocation

This endpoint returns geolocation information for the given IP address. If no IP address is specified, then the current IP address is used.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication