Skip to content

Maps API

Generally available

Interactive base maps via a style and vector/raster tiles.

Render interactive maps with a MapLibre-compatible style document and tiles served from Airfree’s map graph. Point a renderer at the style URL; it loads tiles and glyphs same-origin.

GET/maps/style/airfree/style.json

Fetch the Airfree base-map style document.

Parameters

NameInReqDescription
X-API-KeyheaderyesYour API key.

Responses

  • 200 — MapLibre style JSON.
  • 401 — Missing or invalid key.
curl "https://airfreemap.com/api/v1/maps/style/airfree/style.json" -H "X-API-Key: $AIRFREE_MAPS_KEY"