theme
Places
FREEMIUM
By opentripmap
Updated 21 days ago

Places API Documentation

Over 10 million tourist attractions and facilities around the world

Learn more about this API
GETPlace properties
GETGeographic coordinates by placename
Objects list
GETPlaces list by bounding box
GETPlaces list by radius (Nearby Search)
GETAutosuggest
GETAutosuggest

Method returns suggestions for search term closest to the selected point optionally filtered by parameters. Only basic information is include in response: xid, name, kinds, osm, wikidata of each object. Depending on the chosen format, the response is either a simple array of objects (with a smaller volume) or an object in GeoJSON format.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
nameSTRING
REQUIREDThe query term on which to search.
lonNUMBER
REQUIREDLongitude of selected point
latNUMBER
REQUIREDLatitude of selected point
langENUM
REQUIREDLanguage code (2 characters, ISO639-1). The following values are available: en (english), ru (russian)
radiusNUMBER
REQUIREDMaximum distance from selected point in meters
Optional Parameters
kindsSTRING
OPTIONALObject category. Several comma-separated categories may be stated with OR logic. Objects from all categories are returned by default. See object category hierarchy at https://dev.opentripmap.com/doc/en/
formatENUM
OPTIONALThe output format (GeoJSON is set by default). Specify “count” to get the number of obtained objects. Available values : json, geojson
limitNUMBER
OPTIONALMaximum number of returned objects. 500 is set by default.
rateSTRING
OPTIONALMinimum rating of the object popularity, 1 - minimum, 3- maximum, h - object is referred to the cultural heritage. Objects from all categories are returned by default. Available values : 1, 2, 3, 1h, 2h, 3h
src_attrSTRING
OPTIONALThe source of the object attributes. It is allowed to point multiple sources separated by commas. Objects from all sources are returned by default. Available values : osm, wikidata, snow, cultura.ru, rosnedra, user
src_geomSTRING
OPTIONALThe source of the object geometry. Objects from all sources are returned by default. Available values : osm, wikidata, snow, cultura.ru, rosnedra
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication