---
title: "Map matching to per-edge attributes (see module docs)."
method: POST
path: "/trace_attributes"
tags: ["routing"]
---

# Map matching to per-edge attributes (see module docs).

`POST /trace_attributes`

## Request

- Base URL: `https://api.mapmap.ai`
- URL: `https://api.mapmap.ai/trace_attributes`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `api_key`

## Request body

- object

## Response `200`

Matched edges and their attributes (open JSON document)

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `429`: Quota or rate limit exceeded
- `502`: Upstream routing engine failed

---

[API](https://skmtc.dev/mapmap/apis/sn-gateway.md) · [All operations](https://skmtc.dev/mapmap/apis/sn-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/mapmap/apis/sn-gateway/revisions/2293be8b4c38?raw)
