Meridian Atlas Business API
The Meridian Atlas Business API: routes, multi-stop routes, route matrices, stop-order optimisation, traffic, safety cameras, navigation legs, nearby roads and Places. Successful responses are metered only after delivery.
| Version | 1.0.0 |
| Server | https://api.meridianatlas.dev · Planned production host; not live yet. |
| OpenAPI | 3.1.0 |
Authentication
Send your API key in the X-Atlas-Key header.
Account-linked key with the features chosen when it was created. Revocation, inactive billing or failed payment prevents result delivery. An app key also needs Atlas-App (and Atlas-App-Cert on Android) naming an app listed on the key; server keys ignore those headers. App restrictions deter reuse of a leaked key but are not proof of the calling app. Keys look like atlas_sk_<id>_<secret><checksum> (server keys) or atlas_ak_<id>_<secret><checksum> (app keys); a key with a wrong checksum is refused before it is looked up. Keys issued before December 2026 look like atlas_live_<id>.<secret> and still work.
Send your API key in the __Host-atlas_studio cookie.
Atlas Studio's session cookie, set by sign-in, email verification and accepting an invitation by signing up (HttpOnly; Secure; SameSite=Lax; Path=/). The server keeps only a hash of it. A session ends after an idle timeout without requests (default 1 hour), at an absolute expiry (default 12 hours), on sign-out, and on any password change or reset. Every state-changing request made with it must (1) come from a configured Studio origin, shown by Origin (or Referer when Origin is absent), and (2) send the session's CSRF token in the Atlas-CSRF-Token header. Accepted on every /v1/portal/workspaces/* operation as well as those listed here. For local development only, a server with ATLAS_STUDIO_DEV_COOKIE=true and only http loopback Studio origins (http://127.0.0.1, http://localhost, http://[::1]) uses a plain atlas_studio_dev cookie instead (no Secure, no __Host- prefix), since browsers refuse __Host- cookies over HTTP; an HTTPS Studio always uses __Host-atlas_studio. Risky actions (keys, roles, removals, inviting owners or admins) also need a recent step-up on the session: see POST /v1/portal/auth/confirm.
Deprecated. The 1-hour token from POST /v1/portal/sessions that the current Studio keeps in memory. It still works on every portal operation (without Origin or CSRF checks, since a browser never sends it on its own) so the current Studio keeps working; new clients use the StudioSession cookie. Risky actions follow the same step-up rule as a cookie session: signing in for the token counts for 10 minutes, then POST /v1/portal/auth/confirm with the token.
Endpoints
| Endpoint | What it does | Feature |
|---|---|---|
POST /v1/routes | Calculate one route | core_routing (navigation with legId) |
POST /v1/routes/ordered-multi-stop | Route supplied stops in submitted order | core_routing |
POST /v1/route-matrix | Calculate an origin-destination matrix | route_matrix |
POST /v1/traffic/route-advisory | Traffic along a route | traffic Planned |
POST /v1/stop-optimizations | Submit a resumable stop-order optimisation job | fleet_optimization |
GET /v1/stop-optimizations/{jobId} | Read stop-order optimisation job status | fleet_optimization |
GET /v1/stop-optimizations/{jobId}/result | Deliver a completed stop-order optimisation result | fleet_optimization |
GET /v1/cameras | List safety cameras in a viewport | safety_cameras Beta |
POST /v1/navigation/legs | Start a navigation leg | navigation |
POST /v1/navigation/legs/{legId}/end | End a navigation leg | navigation |
POST /v1/roads/nearby | Roads near a point, with speed limits | road_attributes |
GET /v1/offline/freshness | Current offline freshness ticket | offline After launch |
Calculate one route
POST /v1/routes
Current ferry planning is unavailable until live operator, terminal, vehicle and booking information is available. A past ferry itinerary requires ferryMode=historical_replay and an explicit past departureTime; it is returned with all current eligibility flags false. Road routing is unchanged. When no legal route reaches the requested destination, the route may end at the nearest point on a nearby public road (at most 300 m away) and says so in destinationAdjustment; it is charged as one route.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
origin required | Coordinate | |
destination required | Coordinate | |
profile | "quickest" | "shortest" | "curvy" | Optional; quickest when absent.default "quickest" |
departureTime | string (date-time) | |
traffic | "unaware" | "aware" | |
ferryMode | "current" | "historical_replay" | Default current. Historical replay requires an explicit past departureTime and never qualifies current sailing or driving. |
heading | number | The car's heading in degrees (0 = north), so a reroute starts the way it is facing: on the road going that way, never the other carriageway of a dual carriageway.at least 0 · less than 360 |
headingTolerance | number | How far from heading (degrees) the road the route starts on may go; 60 when absent. Roads going further off it are used only when none near is within it. Needs heading.10 to 180 |
approach | "unrestricted" | "curb" | curb: arrive with the destination on the driver's side of the road (the left in the UK). unrestricted (the default): either side. |
legId | string (uuid) | Reroute inside a navigation leg (from POST /v1/navigation/legs). The route must keep the leg's destination (within 50 m) and the leg must be active: started within 24 hours and not ended. Such a route is operation route.reroute, 0 units, under the navigation feature (the key needs Navigation, not Routes). A leg includes 50 reroutes; after them, or for an unusable legId, the request is refused with 400 leg_invalid or leg_destination_mismatch rather than billed as a new route (start a new leg, or route without the legId). |
{
"origin": [
-2.7959566,
53.5548409
],
"destination": [
-2.638245,
53.541728
],
"profile": "quickest",
"departureTime": "2026-10-01T08:00:00+01:00",
"traffic": "aware"
}Responses
| Status | Description |
|---|---|
200 | Successful, metered result. |
400 | Invalid request. With legId: leg_invalid (unknown, foreign, ended or older than 24 hours) or leg_destination_mismatch (a new destination is a new leg). |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
422 | Route unresolved, current ferry conditions unverified, or explicit cancellation/suspension. No delivered unit is charged. When no road a car can reach was found within 600 m of the destination, the error says why in reason (destination_unreachable_by_car or no_road_near_destination) and how far it looked in searchRadiusMetres; a destination with such a road nearby is routed there instead, with destinationAdjustment. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Routing or traffic unavailable right now (routing_unavailable). Nothing is charged; retry with the same Idempotency-Key. |
200 response
application/json
| Field | Type | Description |
|---|---|---|
routeId required | string | |
distanceMetres required | number | |
durationSeconds required | number or null | |
polyline required | array of Coordinate | |
speedSections required | array of SpeedSection | |
speedLimitCoverage required | SpeedLimitCoverage | |
guidance required | array of GuidanceStep | |
guidanceAvailable required | boolean | Whether the route has guidance steps. |
guidanceVerified required | boolean | |
routeMode | "road" | "multimodal" | |
scheduleAware | boolean | Historical timetable modelling is not live availability. |
waitTimeSeconds | number or null | at least 0 |
transportSegments | array of one of RoadTransportSegment, FerryTransportSegment | 0 to 128 items |
ferryReadiness | FerryReadiness | |
destinationAdjustment | DestinationAdjustment |
{
"routeId": "route_01J...",
"distanceMetres": 14180.5,
"durationSeconds": 936.4,
"polyline": [
[
-2.79596,
53.55484
],
[
-2.63825,
53.54173
]
],
"speedSections": [
{
"startSegmentIndex": 0,
"endSegmentIndex": 12,
"speedLimitMph": 30,
"unit": "mph"
}
],
"speedLimitCoverage": {
"segments": 12,
"resolved": 12,
"complete": true
},
"guidance": [
{
"kind": "depart",
"atMetres": 0,
"instruction": "Start on Thurston",
"locale": "en-GB",
"laneGuidance": {
"source": "none",
"lanes": [],
"recommendedLaneIndexes": [],
"preferredLaneIndex": null,
"drivingSide": "left"
}
}
],
"guidanceAvailable": true,
"guidanceVerified": false
}Route supplied stops in submitted order
POST /v1/routes/ordered-multi-stop
One route through the stops in the order given. Each leg says which stops it joins and which part of polyline it covers (polyline[coordinateStartIndex...coordinateEndIndex]), with its own distance, duration, speed limits and guidance. Guiding the route is charged per stop under Navigation (POST /v1/navigation/legs), not here.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
requestId required | string | 1 to 128 characters |
stops required | array of object | 2 to 64 items |
stops[].id required | string | 1 to 128 characters |
stops[].coordinate required | Coordinate | |
stops[].serviceSeconds | integer | 0 to 86400 · default 0 |
profile required | "quickest" | "shortest" | |
order | "preserve" | Optional; preserve (the only order today) when absent.default "preserve" |
{
"requestId": "dispatch-17",
"profile": "quickest",
"order": "preserve",
"stops": [
{
"id": "depot",
"coordinate": [
-2.7959566,
53.5548409
],
"serviceSeconds": 120
},
{
"id": "drop-a",
"coordinate": [
-2.7,
53.55
],
"serviceSeconds": 60
},
{
"id": "drop-b",
"coordinate": [
-2.638245,
53.541728
],
"serviceSeconds": 0
}
]
}Responses
| Status | Description |
|---|---|
200 | Successful, metered result. |
400 | Invalid request |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
422 | No route between two consecutive stops (route_unresolved). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Routing or traffic unavailable right now (routing_unavailable). Nothing is charged; retry with the same Idempotency-Key. |
200 response
application/json
| Field | Type | Description |
|---|---|---|
routeId required | string | |
requestId required | string | |
legs required | array of RouteLeg | One leg per pair of consecutive stops, in order. |
polyline required | array of Coordinate | |
distanceMetres required | number | at least 0 |
durationSeconds required | number or null | Driving time; null when a leg's time is unknown.at least 0 |
serviceSeconds required | number | Time spent at the stops (their serviceSeconds).at least 0 |
totalJourneySeconds required | number or null | durationSeconds plus serviceSeconds.at least 0 |
trafficAware required | boolean | |
guidanceVerified required | boolean |
{
"requestId": "dispatch-17",
"routeId": "multi-0123456789abcdef0123",
"legs": [
{
"index": 0,
"fromStopId": "depot",
"toStopId": "drop-a",
"distanceMetres": 8200,
"durationSeconds": 540,
"coordinateStartIndex": 0,
"coordinateEndIndex": 1
},
{
"index": 1,
"fromStopId": "drop-a",
"toStopId": "drop-b",
"distanceMetres": 5980.5,
"durationSeconds": 396.4,
"coordinateStartIndex": 1,
"coordinateEndIndex": 2
}
],
"polyline": [
[
-2.2426,
53.4808
],
[
-2.2301,
53.4862
],
[
-2.2144,
53.4931
]
],
"distanceMetres": 14180.5,
"durationSeconds": 936.4,
"serviceSeconds": 180,
"totalJourneySeconds": 1116.4,
"trafficAware": false,
"guidanceVerified": false
}Calculate an origin-destination matrix
POST /v1/route-matrix
Driving distance and time from every origin to every destination, without geometry. Rows follow the origins and cells the destinations, in request order. A cell is resolved, with distanceMetres and durationSeconds, or unresolved, with a reason: no_road_nearby (no road near one of the points) or no_route (no road route between them). status is complete when every cell is resolved, partial otherwise. Billed per resolved cell: unresolved cells are free, and Atlas-Usage-Units reports the cells billed.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
requestId required | string | 1 to 128 characters |
origins required | MatrixLocations | |
destinations required | MatrixLocations | |
profile required | "quickest" | "shortest" |
{
"requestId": "matrix-17",
"profile": "quickest",
"origins": [
{
"id": "depot",
"coordinate": [
-2.7959566,
53.5548409
]
}
],
"destinations": [
{
"id": "drop-a",
"coordinate": [
-2.7,
53.55
]
},
{
"id": "drop-b",
"coordinate": [
-2.638245,
53.541728
]
}
]
}Responses
| Status | Description |
|---|---|
200 | Successful, metered result. |
400 | Invalid request |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Routing or traffic unavailable right now (routing_unavailable). Nothing is charged; retry with the same Idempotency-Key. |
200 response
application/json
| Field | Type | Description |
|---|---|---|
status required | "complete" | "partial" | complete: every cell resolved; partial: some are unresolved. |
requestId required | string | |
matrixId required | string | |
profile required | "quickest" | "shortest" | |
rows required | array of object | One row per origin, in request order. |
rows[].originId required | string | |
rows[].cells required | array of RouteMatrixCell | One cell per destination, in request order. |
resolvedCells required | integer | at least 0 |
unresolvedCells required | integer | at least 0 |
trafficAware required | boolean |
{
"status": "complete",
"requestId": "matrix-17",
"matrixId": "matrix-0123456789abcdef0123",
"profile": "quickest",
"rows": [
{
"originId": "depot",
"cells": [
{
"destinationId": "drop-a",
"status": "resolved",
"distanceMetres": 8200,
"durationSeconds": 540
},
{
"destinationId": "drop-b",
"status": "resolved",
"distanceMetres": 11900,
"durationSeconds": 780
}
]
}
],
"resolvedCells": 2,
"unresolvedCells": 0,
"trafficAware": false
}Traffic along a route
POST /v1/traffic/route-advisory
One Traffic unit per delivered advisory. An advisory with no traffic evidence (`trafficCoverage` 0 and no incidents) is free: `Atlas-Usage-Units` is 0.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
requestId required | string (uuid) | |
routingPreference required | "traffic_unaware" | "traffic_aware" | "traffic_aware_optimal" | |
at | string (date-time) | |
snapshotId | string (uuid) | |
polyline required | array of Coordinate | 2 to 10000 items |
segments required | array of TrafficRouteSegment | 1 to 4096 items |
{
"requestId": "11111111-1111-4111-8111-111111111111",
"routingPreference": "traffic_aware",
"at": "2026-10-01T08:00:00+01:00",
"polyline": [
[
-2.7959566,
53.5548409
],
[
-2.7,
53.55
],
[
-2.638245,
53.541728
]
],
"segments": [
{
"segmentId": "way-100-forward",
"direction": "forward",
"startPolylinePointIndex": 0,
"endPolylinePointIndex": 2,
"distanceMeters": 14180.5,
"staticDurationSeconds": 936.4
}
]
}Responses
| Status | Description |
|---|---|
200 | Successful, metered result. |
400 | Invalid request |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Routing or traffic unavailable right now (routing_unavailable). Nothing is charged; retry with the same Idempotency-Key. |
200 response
application/json
| Field | Type | Description |
|---|---|---|
routeId required | string | |
staticDurationSeconds required | number | |
trafficDurationSeconds required | number or null | |
trafficCoverage required | number | 0 to 1 |
intervals required | array of object |
{
"requestId": "11111111-1111-4111-8111-111111111111",
"routingPreference": "traffic_aware",
"staticDurationSeconds": 936.4,
"durationSeconds": 1048.1,
"delaySeconds": 111.7,
"trafficCoverage": 0.82,
"snapshot": null,
"speedReadingIntervals": [
{
"startPolylinePointIndex": 0,
"endPolylinePointIndex": 2,
"state": "slow",
"currentSpeedKph": 35,
"freeFlowSpeedKph": 50,
"confidence": 0.9,
"observedAt": "2026-10-01T07:59:00+01:00"
}
],
"incidents": []
}Submit a resumable stop-order optimisation job
POST /v1/stop-optimizations
Send the travel times one of two ways. Put a `coordinate` on every stop and Atlas works them out itself, included in the job's price: they are never returned, only the chosen order and its schedule. Or send `matrix`, a route matrix you already have from POST /v1/route-matrix (billed when you bought it). Not both.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | UUID used as the durable optimisation job identity. Identical replay returns the existing job; conflicting reuse returns 409. e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
matrix | object | A route matrix you already have, from POST /v1/route-matrix as it came (status complete or partial), covering every pair of stops. Leave it out when every stop has a coordinate. |
vehicle required | object | |
startStopId required | string | |
endStopId required | string or null | |
stops required | array of object | 2 to 25 items |
stops[].coordinate | [number, number] | [longitude, latitude]. On every stop, or on none (then send `matrix`).2 to 2 items |
search required | object |
{
"vehicle": {
"capacity": 1200,
"initialLoad": 0
},
"startStopId": "depot",
"endStopId": "depot_return",
"stops": [
{
"id": "depot",
"coordinate": [
-2.2426,
53.4808
],
"serviceSeconds": 0,
"demandDelta": 0,
"timeWindow": {
"earliestJourneySeconds": 0,
"latestJourneySeconds": 28800
},
"lockedPosition": 0,
"pair": null
},
{
"id": "depot_return",
"coordinate": [
-2.2426,
53.4808
],
"serviceSeconds": 0,
"demandDelta": 0,
"timeWindow": {
"earliestJourneySeconds": 0,
"latestJourneySeconds": 28800
},
"lockedPosition": 1,
"pair": null
}
],
"search": {
"beamWidth": 128
}
}Responses
| Status | Description |
|---|---|
202 | Job admitted or idempotently replayed. |
400 | Invalid or unbounded request |
401 | Invalid or revoked API key |
402 | Billing inactive or allowance unavailable; payment required |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency conflict |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Worker storage unavailable |
202 response
application/json
{
"status": "queued",
"jobId": "11111111-1111-4111-8111-111111111111",
"replayed": false
}Read stop-order optimisation job status
GET /v1/stop-optimizations/{jobId}
Parameters
| Name | In | Type | Description |
|---|---|---|---|
jobId required | path | string (uuid) | |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Responses
| Status | Description |
|---|---|
200 | Current job state only: status (queued, running, complete or infeasible), jobId, depth and (for an infeasible job) failedPosition. The search frontier is never exposed, and the optimised order and schedule are returned only by GET /v1/stop-optimizations/{jobId}/result, which is where the job is charged. |
401 | Invalid or revoked API key |
402 | Billing inactive; payment required |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
404 | No such job for this organisation (job_not_found). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
200 response
application/json
{
"status": "running",
"jobId": "11111111-1111-4111-8111-111111111111",
"depth": 7
}Deliver a completed stop-order optimisation result
GET /v1/stop-optimizations/{jobId}/result
Parameters
| Name | In | Type | Description |
|---|---|---|---|
jobId required | path | string (uuid) | |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Responses
| Status | Description |
|---|---|
200 | Completed ordered stop result; usage is now delivered. |
401 | Invalid or revoked API key |
402 | Billing inactive; payment required |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
404 | No such job for this organisation (job_not_found). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Result remains queued or running |
422 | Constraints are infeasible; no partial route is returned |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
200 response
application/json
{
"status": "complete",
"jobId": "11111111-1111-4111-8111-111111111111",
"matrixId": "matrix-0123456789abcdef0123",
"orderedStopIds": [
"depot",
"depot_return"
],
"travelSeconds": 0,
"waitingSeconds": 0,
"serviceSeconds": 0,
"totalJourneySeconds": 0,
"search": {
"beamWidth": 128
},
"trafficAware": false
}List safety cameras in a viewport
GET /v1/cameras
Parameters
| Name | In | Type | Description |
|---|---|---|---|
west required | query | number | -180 to 180 |
south required | query | number | -90 to 90 |
east required | query | number | -180 to 180 |
north required | query | number | -90 to 90 |
limit | query | integer | 1 to 5000 · default 1000 |
Idempotency-Key | header | string (uuid) | Optional on reads. Send a UUID to make a retry a free replay of the same camera window; without one the server generates an ID (returned as Atlas-Request-Id) and each request is metered on its own. |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Responses
| Status | Description |
|---|---|
200 | The cameras in the viewport. Where a camera is comes from OpenStreetMap (source: mapped); whether it is switched on is not known (operationalStatus: unknown). |
400 | Invalid or oversized viewport |
401 | Invalid or revoked API key |
402 | Billing inactive; payment required |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with a different camera-window request |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Camera catalogue unavailable (camera_catalogue_unavailable), or routing unavailable (routing_unavailable). Nothing is charged. |
200 response
application/json: CameraWindow
Start a navigation leg
POST /v1/navigation/legs
Call when turn-by-turn guidance to a destination starts. One leg is one Navigation unit. Send its legId with every reroute to the same destination (POST /v1/routes) to have them included. End it on arrival or cancellation. A new destination is a new leg. On a multi-stop route each stop is a leg: start the first when guidance starts and each later one when the driver leaves the stop before it (the SDK sessions do this themselves), and reroute to the next stop with its legId.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
destination required | Coordinate |
{
"destination": [
-2.638245,
53.541728
]
}Responses
| Status | Description |
|---|---|
201 | Leg started and metered. |
400 | Invalid request. With legId: leg_invalid (unknown, foreign, ended or older than 24 hours) or leg_destination_mismatch (a new destination is a new leg). |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
201 response
application/json: NavigationLeg
{
"legId": "22222222-2222-4222-8222-222222222222",
"startedAt": "2026-11-29T18:00:00.000Z",
"expiresAt": "2026-11-30T18:00:00.000Z"
}End a navigation leg
POST /v1/navigation/legs/{legId}/end
Ends the leg; later reroutes with its legId are refused. Free and repeatable: ending an ended leg returns its first end.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
legId required | path | string (uuid) | |
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
reason | "arrived" | "cancelled" |
{
"reason": "arrived"
}Responses
| Status | Description |
|---|---|
200 | Leg ended. |
400 | Invalid request. With legId: leg_invalid (unknown, foreign, ended or older than 24 hours) or leg_destination_mismatch (a new destination is a new leg). |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
404 | No leg with this ID for this account |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
200 response
application/json
| Field | Type | Description |
|---|---|---|
legId required | string (uuid) | |
endedAt required | string (date-time) | |
reason required | "arrived" | "cancelled" | null |
{
"legId": "22222222-2222-4222-8222-222222222222",
"endedAt": "2026-11-29T18:41:12.000Z",
"reason": "arrived"
}Roads near a point, with speed limits
POST /v1/roads/nearby
Answers the free-drive roads_needed effect: pass its centre and radiusM, then hand the roads to setFreeDriveRoads.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string (uuid) | Unique per account (organisation) and logical request, compared case-insensitively; the same key from another organisation is a separate request. Conflicting reuse returns 409. A delivered response is replayed for 24 hours; after that, reusing the key returns 409 request_not_replayable (it is never charged twice). e.g. 11111111-1111-4111-8111-111111111111 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Request body
application/json
| Field | Type | Description |
|---|---|---|
centre required | Coordinate | |
radiusM required | number | 50 to 2000 |
{
"centre": [
-2.2426,
53.4808
],
"radiusM": 1000
}Responses
| Status | Description |
|---|---|
200 | Roads within radiusM, at most 20,000. |
400 | Invalid request. With legId: leg_invalid (unknown, foreign, ended or older than 24 hours) or leg_destination_mismatch (a new destination is a new leg). |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Idempotency key conflicts with different input |
413 | The JSON body is over its 1 MiB size limit (too_large). Nothing is charged. |
415 | The body was not sent as Content-Type: application/json (content_type). Nothing is charged. |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
503 | Road attributes are not available from this service |
200 response
application/json
| Field | Type | Description |
|---|---|---|
roads required | array of NearbyRoad | 0 to 20000 items |
{
"roads": [
{
"id": "osm-way-4243",
"coordinates": [
[
-2.2431,
53.4801
],
[
-2.2419,
53.4815
]
],
"name": "Deansgate",
"ref": "A56",
"highway": "primary",
"maxspeed": "30 mph",
"maxspeedForward": null,
"maxspeedBackward": null,
"oneway": null
}
]
}Current offline freshness ticket
GET /v1/offline/freshness
The signed ticket that keeps downloaded offline catalogues current. The SDK verifies its signature against the pinned key. No Idempotency-Key: repeat fetches by the same installation in a month are free, so retries are never billed twice.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Atlas-Installation required | header | string (uuid) | A random UUID the SDK creates once per installation and keeps (resettable; never a device identifier). Stored only as a digest keyed by your organisation. e.g. 33333333-3333-4333-8333-333333333333 |
Atlas-App | header | string | iOS bundle ID or Android package name of the calling app. Required with an app key; ignored with a server key. iOS bundle IDs match case-insensitively, Android package names exactly.0 to 255 characters e.g. uk.co.example.drive |
Atlas-App-Cert | header | string | Android only: SHA-256 of the app's signing certificate, 64 hex digits (colons allowed). Required when the key pins certificates for the package in Atlas-App. Sending it marks the request as Android.0 to 128 characters e.g. 3b0f1a9d4c2e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c |
Responses
| Status | Description |
|---|---|
200 | Ticket bytes, 98 + 32n bytes. Cache-Control: no-store. |
400 | Atlas-Installation is missing or not a UUID |
401 | Missing, invalid or revoked API key |
402 | Account billing is inactive or payment failed |
403 | The key doesn't include the feature this operation needs (capability_required, with the feature in capability: add it to the key in Atlas Studio), the organisation's plan doesn't include it, or an app key was used from an app that isn't listed on it (app_not_allowed). |
404 | No current freshness ticket is published |
405 | The path exists, but not with this HTTP method (method_not_allowed). |
409 | Request identity conflict (server-generated IDs make this rare) |
429 | Allowance or rate limit exceeded |
500 | Unexpected server error (internal_error). Nothing is charged; retrying with the same Idempotency-Key is safe. Quote requestId (also the Atlas-Request-Id header) to support. |
200 response
application/octet-stream: string (binary)
Schemas
Coordinate
[number, number]2 to 2 items
SpeedSection
object
| Field | Type | Description |
|---|---|---|
startSegmentIndex required | integer | at least 0 |
endSegmentIndex required | integer | at least 1 |
speedLimitMph required | number | more than 0 |
unit required | "mph" |
SpeedLimitCoverage
object
| Field | Type | Description |
|---|---|---|
segments required | integer | at least 0 |
resolved required | integer | at least 0 |
complete required | boolean |
LaneGuidance
Which lanes to use for this manoeuvre. Lanes are always listed left to right in the direction of travel, whichever side of the road the country drives on.
object
| Field | Type | Description |
|---|---|---|
source required | "none" | "mapped" | "inferred" | none: no lane picture (lanes may still be listed without a recommendation). mapped: from the road's lane tags. inferred: from the number of lanes and the manoeuvre's geometry. |
lanes required | array of object | Left to right in the direction of travel.0 to 32 items |
lanes[].index required | integer | 0 is the leftmost lane.at least 0 |
lanes[].indications | array of string | |
lanes[].destinations | array of string | |
recommendedLaneIndexes required | array of integer | Indexes into lanes that lead on to the route. |
preferredLaneIndex required | integer or null | The single best lane among recommendedLaneIndexes, or null.at least 0 |
drivingSide required | "left" | "right" | "unknown" |
GuidanceStep
One manoeuvre. Properties may be added; ignore ones you don't use.
object
| Field | Type | Description |
|---|---|---|
kind required | string | |
atMetres required | number | at least 0 |
instruction required | string | |
locale required | string | |
laneGuidance required | LaneGuidance | |
followingManoeuvre | one of FollowingManoeuvre, null | |
roadName | string or null | |
roadRef | string or null | |
exitNumber | string or null | Junction or roundabout exit number when known. |
signpost | one of object, null | What the exit's sign says (motorway exits). |
FollowingManoeuvre
object
| Field | Type | Description |
|---|---|---|
kind required | string | |
distanceMetres required | number | at least 0 |
roadName | string or null | |
roadRef | string or null |
Error
object
| Field | Type | Description |
|---|---|---|
error required | string | The error code, e.g. validation, route_unresolved or routing_unavailable (503: routing is unavailable right now; retry). |
message required | string | |
requestId required | string | The request's ID, also sent as the Atlas-Request-Id header on every response: the Idempotency-Key when one was sent, otherwise generated. |
retryAfterSeconds | integer | With 429 rate_limit (and a 503 whose wait is known): seconds to wait before trying again, the same as the Retry-After header.at least 0 |
capability | string | With 403 capability_required: the feature the key (or the organisation's plan) is missing, e.g. places. |
outsideCoverage | "origin" | "destination" | With 422 route_unresolved: that point is outside the area Atlas routes (the UK at launch). The SDKs report this as outside_coverage. |
issues | array of object | With 400 validation: which fields are wrong and why (never the values sent). |
issues[].path required | string | Dotted field path, e.g. stops.2.coordinate.1 |
issues[].message required | string | |
reason | "destination_unreachable_by_car" | "no_road_near_destination" | "revoked" | "expired" | With 422 route_unresolved, when the destination itself could not be reached: destination_unreachable_by_car, there are roads within searchRadiusMetres but a car can reach none of them (an island with no car ferry); no_road_near_destination, there is no road within searchRadiusMetres (a point in the sea; 0 when the destination is outside the area Atlas routes, with outsideCoverage). With 401 invalid_api_key, for the key's own holder: revoked (in Atlas Studio) or expired. |
searchRadiusMetres | number | With reason: how far from the destination the routing service looked for a road a car can reach.at least 0 |
methods | array of PortalStepUpMethod | With portal_reauthentication_required: the factors POST /v1/portal/auth/confirm accepts for this person (password; or with two-step sign-in on, totp and recovery_code). With portal_two_step_required: totp and recovery_code. |
stepUpSeconds | integer | With 403 portal_reauthentication_required: how long a confirmation counts (600).at least 1 |
MatrixLocations
array of object1 to 25 items
TrafficRouteSegment
object
| Field | Type | Description |
|---|---|---|
segmentId required | string | 1 to 256 characters |
direction required | "forward" | "backward" | |
startPolylinePointIndex required | integer | at least 0 |
endPolylinePointIndex required | integer | at least 1 |
distanceMeters required | number | at most 5000000 · more than 0 |
staticDurationSeconds required | number | at most 604800 · more than 0 |
EnforcementCamera
object
| Field | Type | Description |
|---|---|---|
id required | string | |
coordinate required | Coordinate | |
jurisdiction required | "England" | "Scotland" | "Wales" | "Northern Ireland" | |
kind required | "speed_camera" | "average_speed_camera" | "red_light_camera" | |
direction | string or null | |
speedLimitMph | integer or null | 1 to 90 |
source required | "mapped" | From the cameras mapped in OpenStreetMap. |
operationalStatus required | "unknown" | Whether the camera is switched on isn't known: treat every camera as possibly active. |
CameraWindow
object
| Field | Type | Description |
|---|---|---|
catalogId required | string | matches ^[0-9a-f]{64}$ |
count required | integer | 0 to 5000 |
cameras required | array of EnforcementCamera | 0 to 5000 items |
RoadTransportSegment
object
| Field | Type | Description |
|---|---|---|
mode required | "road" | |
status required | "routed" | |
coordinates required | array of Coordinate | 2 to any number of items |
distanceMetres required | number | at least 0 |
durationSeconds required | number or null | at least 0 |
FerryTransportSegment
object
| Field | Type | Description |
|---|---|---|
mode required | "vehicle_ferry" | |
status required | "scheduled" | |
wayId required | integer | at least 1 |
coordinates required | array of Coordinate | 2 to any number of items |
distanceMetres required | number | at least 0 |
durationSeconds required | number | at least 0 |
departureTime required | string (date-time) | |
arrivalTime required | string (date-time) | |
waitTimeSeconds required | number | at least 0 |
boardingCutoffSeconds required | number | at least 0 |
speedLimitStatus required | "not_applicable" | |
name | string or null | |
operator | string or null | |
serviceStatus | "unknown" | "operating" | "cancelled" | "suspended" | |
scheduleSource | object | Where the timetable came from, and when it was read. |
scheduleSource.url required | string (uri) | |
scheduleSource.retrievedAt required | string (date-time) |
FerryReadiness
Explicit retrospective replay only. Every current eligibility flag is false; a missing timetable source is said so (scheduleSourceStatus), never invented.
object
| Field | Type | Description |
|---|---|---|
mode required | "historical_replay" | |
checkedAt required | string (date-time) | |
operatorStatus required | "unknown" | |
scheduleSourceStatus required | "unavailable" | "incomplete" | "unverified" | Whether the sailings' timetable sources are known: for none, some, or all (still unverified). |
reasons required | array of string | |
sailings required | array of object | 0 to 128 items |
sailings[].wayId required | integer | at least 1 |
sailings[].departureTime required | string (date-time) | |
sailings[].arrivalTime required | string (date-time) | |
sailings[].boardingCutoffSeconds required | number | at least 0 |
sailings[].historicalCheckInClosesAt required | string (date-time) | |
sailings[].earliestCheckInUnverified required | true | |
sailings[].scheduleSource required | any of object, null | |
currentSailingVerified required | false | |
currentJourneyEligible required | false | |
vehicleEligibilityVerified required | false | |
bookingAvailabilityVerified required | false | |
terminalAccessVerified required | false | |
drivingApproved required | false |
DestinationAdjustment
Present only when the route does not end at the requested destination. No road within 150 m of the requested point could be reached by car (a pedestrianised centre, a park, a precinct), so the routing service widened its search to 300 m, then 600 m, and the route ends at the best place it found on foot: a public car park when one is about as near, never a motorway or slip road, a private road or a private car park. Show the customer where the route ends and how far it is to walk. With nothing a car can reach within 600 m the route is 422 route_unresolved with a reason instead.
object
| Field | Type | Description |
|---|---|---|
reason required | "pedestrian_area" | "no_road_nearby" | pedestrian_area: there are roads within 150 m but a car can reach none of them (a pedestrianised street or square). no_road_nearby: there is no road within 150 m (a park, a university precinct). |
requestedDestination required | Coordinate | |
routedDestination required | Coordinate | Where the route ends: the polyline's last point. |
distanceMetres required | number | Straight-line distance from the requested destination to where the route ends.0 to 600 |
walkingDistanceMetres required | number or null | Walking distance from where the route ends to the requested destination, along footways, pedestrian streets and pavements (OpenStreetMap). Null when the walking network isn't known there.at least 0 |
stoppingPlace required | "road" | "car_park" | "drop_off" | null | What the route stops at: a road, a public car park (OpenStreetMap amenity=parking or a car park aisle) or a drop-off point. Null when not known. |
stoppingPlaceName required | string or null | The car park's or drop-off point's name, when it has one. |
roadName required | string or null | The road the route ends on, when it has a name. |
NearbyRoad
The free-drive road shape the SDKs' setFreeDriveRoads accepts.
object
| Field | Type | Description |
|---|---|---|
id required | string | |
coordinates required | array of Coordinate | 2 to 5000 items |
name required | string or null | |
ref required | string or null | |
highway required | string or null | |
maxspeed required | string or null | OSM-style limit, e.g. "30 mph". null is unknown, never a guess. |
maxspeedForward required | string or null | Limit along the coordinates when it differs by direction. |
maxspeedBackward required | string or null | Limit against the coordinates when it differs by direction. |
oneway required | string or null | "yes": one way along the coordinates; "-1": against them; null or anything else: two-way. |
PortalUsageRow
One group. Only the grouped dimensions are present.
object
| Field | Type | Description |
|---|---|---|
day | string (date) | UTC day the request finished. |
capability | string | The feature (product), e.g. places. |
label | string | The feature's name in Studio, e.g. Places. |
operation | string | The metered operation, e.g. places.autocomplete. |
keyId | string (uuid) | |
keyName | string | |
keyPrefix | string | The key as lists show it (never its secret), e.g. atlas_sk_0123456789ab.matches ^atlas_(sk|ak|live)_[a-f0-9]{12}$ |
requests required | integer | Delivered requests.at least 0 |
units required | integer | Billing units of the delivered requests: what allowances and prices count.at least 0 |
failedRequests required | integer | Requests that failed. Never charged.at least 0 |
PortalUsageReport
object
| Field | Type | Description |
|---|---|---|
from required | string (date) | |
to required | string (date) | |
groupBy required | array of "day" | "product" | "operation" | "key" | 1 to 4 items |
timezone required | "UTC" | |
today required | string (date) | The current UTC day: its figures are partial. |
rows required | array of PortalUsageRow | 0 to 10000 items |
PortalUsageEstimate
object
| Field | Type | Description |
|---|---|---|
month required | string | matches ^\d{4}-\d{2}$ |
periodStart required | string (date-time) | |
periodEnd required | string (date-time) | |
monthComplete required | boolean | False while the month is in progress: the figures are month to date. |
estimate required | true | |
basis required | "catalogue_proposal" | Priced from the feature catalogue's proposed prices. |
currency required | "GBP" | |
billingStatus required | string or null | The organisation's billing status, e.g. trialing. |
lines required | array of object | |
lines[].capability required | string | |
lines[].label required | string | |
lines[].unit required | string | What one unit is, from the catalogue. |
lines[].operations required | array of string | |
lines[].units required | integer | at least 0 |
lines[].freeUnitsPerMonth required | integer | at least 0 |
lines[].freeUnitsUsed required | integer | Units the month's free allowance covered.at least 0 |
lines[].billableUnits required | integer | at least 0 |
lines[].gbpPer1000 required | number | at least 0 |
lines[].amountPence required | integer | Rounded to the nearest penny.at least 0 |
unpriced required | array of object | |
unpriced[].capability required | string | |
unpriced[].label required | string | |
unpriced[].unit required | string | What one unit is, from the catalogue. |
unpriced[].operations required | array of string | |
unpriced[].units required | integer | at least 0 |
unpriced[].reason required | "price_not_set" | "allowance_not_set" | "not_in_catalogue" | |
totalPence required | integer | The sum of the priced lines. Excludes unpriced usage and any VAT.at least 0 |
notes required | array of string | Plain-English caveats to show with the estimate. |
PortalAuditEvent
object
| Field | Type | Description |
|---|---|---|
id required | string (uuid) | |
action required | string | |
targetType required | string | |
targetId required | string | |
actor required | one of object, null | |
createdAt required | string (date-time) | |
detailSha256 required | string | SHA-256 of the event's canonical detail; the detail itself is not kept.matches ^[a-f0-9]{64}$ |
PortalAuditEventPage
object
| Field | Type | Description |
|---|---|---|
events required | array of PortalAuditEvent | 0 to 200 items |
nextCursor required | string or null | Pass as `cursor` for the next page; null on the last page. |
PortalRole
"owner" | "admin" | "developer" | "billing" | "viewer"
PortalSignInRequest
The password, and with two-step sign-in on, a code or a recovery code (not both) in the same request.
object
| Field | Type | Description |
|---|---|---|
email required | string (email) | Compared without regard to case.0 to 254 characters |
password required | string | 1 to 128 characters |
code | PortalTotpCode | |
recoveryCode | PortalRecoveryCode |
PortalSignUpRequest
object
| Field | Type | Description |
|---|---|---|
email required | string (email) | Compared without regard to case.0 to 254 characters |
password required | string | 12 to 128 characters |
organisationName required | string | No control characters.1 to 160 characters |
botCheckToken | string | Cloudflare Turnstile's response token. Required when the service has a Turnstile secret configured.0 to 2048 characters |
termsVersion required | string | The version of the terms the person accepts, from GET /v1/portal/auth/sign-up (termsVersion). Recorded with the time and the request's IP address. Missing: 400 portal_terms_required; another version: 409 portal_terms_changed.0 to 40 characters |
PortalEmailRequest
object
| Field | Type | Description |
|---|---|---|
email required | string (email) | Compared without regard to case.0 to 254 characters |
botCheckToken | string | Cloudflare Turnstile's response token. Required when the service has a Turnstile secret configured.0 to 2048 characters |
PortalTokenRequest
object
| Field | Type | Description |
|---|---|---|
token required | string | The token after #token= in the emailed link. Studio's page reads it from the fragment and posts it here.matches ^[A-Za-z0-9_-]{43}$ |
PortalPasswordResetConfirm
object
| Field | Type | Description |
|---|---|---|
token required | string | The token after #token= in the emailed link. Studio's page reads it from the fragment and posts it here.matches ^[A-Za-z0-9_-]{43}$ |
password required | string | 12 to 128 characters |
PortalPasswordChangeRequest
object
| Field | Type | Description |
|---|---|---|
currentPassword required | string | 1 to 128 characters |
newPassword required | string | 12 to 128 characters |
PortalCheckEmail
The same answer whether or not the address has an account.
object
| Field | Type | Description |
|---|---|---|
status required | "check_email" | |
message required | string |
PortalWorkspaceSummary
object
| Field | Type | Description |
|---|---|---|
id required | string (uuid) | |
name required | string | |
slug required | string | |
role required | PortalRole |
PortalUser
object
| Field | Type | Description |
|---|---|---|
id required | string (uuid) | |
email required | string (email) |
PortalSessionTimes
object
| Field | Type | Description |
|---|---|---|
csrfToken required | string | Send in Atlas-CSRF-Token on state-changing requests. Keep it in memory; GET /v1/portal/auth/session returns it again after a reload.matches ^[A-Za-z0-9_-]{43}$ |
expiresAt required | string (date-time) | The absolute end of the session. |
idleExpiresAt required | string (date-time) | When the session ends unless another request is made first (never after expiresAt). |
idleTimeoutSeconds required | integer | at least 60 |
PortalStudioSession
A signed-in Studio session. The session secret itself is only in the Set-Cookie header, never in a body.
object
PortalDeprecatedLogin
object
| Field | Type | Description |
|---|---|---|
token required | string | matches ^atlas_portal_[a-f0-9]{12}\.[A-Za-z0-9_-]{32}$ |
expiresAt required | string (date-time) | |
workspaces required | array of PortalWorkspaceSummary | 0 to 100 items |
truncated required | boolean |
PortalMember
object
| Field | Type | Description |
|---|---|---|
userId required | string (uuid) | |
email required | string (email) | |
role required | PortalRole | |
joinedAt required | string (date-time) | |
twoStep required | boolean or null | Whether they have two-step sign-in on. Shown to owners and admins; null for everyone else. |
PortalRoleRequest
object
| Field | Type | Description |
|---|---|---|
role required | PortalRole |
PortalInvitationRequest
object
| Field | Type | Description |
|---|---|---|
email required | string (email) | Compared without regard to case.0 to 254 characters |
role required | PortalRole |
PortalInvitation
A pending invitation. Its link is sent by email only, never returned.
object
| Field | Type | Description |
|---|---|---|
id required | string (uuid) | |
email required | string (email) | |
role required | PortalRole | |
invitedBy required | object | |
invitedBy.userId required | string (uuid) | |
invitedBy.email required | string (email) or null (email) | |
createdAt required | string (date-time) | |
expiresAt required | string (date-time) |
PortalInvitationAccept
object
| Field | Type | Description |
|---|---|---|
token required | string | The token after #token= in the emailed link. Studio's page reads it from the fragment and posts it here.matches ^[A-Za-z0-9_-]{43}$ |
password | string | Only to create an account for the invited address (no account yet, not signed in). Omit when accepting while signed in.12 to 128 characters |
termsVersion | string | With a password (creating an account): the terms version accepted, as at sign-up; required then, and recorded with the time and IP address.0 to 40 characters |
PortalCapability
A feature (product) a key may carry; the names keys, usage and the catalogue use.
"core_routing" | "route_matrix" | "fleet_optimization" | "hgv_routing" | "special_vehicle_routing" | "curvy_routing" | "places" | "traffic" | "map_tiles" | "safety_cameras" | "navigation" | "road_attributes" | "offline"
AppRestrictions
The apps an app key works from: requests must name one in Atlas-App (and, for an Android app with certificates listed, Atlas-App-Cert). A deterrent against reuse of a leaked key, not proof of the calling app.
object
| Field | Type | Description |
|---|---|---|
iosBundleIds | array of string | Compared case-insensitively; duplicates are dropped.0 to 10 items · default [] |
androidApps | array of object | Each package at most once.0 to 10 items · default [] |
androidApps[].packageName required | string | 3 to 255 characters · matches ^[A-Za-z][A-Za-z0-9_]*(\.[A-Za-z][A-Za-z0-9_]*)+$ |
androidApps[].certificateSha256 | array of string | Signing certificate SHA-256s. Play Console's AA:BB:… form is accepted; stored and returned as 64 lowercase hex digits. Empty: any certificate.0 to 5 items · default [] |
PortalCredentialRequest
object
| Field | Type | Description |
|---|---|---|
name required | string | Only your team sees it.1 to 120 characters |
scopes required | array of PortalCapability | The features the key may use; each must be switched on for the organisation (PortalFeature.entitled).1 to 32 items |
kind required | "server" | "app" | Server keys stay on your servers; app keys ship in iOS and Android apps. It can't be changed later. |
restrictions | AppRestrictions | App keys only, with at least one iOS bundle ID or Android package. Server keys take none. |
expiresAt | one of string (date-time), null | Optional expiry; none by default. |
PortalIssuedCredential
The only response that ever contains a usable key. Atlas keeps only a salted hash of the secret.
object
| Field | Type | Description |
|---|---|---|
id required | string (uuid) | |
name required | string | 1 to 120 characters |
prefix required | string | The key's public lookup ID.matches ^[a-f0-9]{12}$ |
tokenPrefix required | string | The key as lists show it (never its secret), e.g. atlas_sk_0123456789ab; atlas_live_ for keys issued before December 2026.matches ^atlas_(sk|ak|live)_[a-f0-9]{12}$ |
scopes required | array of PortalCapability | 0 to 32 items |
kind required | "server" | "app" | |
restrictions required | one of AppRestrictions, null | |
expiresAt required | one of string (date-time), null | When it stops working: its own expiry, or 7 days after it was rotated. |
businessId required | string (uuid) | |
secret required | string | The whole key, shown once: atlas_sk_<id>_<secret><checksum> or atlas_ak_<id>_<secret><checksum>. Send it as X-Atlas-Key. |
reveal required | "one_time" | |
replacedKeyId | string (uuid) | Rotation only: the key this one replaces. |
replacedKeyExpiresAt | string (date-time) | Rotation only: when the replaced key stops working. |
PortalFeature
object
| Field | Type | Description |
|---|---|---|
capability required | PortalCapability | |
label required | string | |
description required | string | |
prices required | array of object | 1 to 8 items |
prices[].unit required | string | What one billing unit is. |
prices[].operations required | array of string | Usage operations this price line covers. |
prices[].freeUnitsPerMonth required | integer or null | Free units per organisation per month; null while undecided.at least 0 |
prices[].gbpPer1000 required | number or null | Proposed first-band price in GBP per 1,000 units, before VAT; null while undecided.at least 0 |
priceStatus required | "proposal" | Every price is a proposal, not an offer. |
meter required | "live" | "planned" | live: metered today. planned: selectable, not metered yet. |
appKeys required | boolean | App keys may carry this feature. |
entitled required | boolean | This organisation may put the feature on its keys. |
stage | "beta" | "planned" | beta: on sale, labelled beta. planned: coming later, not on sale and never on the Build plan. Absent: on sale. |
PortalWorkspaceSnapshot
object
| Field | Type | Description |
|---|---|---|
account required | object | |
account.id required | string (uuid) | |
account.name required | string | |
account.slug required | string | |
account.role required | PortalRole | Your role in this organisation. |
account.billingStatus required | string or null | |
account.currentPeriodEnd required | one of string (date-time), null | |
account.plan required | string or null | build or trial_14_day for a self-serve sign-up; null for an organisation Meridian set up. |
account.requireTwoStep required | boolean | Everyone in the organisation must use two-step sign-in (owners set it: PATCH …/security). |
projects required | array of object | 0 to 100 items |
projects[].id required | string (uuid) | |
projects[].name required | string | |
projects[].useCase required | string | |
projects[].region required | "United Kingdom" | |
projects[].status required | "active" | "archived" | |
credentials required | array of object | Keys, newest first (never their secrets).0 to 200 items |
credentials[].id required | string (uuid) | |
credentials[].name required | string | 1 to 120 characters |
credentials[].prefix required | string | The key's public lookup ID.matches ^[a-f0-9]{12}$ |
credentials[].tokenPrefix required | string | The key as lists show it (never its secret), e.g. atlas_sk_0123456789ab; atlas_live_ for keys issued before December 2026.matches ^atlas_(sk|ak|live)_[a-f0-9]{12}$ |
credentials[].scopes required | array of string | 0 to 32 items |
credentials[].kind required | "server" | "app" | |
credentials[].restrictions required | one of AppRestrictions, null | |
credentials[].expiresAt required | one of string (date-time), null | When it stops working: its own expiry, or 7 days after it was rotated. |
credentials[].status required | "active" | "revoked" | |
credentials[].createdAt required | string (date-time) | |
credentials[].lastUsedAt required | one of string (date-time), null | |
credentials[].replacedByKeyId required | string (uuid) or null (uuid) | Set once rotated: this key keeps working until expiresAt. |
profiles required | array of object | 0 to 100 items |
profiles[].profileId required | string | |
profiles[].label required | string | |
profiles[].revision required | integer | at least 0 |
profiles[].vehicleType required | string | |
profiles[].heightMetres required | number or null | |
usage required | array of object | This month's usage package per feature.0 to 32 items |
usage[].capability required | string | |
usage[].periodStart required | string (date-time) | |
usage[].periodEnd required | string (date-time) | |
usage[].includedUnits required | integer | at least 0 |
usage[].usedUnits required | integer | at least 0 |
usage[].reservedUnits required | integer | at least 0 |
usage[].hardLimitUnits required | integer or null | at least 0 |
usage[].overageEnabled required | boolean | |
usage[].requestsPerMinute required | integer | Per key and feature.at least 1 |
usage[].lines required | array of object | Caps on the billing lines inside the feature's package (the Build plan's Places lines: searches, autocomplete, details, photos). Empty: the feature's cap is the only one.0 to 8 items |
usage[].lines[].unit required | string | |
usage[].lines[].operations required | array of string | |
usage[].lines[].limitUnits required | integer | at least 0 |
usage[].lines[].usedUnits required | integer | at least 0 |
features required | array of PortalFeature | Every selectable feature, its proposed price and whether this organisation may use it.0 to 64 items |
truncated required | boolean | A list was cut at its limit. |
policy required | object | |
policy.projectRuntimeIsolation required | false | |
policy.clientRestrictionEnforcement required | true | |
policy.credentialIssuance required | "self_serve" |
PortalOrganisationUpdate
object
| Field | Type | Description |
|---|---|---|
name required | string | 1 to 160 characters |
PortalVerifyEmailRequest
The token from the sign-up email's link and the password chosen at sign-up. Asking for the password again means a sign-up someone else started for this address (with their password) can't become this person's account.
object
| Field | Type | Description |
|---|---|---|
token required | string | The token after #token= in the emailed link. Studio's page reads it from the fragment and posts it here.matches ^[A-Za-z0-9_-]{43}$ |
password required | string | The password chosen when signing up.1 to 128 characters |
PortalSignUpTerms
object
| Field | Type | Description |
|---|---|---|
plan required | object | |
plan.name required | string | |
plan.billingStatus required | "trialing" | "active" | |
plan.periodDays required | integer or null | Days the plan lasts; null: no end (the Build plan). |
plan.features required | array of object | The monthly allowance and hard cap per feature a new organisation gets (empty for the trial: Meridian switches features on). |
plan.features[].capability required | PortalCapability | |
plan.features[].includedUnits required | integer | at least 0 |
plan.features[].hardLimitUnits required | integer or null | at least 0 |
termsVersion required | string | |
emailAvailable required | boolean | Whether this service can send email. false: sign-up, resend, reset and invitations answer 503 portal_email_unavailable (no email provider is set up), so Studio says so before anyone fills in a form. |
RouteLeg
The drive from one stop to the next.
object
| Field | Type | Description |
|---|---|---|
index required | integer | at least 0 |
fromStopId required | string | |
toStopId required | string | |
distanceMetres required | number | at least 0 |
durationSeconds required | number or null | at least 0 |
coordinateStartIndex required | integer | The leg's first point in the route's polyline.at least 0 |
coordinateEndIndex required | integer | The leg's last point in the route's polyline (the next leg starts here).at least 0 |
speedSections | array of SpeedSection | Segment indexes count from the leg's first point. |
speedLimitCoverage | SpeedLimitCoverage | |
guidance | array of GuidanceStep | |
guidanceAvailable | boolean |
RouteMatrixCell
object
| Field | Type | Description |
|---|---|---|
destinationId required | string | |
status required | "resolved" | "unresolved" | |
reason | "no_road_nearby" | "no_route" | Unresolved cells only: why there is no route. |
distanceMetres required | number or null | at least 0 |
durationSeconds required | number or null | at least 0 |
PortalStepUpMethod
What a step-up was confirmed with. With two-step sign-in on, only totp (a code from the authenticator app) and recovery_code count.
"password" | "totp" | "recovery_code"
PortalStepUpRequest
Exactly one factor: the password, or with two-step sign-in on, a code from the authenticator app or a recovery code (and then only those).
one of object, object, object
PortalStepUpConfirmed
object
| Field | Type | Description |
|---|---|---|
confirmed required | true | |
method required | PortalStepUpMethod | |
stepUpAt required | string (date-time) | |
stepUpExpiresAt required | string (date-time) | 10 minutes after stepUpAt: risky actions need another confirmation after this. |
PortalTotpCode
The 6-digit code an authenticator app shows (TOTP, RFC 6238: SHA-1, 30 seconds). Spaces are ignored. A code from the step before or after now is accepted; a step already used is never accepted again.
string0 to 20 characters · matches ^\s*(\d\s*){6}$
PortalRecoveryCode
One of the ten recovery codes (12 characters of Crockford's base32, shown as abcd-efgh-2345). Case, spaces and hyphens don't matter. Each works once.
string0 to 40 characters
PortalTwoStepSummary
object
| Field | Type | Description |
|---|---|---|
enabled required | boolean | Two-step sign-in is on for this person. |
required required | boolean | An organisation they're in requires it. Until it's on, every organisation route answers 403 portal_two_step_enrolment_required. |
PortalTwoStepStatus
object
| Field | Type | Description |
|---|---|---|
enabled required | boolean | |
enabledAt required | one of string (date-time), null | |
recoveryCodesLeft required | integer | 0 to 10 |
required required | boolean | An organisation they're in requires it, so it can't be turned off. |
requiredBy required | array of object | 0 to 100 items |
requiredBy[].id required | string (uuid) | |
requiredBy[].name required | string |
PortalTwoStepSetup
The authenticator secret, in this response only: it is never returned again, logged or put in an audit entry. It's stored sealed (AES-256-GCM under a server key).
object
| Field | Type | Description |
|---|---|---|
secret required | string | 160 random bits in base32, to type into the app.matches ^[A-Z2-7]{32}$ |
otpauthUri required | string | The otpauth://totp/ link for the QR code (SHA-1, 6 digits and 30 seconds, the defaults). |
issuer required | "Meridian Atlas" | |
account required | string (email) | |
expiresAt required | string (date-time) | Enable it with a code before this (30 minutes), or start again. |
PortalTwoStepEnableRequest
object
| Field | Type | Description |
|---|---|---|
code required | PortalTotpCode |
PortalRecoveryCodes
Ten single-use recovery codes, in this response only (only hashes are kept). Any earlier set stops working.
object
| Field | Type | Description |
|---|---|---|
recoveryCodes required | array of string | 10 to 10 items |
recoveryCodesLeft required | 10 |
PortalTwoStepEnabled
any
PortalSecurityRequest
object
| Field | Type | Description |
|---|---|---|
requireTwoStep required | boolean |
PortalSecurityResult
object
| Field | Type | Description |
|---|---|---|
requireTwoStep required | boolean | |
membersWithoutTwoStep required | integer | Members who'll be asked to set it up before they can do anything else.at least 0 |
PortalTwoStepOff
object
| Field | Type | Description |
|---|---|---|
enabled required | false |
PortalTwoStepReset
object
| Field | Type | Description |
|---|---|---|
reset required | true | |
userId required | string (uuid) |