Documentation menu
Geocoding and search
POST/geocode/selection
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit. A browser (maps) key may call it. |
|---|---|
| Price | Not metered: no quota, no credit. |
What it does
Never charged; capped per key per day.
An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit.
Call it
bash
curl -fsS -X POST "https://api.mapmap.ai/geocode/selection" \
-H "Authorization: Bearer $MAPMAP_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"string","query":"string"}'Request body
application/json · SelectionRequest
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The id property of the chosen feature. |
| query | string | yes | The query as typed. |
Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call
json
{
"id": "string",
"query": "string"
}Responses
202Selection recorded
| Field | Type | Required | Description |
|---|---|---|---|
| status | string | yes | Always "recorded". |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
json
{
"status": "string"
}400Missing or over-long query/id
application/problem+json · Problem
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (
unauthorized)application/problem+json · Problem
413The request declares a body larger than 1048576 bytes (plain text, not problem+json)
text/plain
429This key has hit its daily selection cap
application/problem+json · Problem
504The request did not finish within the gateway's request deadline (
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Geocoding and search
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId record_selection