Public Tile
GET /v1/tiles/{source}/{z}/{x}/{y} · X-API-Key
GET
/v1/tiles/{source}/{z}/{x}/{y}Public Tile
Vector tile bytes. Empty tiles return 204. Accepts ?api_key=.
- Credential
X-API-Key- Plane
https://api.bardiyamap.com- Billing
- 0 credits
- Operation id
getTile
Tile requests carry the key as ?api_key= because MapLibre cannot attach request headers to tile fetches. Treat a tile URL as a credential.
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
source | string | yes | Tile source name from the style document. An unknown source returns 404, not an empty tile. |
x | string | yes | Tile column in the XYZ scheme. |
y | string | yes | Tile row in the XYZ scheme. |
z | string | yes | Zoom level. Out-of-range values are rejected, never clamped. |
Header parameters
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | null | no | Opaque key that makes a retried POST safe. Reuse the same value for every retry of the same intent; a new value is a new chargeable operation. |
Request example
shell
curl "https://api.bardiyamap.com/v1/tiles/roads/12/2450/1655" \
-H "X-API-Key: $BARDIYA_API_KEY"Response 200
Errors
| Status | Meaning |
|---|---|
400 | Request is malformed or a parameter is out of range |
401 | Missing or invalid credential |
403 | Credential is valid but lacks the required scope, or the request origin is not allowed |
404 | Resource not found or not visible to this credential's organization |
422 | Validation Error |
429 | Rate limit or quota exceeded; honour `Retry-After` |
503 | The upstream provider is temporarily unavailable |
Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.
GET /v1/tiles/{source}/{z}/{x}/{y} is part of the Maps group. Values on this page are generated from contract version 1.1.0.
