Skip to content
Documentation menu
docs / api / get-v1-zones
Routing

GET/v1/zones

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Needs a full key; a browser (maps) key is refused.
Price1 call per request. Class: standard. Published as unit_rules.default in /pricing.json.

What it does

The curated UK zone dataset, with provenance.

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: 1 call per request.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/zones" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
geometryquerybooleannoInclude each zone's simplified boundary ring (off by default)

Responses

200The curated UK clean-air / low-emission zone dataset: version, generated, a scope note, and zones[]; each with its scheme, operator, operating hours, the vehicle categories it charges or bans with the minimum Euro standard and the daily amount, the penalty regime for ban zones, and separate provenance (publisher, URL, licence, checked date) for the schedule and for the boundary geometry
FieldTypeRequiredDescription
caveatsstringnoLimits of the data.
coveragestringnoArea covered, e.g. United Kingdom.
generatedstringnoWhen the dataset was generated.
notestringnoWhat the dataset is and where its figures come from.
versionintegernoDataset format version.
zonesobject[]noEvery zone: scheme, operating hours, the vehicle categories it charges or bans with the minimum Euro standard and the daily amount, and the sources for charges and boundary (add geometry=true for the boundary rings).

Example: Recorded from the hosted gateway on 2026-11-05 with a test key: GET /v1/zones; lists trimmed to their first items

json
{
  "caveats": "Zone boundaries are simplified from the published geometry to the tolerance stated on each zone, so a route running within that distance of a boundary may be classified either way. Charges are the published daily amounts as at each zone's `checked` date, quoted per zone per day and never summed into any routing cost; a vehicle crossing the same zone twice in a day pays once, and this estimate does not model residency, disability, historic-vehicle or trade exemptions, discounts, or accounts you may already hold. Verify against the cited source before relying on a figure.",
  "coverage": "United Kingdom",
  "generated": "2026-09-03",
  "note": "UK clean-air and low-emission zones. Charge schedules are typed from each authority's own published page and carry the date a human last checked them; boundaries are fetched from the publisher's open data and simplified to the tolerance recorded on each zone. Schedules change without notice: verify against the cited source before relying on a figure. Rebuild with scripts/build-uk-emission-zones.py.",
  "version": 1,
  "zones": [
    {
      "boundary": {
        "area_share_kept": null,
        "bbox": [
          -2.113573,
          57.139901,
          -2.088483,
          57.150398
        ],
        "parts_discarded": 0,
        "perimeter_m": 5622.3,
        "simplified_tolerance_m": 10,
        "source": {
          "checked": "2026-09-03",
          "licence": "not stated on the item or the service",
          "publisher": "Aberdeen City Council",
          "url": "https://services5.arcgis.com/0sktPVp3t1LvXc9z/arcgis/rest/services/LEZ_Low_Emission_Zone/FeatureServer/52"
        },
        "vertices": 44
      },
      "currency": "GBP",
      "enforcement": "ban",
      "hours": "24 hours a day, 7 days a week, all year round, including public holidays such as Christmas Day",
      "id": "gb-aberdeen-lez",
      "name": "Aberdeen Low Emission Zone",
      "operator": "Aberdeen City Council",
      "penalty": "There is no daily charge and no way to pay to enter: a non-compliant vehicle is prohibited. A first contravention is a £60 penalty charge, reduced to £30 if paid within 14 days. It doubles for each further contravention of the same zone by the same vehicle within 90 days, capped at £480 for cars and light goods vehicles and £960 for minibuses, buses, coaches and HGVs, and resets to £60 after 90 days with no contravention.",
      "rules": [
        {
          "categories": [
            "car",
            "van",
            "minibus",
            "hgv",
            "bus",
            "coach",
            "taxi",
            "phv",
            "motorhome"
          ],
          "daily_charge": null,
          "escalations": [],
          "min_euro": {
            "diesel": 6,
            "petrol": 4
          },
          "note": "Cars and vans (M1, N1): Euro 6 diesel, Euro 4 petrol. Buses, coaches, minibuses and HGVs (M2, M3, N2, N3): Euro VI diesel, Euro IV petrol: numerically the same thresholds. Fully electric vehicles are compliant. Motorcycles and mopeds are outside the regulations entirely. Standards from mygov.scot; the four zones share one statutory standard."
        }
      ],
      "source": {
        "checked": "2026-09-03",
        "licence": "Open Government Licence v3.0",
        "publisher": "Aberdeen City Council",
        "url": "https://www.mygov.scot/low-emission-zones/vehicles"
      },
      "type": "scottish_lez"
    },
    {
      "boundary": {
        "area_share_kept": null,
        "bbox": [
          -2.378679,
          51.373935,
          -2.341229,
          51.392761
        ],
        "parts_discarded": 0,
        "perimeter_m": 11093.5,
        "simplified_tolerance_m": 50,
        "source": {
          "checked": "2026-09-03",
          "licence": "Open Government Licence v3.0",
          "publisher": "West of England Combined Authority, for Bath and North East Somerset Council",
          "url": "https://opendata.westofengland-ca.gov.uk/explore/dataset/weca_caz/"
        },
        "vertices": 50
      },
      "caz_class": "C",
      "currency": "GBP",
      "enforcement": "charge",
      "hours": "daily from midnight to midnight, 7 days a week, all year round",
      "id": "gb-bath-caz",
      "name": "Bath Clean Air Zone",
      "operator": "Bath and North East Somerset Council",
      "penalty": "£120, halved to £60 if paid within 14 days, rising to £180 at charge-certificate stage",
      "rules": [
        {
          "categories": [
            "taxi",
            "phv",
            "minibus",
            "van"
          ],
          "daily_charge": 9,
          "escalations": [],
          "min_euro": {
            "diesel": 6,
            "petrol": 4
          },
          "note": "Compliant means Euro 6/VI diesel, Euro 4/IV petrol, fully electric, hydrogen, or any hybrid."
        },
        {
          "categories": [
            "bus",
            "coach",
            "hgv"
          ],
          "daily_charge": 100,
          "escalations": [],
          "min_euro": {
            "diesel": 6,
            "petrol": 4
          },
          "note": "Euro VI diesel / Euro IV petrol. A privately owned HGV is charged £100, reduced to £9 if registered with the council; this estimate applies no registration."
        }
      ],
      "source": {
        "checked": "2026-09-03",
        "licence": "not stated on the council's Clean Air Zone pages",
        "publisher": "Bath and North East Somerset Council",
        "url": "https://beta.bathnes.gov.uk/find-out-bath-clean-air-zone-charges"
      },
      "type": "caz"
    }
  ]
}
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized); the body carries signup, docs and a one-call hint for a free key

application/problem+json · Problem

402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected X-PAYMENT). Not problem+json

application/json · X402PaymentRequired

403The key may not call this: a browser key outside its scope (scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)

application/problem+json · Problem

429Quota or rate limit exceeded. Also: Per-key rate limit (rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Routing

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_zones