Documentation menu
GET/geocoding/v5/mapbox.places/{query}
Access and price
| Auth | An API key, as Authorization: Bearer snk_…, ?api_key=snk_… or ?access_token=snk_…. Metered. A browser (maps) key may call it. |
|---|---|
| Price | 1 call per request, as GET /geocode. Class: standard. Published as unit_rules.default in /pricing.json. |
What it does
Legacy Mapbox Geocoding v5 (mapbox.places), forward or, for a lon,lat query, reverse. One standard unit.
An API key, as Authorization: Bearer snk_…, ?api_key=snk_… or ?access_token=snk_…. Metered. Price: 1 call per request, as GET /geocode.
Call it
curl -fsS -X GET "https://api.mapmap.ai/geocoding/v5/mapbox.places/{query}" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| query | path | string | yes | Search text, or lon,lat for a reverse lookup, followed by .json |
| access_token | query | string | no | Your MapMap key (snk_...) |
| proximity | query | string | no | Bias as lon,lat. Forward search only: a 400 on a reverse lookup |
| bbox | query | string | no | minLon,minLat,maxLon,maxLat. Forward search only: a 400 on a reverse lookup |
| country | query | string | no | ISO 3166-1 alpha-2 codes, comma-separated. On a reverse lookup it filters the page returned |
| limit | query | integer | no | 1 to 10 Limits: at least 0. |
| language | query | string | no | IETF tag; its primary subtag selects the result language of a forward search. Accepted on a reverse lookup and changes nothing there |
| types | query | string | no | Filter on place_type, applied to the page returned |
| autocomplete | query | boolean | no | Accepted and ignored |
Responses
query, features with place_name, center, context, relevance, and attribution) built from MapMap's own answers| Field | Type | Required | Description |
|---|---|---|---|
| attribution | string | no | Place data attribution. |
| features | object[] | no | Matches, best first: id, place_name, text, center,
geometry, place_type, relevance and context. |
| query | not stated[] | no | The query, split into words. |
| type | string | no | Always FeatureCollection. |
Example: Recorded from the hosted gateway on 2026-11-05 with a test key: GET /geocoding/v5/mapbox.places/Brighton%20Station.json?limit=1; lists trimmed to their first items
{
"attribution": "Place data © OpenStreetMap contributors, ODbL 1.0",
"features": [
{
"center": [
-0.1407393,
50.8288602
],
"context": [
{
"id": "postcode.bn1-3xp",
"text": "BN1 3XP"
},
{
"id": "place.brighton",
"text": "Brighton"
}
],
"geometry": {
"coordinates": [
-0.1407393,
50.8288602
],
"type": "Point"
},
"id": "poi.osm:n20947173:poi",
"place_name": "Brighton, BN1 3XP, United Kingdom",
"place_type": [
"poi"
],
"properties": {},
"relevance": 1,
"text": "Brighton",
"type": "Feature"
}
],
"query": [
"brighton",
"station"
],
"type": "FeatureCollection"
}{message}application/json
unauthorized); the body carries signup, docs and a one-call hint for a free keyapplication/problem+json · Problem
X-PAYMENT). Not problem+jsonapplication/json · X402PaymentRequired
scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)application/problem+json · Problem
rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)application/problem+json · Problem
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Mapbox-compatible paths
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_v5_places