Skip to content

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

Documentation menu
docs / api / post-trace-attributes
routing

POST/trace_attributes

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

Call it

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

Request body

application/json

Valhalla trace request JSON: shape (points) or encoded_polyline, costing, optional shape_match, filters and costing_options

The OpenAPI document declares this body as a free-form JSON object with no field list, so there is nothing here to generate a table from. The prose above is what the gateway states about it; the raw document is the authority.

Responses

200Matched edges and their attributes (open JSON document)
400Invalid request
401Missing or invalid API key
429Quota or rate limit exceeded
502Upstream routing engine failed

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

Also under routing

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