Vepler logo
v2.131.0 Breaking change

Air-quality query API, expanded safety endpoints, and field-level access control on buildings

New air-quality query endpoint, expanded safety crime/catalog/geography endpoints, and field-level access control on the buildings API that gates source and structural attributes behind permissions.

Added

  • New POST /v1/air-quality/query endpoint returns air-quality cells for one or more areas. A single request accepts up to 10 area filters of type point, postcode, outcode, boundingBox, polygon or multipolygon, OR-combined and deduplicated by airQualityId.
  • Each cell carries summary (score, band, worstPollutant), per-pollutant pollutants, AQMA / vehicle-emission-zone zones and provenance. The premium roadProximity and installations attributes require the air-quality:premium permission.
  • Requests support filters (band, dominantSource, insideAqma, insideVehicleEmissionZone, scoreMin/scoreMax), sort, attributes sparse field selection, limit/offset pagination and an optional snapshotId pin.
  • The safety API gains GET /v1/safety/crime/category-stats for per-point monthly crime category counts within a radius.
  • New crime-data catalogue endpoints GET /v1/safety/catalog (availability by country) and GET /v1/safety/catalog/{country} (catalogue entries for a single country).
  • New GET /v1/safety/geography/metrics returns aggregated crime metrics for one or more geographicCodes (LSOA / ward / authority) across explicit periods or a startDate/endDate range, with optional mergeAreas aggregation and a months lookback time-series.
  • Added GET /v1/safety/health service health check.

Changed