Tiles API
Listet die Tilesets, beschreibt jedes als TileJSON und liefert Kacheln als {z}/{x}/{y}. Jedes Produkt gibt es zusätzlich als PMTiles-Datei, siehe Tilesets.
Basis-URL: https://api.mapx.at · Rate-Limit-Zone: search (10/s), tiles (100/s) · Guide: Karten
List tilesets
GET /v1/tiles
Name, aliases, type (vector, raster, dem), format, zoom range, bounds, TileJSON URL, attribution and data date (stand) per tileset. Old German names (basis, kataster, hoehenlinien, relief, dop, dop_flugblock) are listed under aliases and remain valid until 2027-05-31 (responses carry Deprecation, Sunset and Link headers).
Beispiel
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.mapx.at/v1/tiles" | jqBeispielantwort
{
"tilesets": [
{
"name": "streets",
"aliases": [
"basis"
],
"type": "vector",
"format": "pbf",
"tilejson": "https://api.mapx.at/v1/tiles/streets.json",
"minzoom": 0,
"maxzoom": 14,
"bounds": [
9.5,
46.3,
17.2,
49.1
],
"attribution": "...",
"stand": "2026-10-01"
}
]
}Fehler (Details: Fehlerkatalog)
| Status | Bedeutung |
|---|---|
401 | Token fehlt oder ungültig (missing-token, invalid-token, token-expired) |
403 | Token nicht erlaubt (origin-not-allowed, origin-missing, pk-not-allowed, app-not-allowed, token-blocked, ip-not-allowed) |
429 | Rate-Limit überschritten, Retry-After abwarten |
TileJSON 3.0.0
GET /v1/tiles/{tileset}.json
TileJSON of a tileset (names from /v1/tiles, plus dtm and dsm). ETag/Last-Modified, If-None-Match gives 304.
Parameter
| Name | Ort | Typ | Pflicht | Standard | Beschreibung |
|---|---|---|---|---|---|
tileset | path | string | ja | – | Tileset name |
Beispiel
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.mapx.at/v1/tiles/streets.json" | jqBeispielantwort
{
"tilejson": "3.0.0",
"name": "streets",
"tiles": [
"https://tiles.mapx.at/v1/tiles/streets/{z}/{x}/{y}.pbf"
],
"minzoom": 0,
"maxzoom": 14,
"bounds": [
9.5,
46.3,
17.2,
49.1
]
}Fehler (Details: Fehlerkatalog)
| Status | Bedeutung |
|---|---|
401 | Token fehlt oder ungültig (missing-token, invalid-token, token-expired) |
403 | Token nicht erlaubt (origin-not-allowed, origin-missing, pk-not-allowed, app-not-allowed, token-blocked, ip-not-allowed) |
404 | Nicht gefunden (Name, Pfad oder Position) |
429 | Rate-Limit überschritten, Retry-After abwarten |
XYZ tile
GET /v1/tiles/{tileset}/{z}/{x}/{y}.{ext}
ext must match the tile type: pbf (alias mvt) for vector, webp, png or jpg for raster. Missing tile or wrong extension: 404 problem+json. Vector tiles are gzip-compressed (Content-Encoding: gzip, decompressed if the client does not accept gzip). ETag from the file hash, If-None-Match gives 304, Cache-Control: public.
Parameter
| Name | Ort | Typ | Pflicht | Standard | Beschreibung |
|---|---|---|---|---|---|
tileset | path | string | ja | – | Tileset name, see /v1/tiles |
z | path | integer | ja | – | Zoom level |
x | path | integer | ja | – | Tile column |
y | path | integer | ja | – | Tile row |
ext | path | string | ja | – | pbf, mvt, webp, png or jpg |
Beispiel
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.mapx.at/v1/tiles/streets/14/8937/5681.pbf" -o result.pngBeispielantwort: application/vnd.mapbox-vector-tile, image/webp, image/png, image/jpeg · Tile
Fehler (Details: Fehlerkatalog)
| Status | Bedeutung |
|---|---|
304 | Nicht geändert (mit If-None-Match) |
400 | Parameter fehlt oder ist ungültig |
401 | Token fehlt oder ungültig (missing-token, invalid-token, token-expired) |
403 | Token nicht erlaubt (origin-not-allowed, origin-missing, pk-not-allowed, app-not-allowed, token-blocked, ip-not-allowed) |
404 | Nicht gefunden (Name, Pfad oder Position) |
429 | Rate-Limit überschritten, Retry-After abwarten |
Playground
curl
Antwort erscheint hier.