Generic bounding-box query filtered by a single OSM tag
Changed onReturn OpenStreetMap nodes, ways, and relations inside a bounding box that match a single tag filter (tag_key=tag_value). Bounding box area is capped at 1 square degree (~110 km x 110 km at the equator) to stay within Overpass resource budgets. The tag_key is restricted to a curated allowlist of top-level OSM keys; tag_value must match [A-Za-z0-9_-]{1,64}. Data is (C) OpenStreetMap contributors (ODbL 1.0) - attribution is required on any surface that renders this data.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/environment/osm/bbox
- Auth: API key in header x-api-key
Query parameters
South latitude of the bounding box (decimal degrees, WGS84).
West longitude of the bounding box (decimal degrees, WGS84).
North latitude of the bounding box (decimal degrees, WGS84).
East longitude of the bounding box (decimal degrees, WGS84).
OSM top-level tag key. Accepted values: amenity, boundary, building, craft, highway, historic, landuse, leisure, man_made, natural, office, power, public_transport, railway, shop, tourism, waterway.
OSM tag value (1-64 chars, [A-Za-z0-9_-] only).
Maximum number of elements to return (1-2000).
Response
Matching OSM elements within the bounding box, (C) OpenStreetMap contributors (ODbL 1.0).
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info