Skip to content

50,000 free calls a month, card-free. Get an API key →

Documentation menu
docs / api / get-places-nearest
places

GET/places/nearest

API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/places/nearest?lat=…&lon=…" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInRequiredDescription
latqueryyesLatitude (WGS84), required
lonqueryyesLongitude (WGS84), required
limitquerynoMaximum results, 1–50 (default 10)

Responses

200Places ordered nearest first (empty when no dataset is stored)
FieldTypeRequiredDescription
countintegeryesNumber of results returned.
resultsPlaceNearestHit[]yesHits ordered nearest first. Empty when no dataset is stored.
400Missing or malformed lat/lon
401Missing or invalid API key
404Customer places not configured on this gateway

Error bodies follow the shared problem model documented on API conventions.

Also under places

Generated from https://api.mapmap.ai/openapi.json on 2026-09-17 · operationId nearest_places