{"api":{"id":"api_c464ac20638364f3c3aebaa4","slug":"calgary-traffic-incidents","name":"Calgary Live Traffic Incidents API","description":"Traffic incidents reported by the City of Calgary, newest first: location text, what happened, start and last update time, quadrant, coordinates and how long ago it started.","kind":"ready_made","visibility":"public","domain":"data.calgary.ca","source_url":"https://data.calgary.ca/resource/35ra-9556.json","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":9,"created_at":"2026-12-06T04:45:48.343Z","updated_at":"2026-12-06T04:45:48.343Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Source id of the incident report (start time plus coordinates).","required":true,"coverage":1,"example":"2026-12-06 03:22:53+00:0051.169800867135514-114.13314182388102"},{"name":"incident_info","type":"string","description":"Where the incident is, such as a road and cross street.","required":false,"coverage":1,"example":"Symons Valley Road and Sage Hill Drive NW"},{"name":"description","type":"string","description":"What happened, in the city's words.","required":false,"coverage":1,"example":"Traffic incident."},{"name":"started_at","type":"datetime","description":"When the incident was first reported (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:22:53.000Z"},{"name":"updated_at","type":"datetime","description":"When the report was last updated (UTC).","required":false,"coverage":1,"example":"2026-12-06T04:03:48.000Z"},{"name":"age_minutes","type":"integer","description":"Minutes between the start and the moment of the run.","required":false,"coverage":1,"example":67},{"name":"quadrant","type":"string","description":"City quadrant: NW, NE, SW or SE.","required":false,"coverage":1,"example":"NW"},{"name":"latitude","type":"number","description":"Latitude of the incident.","required":false,"coverage":1,"example":51.169800867135514},{"name":"longitude","type":"number","description":"Longitude of the incident.","required":false,"coverage":1,"example":-114.13314182388102}],"inputs":[{"name":"quadrant","type":"string","description":"City quadrant: NW, NE, SW or SE.","example":"NW","enum":["NW","NE","SW","SE"]},{"name":"search","type":"string","description":"Words in the incident location, such as a road name.","example":"Deerfoot"},{"name":"active_only","type":"boolean","description":"Only incidents updated within the last 60 minutes.","default":false,"example":false}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"age_minutes":{"description":"Minutes between the start and the moment of the run.","type":"integer"},"description":{"description":"What happened, in the city's words.","type":"string"},"id":{"description":"Source id of the incident report (start time plus coordinates).","type":"string"},"incident_info":{"description":"Where the incident is, such as a road and cross street.","type":"string"},"latitude":{"description":"Latitude of the incident.","type":"number"},"longitude":{"description":"Longitude of the incident.","type":"number"},"quadrant":{"description":"City quadrant: NW, NE, SW or SE.","type":"string"},"started_at":{"description":"When the incident was first reported (UTC).","format":"date-time","type":"string"},"updated_at":{"description":"When the report was last updated (UTC).","format":"date-time","type":"string"}},"required":["id"],"title":"Calgary Live Traffic Incidents API","type":"object"},"samples":[{"id":"2026-12-06 03:22:53+00:0051.169800867135514-114.13314182388102","incident_info":"Symons Valley Road and Sage Hill Drive NW","description":"Traffic incident.","started_at":"2026-12-06T03:22:53.000Z","updated_at":"2026-12-06T04:03:48.000Z","age_minutes":67,"quadrant":"NW","latitude":51.169800867135514,"longitude":-114.13314182388102},{"id":"2026-12-06 02:22:39+00:0050.993850224262296-114.03521112475973","incident_info":"Southbound Deerfoot Trail after Glenmore Trail SE","description":"Traffic incident. Blocking the southbound merge lane","started_at":"2026-12-06T02:22:39.000Z","updated_at":"2026-12-06T03:05:29.000Z","age_minutes":127,"quadrant":"NW","latitude":50.993850224262296,"longitude":-114.03521112475973},{"id":"2026-12-05 23:11:55+00:0051.11410863464758-114.22711886117102","incident_info":"Northbound Stoney Trail approaching Scenic Acres Link NW","description":"Stalled vehicle. Blocking the right lane.","started_at":"2026-12-05T23:11:55.000Z","updated_at":"2026-12-05T23:13:40.000Z","age_minutes":318,"quadrant":"NW","latitude":51.11410863464758,"longitude":-114.22711886117102}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"age_minutes":1,"description":1,"id":1,"incident_info":1,"latitude":1,"longitude":1,"quadrant":1,"started_at":1,"updated_at":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_c464ac20638364f3c3aebaa4/run","openapi":"https://pullrow.dev/v1/apis/api_c464ac20638364f3c3aebaa4/openapi.json","contract":"https://pullrow.dev/v1/apis/api_c464ac20638364f3c3aebaa4/contract.json","page":"https://pullrow.dev/catalog/calgary-traffic-incidents"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["The source keeps a running history of tens of thousands of incidents, so results are newest first, not only the ones active right now; use active_only to keep incidents updated recently.","active_only keeps incidents that were updated within the last 60 minutes, which is our approximation: the source has no closed flag.","The source is refreshed every few minutes; the age in minutes is measured when you run the API.","Search matches words in the location text only, and there is one row per incident report with no id of its own.","Source: City of Calgary Open Data, Open Government Licence - City of Calgary; keep that credit line when you republish."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Source id of the incident report (start time plus coordinates).","group":"Technical","shown":false,"written":false},{"name":"incident_info","label":"Incident details","description":"Where the incident is, such as a road and cross street.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"What happened, in the city's words.","group":"Basics","shown":true,"written":false},{"name":"started_at","label":"Started","description":"When the incident was first reported (UTC).","group":"Dates","shown":true,"written":false},{"name":"updated_at","label":"Updated","description":"When the report was last updated (UTC).","group":"Dates","shown":true,"written":false},{"name":"age_minutes","label":"Age (minutes)","description":"Minutes between the start and the moment of the run.","group":"Basics","shown":true,"written":false},{"name":"quadrant","label":"Quadrant","description":"City quadrant: NW, NE, SW or SE.","group":"Basics","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the incident.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the incident.","group":"Location","shown":true,"written":false}],"inputs":[{"name":"quadrant","label":"Quadrant","help":"City quadrant: NW, NE, SW or SE.","example":"NW","written":false},{"name":"search","label":"Search","help":"Words in the incident location, such as a road name.","example":"Deerfoot","written":false},{"name":"active_only","label":"Active only","help":"Only incidents updated within the last 60 minutes.","example":"false","written":false}]}},"incidents":[]}