Spott
FREEMIUM
By Spott
Updated 4 months ago

Spott API Documentation

Search cities, countries and administrative divisions by name, autocompletion or IP.

Learn more about this API
GETGet place by IP
GETGet place by Geoname ID
GETGet place by my IP
GETGet place by ID
GETAutocomplete places
GETSearch places
GETGet place by IP

Returns the Place where a given IP Address is located. Returns "Not Found" error when no place is related to the IP. When sending '127.0.0.1' or '0.0.0.0' IP Addresses it will return the Place from the request was performed.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
idSTRING
REQUIREDIP Address (v4 and v6 are supported).
Optional Parameters
languageENUM
OPTIONALSpecifies a language (ISO 639-1) to get the localized name of the place. If translation is not available, "localizedName" property will be null.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication