geolocation.ws

FREE
By maxim75
Updated 5 months ago
Travel
6.4/10
Popularity Score
122ms
Latency
-
Success Rate

geolocation.ws API Documentation

Browse geolocated Creative Commons photos taken from Panoramio, Flickr and Wikimedia Commons websites. Registered users can add one or more tags describing image content.

View API Details
GET/api/find_box
GET/api/find_box

Search for photos inside specified bounding box

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
sNUMBER
REQUIREDsouth bounding box latitude
nNUMBER
REQUIREDnorth bounding box latitude
eNUMBER
REQUIREDeast bounding box longitude
wNUMBER
REQUIREDwest bounding box longitude
langSTRING
REQUIREDlanguage
Optional Parameters
wiki_commonsNUMBER
OPTIONALwiki_commons
Code Snippet
unirest.get("https://maxim75-geolocation-ws-v1.p.rapidapi.com/api/find_box?wiki_commons=0&s=50&n=51&e=31&w=30&lang=en")
.header("X-RapidAPI-Host", "maxim75-geolocation-ws-v1.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://maxim75-geolocation-ws-v1.p.rapidapi.com/api/find_box
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://maxim75-geolocation-ws-v1.p.rapidapi.com/api/find_box?wiki_commons=0&s=50&n=51&e=31&w=30&lang=en")
.header("X-RapidAPI-Host", "maxim75-geolocation-ws-v1.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