Skip to content

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

Documentation menu
docs / api / post-geocode-selection
geocode

POST/geocode/selection

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

Call it

bash
curl -fsS -X POST "https://api.mapmap.ai/geocode/selection" \
  -H "Authorization: Bearer $MAPMAP_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json

Request body

application/json · SelectionRequest

FieldTypeRequiredDescription
idstringyesThe id property of the chosen feature.
querystringyesThe query as typed.

Responses

202Selection recorded
FieldTypeRequiredDescription
statusstringyesAlways "recorded".
400Missing or over-long query/id
401Missing or invalid API key
429This key has hit its daily selection cap

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

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