Directory › API
Traffic Incidents (data.calgary.ca) (live)
Live JSON source from The City of Calgary, transportation. Data changes several times an hour; each call reads the publisher's current data (bounded cache) and cites source and fetch time. Metadata and links only; nothing stored. License not stated by the publisher.
Facts about this data
| Update frequency | On each request |
| Last successful read | – |
| Coverage | – |
| Confidence | unknown (This API composes other KnowAPI datasets; see each dataset's metadata.) |
| How values are checked | Each call checks the listed official sources live or from their latest stored copy; results link to the official notice. |
Known limitations
- See the datasets this API reads for coverage and freshness.
Use it
No key yet? Click Get a free key above and it fills into this command.
curl "https://api.knowapi.dev/v1/data/live-socrata-data-calgary-ca-35ra-9556?q=trail&limit=3" -H "Authorization: Bearer YOUR_KEY"
Verified example: run against the stored data on 2026-12-03, it returned 5 matching records. MCP: query_api with {"api_id":"175a0e2a-bb71-45db-9aea-de064bdcb6c6","params":{"q":"trail","limit":3}}.
No key? Call the same URL and pay per call with x402 (USDC on Base). AI agents: MCP server https://api.knowapi.dev/mcp, tool query_api with api_id 175a0e2a-bb71-45db-9aea-de064bdcb6c6.
Parameters
| Parameter | Example | Description |
|---|---|---|
q | storm | Words that must appear in the title or summary. |
since | 2026-12-02 | Only items published or updated at or after this ISO time. |
limit | 10 | Items to return (1-100, default 20). |
near | 34.05,-118.24 | lat,lon with radius_km (default 200) to keep items near a point. |
Example records (real data)
[
{
"id": "Heritage Drive SW and MacLeod Trail S",
"link": null,
"title": "Heritage Drive SW and MacLeod Trail S",
"fields": {
"id": "2026-12-03 00:06:12+00:0050.97956316727449-114.07156041925565",
"count": "1",
"point": null,
"latitude": "50.97956316727449",
"quadrant": "SW",
"longitude": "-114.07156041925565",
"description": "Two vehicle incident. Blocking the multiple lanes in the intersection",
"start_dt_utc": "2026-12-03T00:06:12.000",
"incident_info": "Heritage Drive SW and MacLeod Trail S",
"modified_dt_utc": "2026-12-03T00:09:31.000",
":@computed_region_4a3i_ccfj": null,
":@computed_region_kxmf_bzkv": null
},
"summary": null,
"updated": null,
"published": "2026-12-03T00:06:12.000Z",
"categories": []
},
{
"id": "Northbound Deerfoot Trail approaching Airport Trail NE",
"link": null,
"title": "Northbound Deerfoot Trail approaching Airport Trail NE",
"fields": {
"id": "2026-12-02 23:26:38+00:0051.13664579915823-114.03944454762134",
"count": "1",
"point": null,
"latitude": "51.13664579915823",
"quadrant": "NE",
"longitude": "-114.03944454762134",
"description": "Stalled vehicle. Blocking the right lane",
"start_dt_utc": "2026-12-02T23:26:38.000",
"incident_info": "Northbound Deerfoot Trail approaching Airport Trail NE",
"modified_dt_utc": "2026-12-02T23:46:26.000",
":@computed_region_4a3i_ccfj": null,
":@computed_region_kxmf_bzkv": null
},
"summary": null,
"updated": null,
"published": "2026-12-02T23:26:38.000Z",
"categories": []
}
]Product group
Data $0.0037 per call (billed)
A single source answers each call: an individual lookup. See the group.
Price
Monthly plans include calls: pricing.