Skip to content

Maps

Maps describe published destinations and the content that belongs to them. Set BASE_URL as shown in the API overview before running these examples.

GET /maps/:map_id

Returns a map and the requested related sections. Each section flag is passed as a string; use true to request it.

ParameterInRequiredDescription
map_idPathYesMap UUID.
infoQueryNoInclude map information.
all_categoriesQueryNoInclude all categories.
categoriesQueryNoInclude categories.
markersQueryNoInclude markers.
pathsQueryNoInclude paths.
polygonsQueryNoInclude polygons.
publisherQueryNoInclude publisher data.
map_dataQueryNoInclude map data.
contactQueryNoInclude contact data.
map_sponsorsQueryNoInclude map sponsors.
version_idQueryNoReturn content from this map-version UUID.
tag_countsQueryNoComma-separated tag IDs (from GET /places-of-interest/items/:map_id). Returns how many POIs carry each one. Not a boolean: tag_counts=true returns null.
contentsQueryNoInclude map content blocks.
Terminal window
curl --get "$BASE_URL/maps/c2025939-af64-4371-a281-c6818b2cd96e" \
--data-urlencode "info=true" \
--data-urlencode "categories=true" \
--data-urlencode "publisher=true"

GET /maps/:map_id/details

Returns identity and presentation details for one map. This endpoint can also return the limited identity and branding needed to represent a disabled map.

ParameterInRequiredDescription
map_idPathYesMap UUID.
Terminal window
curl "$BASE_URL/maps/c2025939-af64-4371-a281-c6818b2cd96e/details"

GET /maps/:map_id/contents

Returns the content blocks associated with a map.

ParameterInRequiredDescription
map_idPathYesMap UUID.
Terminal window
curl "$BASE_URL/maps/c2025939-af64-4371-a281-c6818b2cd96e/contents"

Publishers are the destination organizations that maintain maps and their content.

GET /publisher/:publisher_id

Returns one publisher by ID.

ParameterInRequiredDescription
publisher_idPathYesPublisher UUID.
Terminal window
curl "$BASE_URL/publisher/d20f7613-0cc3-4586-a95c-7cd2575127ca"

GET /publisher/:publisher_id/maps

Returns the publisher, with its published maps in a maps array: { id, name, handle, logo, …, maps: [...] }. You can provide a coordinate to order the maps by proximity. Maps that are not published to Wander discovery are left out.

ParameterInRequiredDescription
publisher_idPathYesPublisher UUID.
lngQueryNoLongitude used with lat.
latQueryNoLatitude used with lng.
Terminal window
curl --get "$BASE_URL/publisher/d20f7613-0cc3-4586-a95c-7cd2575127ca/maps" \
--data-urlencode "lat=40.7128" \
--data-urlencode "lng=-74.0060"