Report Incident
Request Body
Street name or intersection where the incident occurred
Type of incident. Common values:
accident- Vehicle collisionblockage- Road obstructionconstruction- Construction zonehazard- Road hazard (debris, potholes, etc.)weather- Weather-related issue
Optional additional information about the incident
Response
Confirmation message
Unique identifier for the reported incident
ISO 8601 timestamp when the incident was reported
Success Response
Error Response
Get Recent Incidents
Response
Returns an array of incident objects, sorted by most recent first.Unique incident identifier
Street or intersection location
Type of incident (accident, blockage, construction, hazard, weather)
Additional information about the incident (may be empty)
ISO 8601 timestamp when reported
Current status:
active, resolved, or expiredSuccess Response
Empty Response
When no active incidents:Real Implementation
Fromnavigation/traffic.html:73-103:
Reporting an Incident
Loading Recent Incidents
Use Cases
Traffic Awareness
Display real-time incidents on navigation maps to help drivers avoid problem areas.Route Planning
Integrate with the Routes API to automatically avoid streets with active incidents.Autonomous Vehicle Safety
Provide incident data to autonomous vehicle systems for safer navigation decisions.Community Reporting
Allow users to contribute to a shared incident database for improved traffic awareness.Auto-Refresh Pattern
For real-time updates, implement polling:Incident Lifecycle
- Active: Recently reported and currently affecting traffic
- Resolved: Incident has been cleared
- Expired: Automatically marked expired after 2 hours with no updates
active incidents are typically displayed in navigation interfaces.