- Home
- Docs
- API reference
- Region coverage metadata
API reference
Region coverage metadata
Returns the active coverage regions, boundary bounding boxes, and map build versions. Authentication is optional.
Endpoint
GET
Publichttps://api.wayline.cloud/v1/coverageNo authentication required. Billing: see units & pricing.
Response
200 — Active coverage regions.
| Field | Type | Description |
|---|---|---|
regionsrequired | RegionInfo[] | |
regions[].coderequired | string | |
regions[].namerequired | string | |
regions[].enabledrequired | boolean | |
regions[].bounding_boxrequired | number[] | Bounding box coordinates [min_lat, min_lng, max_lat, max_lng]. |
regions[].map_versionrequired | string | |
regions[].osm_timestamp | string | |
regions[].profilesrequired | string[] | Routing profiles served in this region. |
Response headers
X-Request-Id— Unique identifier for tracking and debugging this request.
Errors
| Status | When |
|---|---|
400 | Bad request (invalid coordinates, out of coverage, too many elements, etc.). |
401 | Missing or invalid API key, or expired key. |
402 | Free quota exhausted, no payment method, account suspended, or the monthly spend limit you set was reached. Never billed. Raise or remove the limit in the dashboard (Billing) and retry; nothing else changes. |
403 | Account disabled, key IP restriction failed, origin not allowed, or scope not permitted. |
429 | Rate limit exceeded or test key daily quota reached. |
500 | Internal server error. |
503 | Upstream routing service temporarily unavailable. |
Error bodies contain a code such as OUT_OF_COVERAGE — see the error reference.
Try it
Interactive API Console
Sends a real request from your browser using a test key (free, never billed). The key stays in this browser tab only.
No key yet? Create a free test key.