Documentation menu
POST/adr/check
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Needs a full key; a browser (maps) key is refused. |
|---|---|
| Price | 1 call per request. Class: premium. Published as unit_rules.default in /pricing.json. |
| Premium | Always: ADR compliance is Premium by path |
What it does
ADR tunnel-entry compliance check.
An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: 1 call per request.
Call it
curl -fsS -X POST "https://api.mapmap.ai/adr/check" \
-H "Authorization: Bearer $MAPMAP_KEY" \
-H "Content-Type: application/json" \
-d '{"adr":{"dimensions":{"gross_weight_t":40,"height_m":4,"length_m":16.5,"width_m":2.55},"hazmat":false,"tunnel_code":"C/E"},"tunnel_category":"D"}'Request body
application/json · AdrCheckRequest
ADR vehicle profile plus the tunnel category to check
| Field | Type | Required | Description |
|---|---|---|---|
| adr | AdrVehicleProfile | yes | The vehicle profile and dangerous-goods declaration. |
| tunnel_category | string | yes | The ADR category of the tunnel to check. |
Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"adr": {
"dimensions": {
"gross_weight_t": 40,
"height_m": 4,
"length_m": 16.5,
"width_m": 2.55
},
"hazmat": false,
"tunnel_code": "C/E"
},
"tunnel_category": "D"
}Responses
| Field | Type | Required | Description |
|---|---|---|---|
| reason | string | no | Present when blocked: a human-readable explanation citing ADR 8.6.4. |
| status | string | yes | allowed or blocked. |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
{
"status": "blocked"
}application/problem+json · Problem
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
text/plain
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.
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId post_check