Real-Time Traffic Data API
Get Real-Time Traffic Alerts (Jams, Accidents, Police, Hazards, and more) and Driving Directions from Waze (Google).
- Free tier, no credit card
- Structured JSON
- Real-time results
Also available on RapidAPI
{
"alert_id": "alert-1877004555/22123b50-1c3b-48ea-8f6a-adea7f6d1ab5",
"type": "ROAD_CLOSED",
"publish_datetime_utc": "2026-08-10T17:46:00.000Z",
"country": "US",
"city": "Palo Alto, CA",
"street": "E Bayshore Rd",
"latitude": 37.431947,
"longitude": -122.104795,
"num_thumbs_up": 0,
"alert_reliability": 10,
"alert_confidence": 3,
"report_mood": 0,
"num_comments": 0
}Data samples
What the Real-Time Traffic Data API returns
Real responses for each kind of object the API provides. Pick an object type to inspect its fields.
{
"alert_id": "alert-1877004555/22123b50-1c3b-48ea-8f6a-adea7f6d1ab5",
"type": "ROAD_CLOSED",
"subtype": null,
"reported_by": null,
"description": null,
"image": null,
"publish_datetime_utc": "2026-08-10T17:46:00.000Z",
"country": "US",
"city": "Palo Alto, CA",
"street": "E Bayshore Rd",
"latitude": 37.431947,
"longitude": -122.104795,
"num_thumbs_up": 0,
"alert_reliability": 10,
"alert_confidence": 3,
"report_mood": 0,
"near_by": null,
"comments": [],
"num_comments": 0
}{
"jam_id": "612586392",
"type": null,
"level": 5,
"severity": null,
"line_coordinates": [
{
"lat": 37.403327,
"lon": -122.108928
},
{
"lat": 37.403139,
"lon": -122.108858
}
],
"start_location": null,
"end_location": null,
"speed_kmh": 0,
"length_meters": 22,
"delay_seconds": null,
"block_alert_id": "alert-108285277/989b089e-cdab-432d-9005-07db7347599d",
"block_alert_type": "ROAD_CLOSED",
"block_alert_description": null,
"block_alert_update_datetime_utc": "2026-09-12T16:38:08.414Z",
"block_start_datetime_utc": null,
"publish_datetime_utc": null,
"update_datetime_utc": "2026-09-18T19:32:02.439Z",
"country": "US",
"city": "Mountain View, CA",
"street": null
}Key features and capabilities
What the Real-Time Traffic Data API supports out of the box.
- Powered by Waze's network of millions of drivers - when someone spots an accident, hazard, or police presence, that information is live in the API within seconds.
- Every alert carries a driver-assigned description, GPS coordinates, street name, and community-verification signals: thumbs-up count, confidence score, and reporter reliability score.
- Covers all driver-reported incident types: accidents, road closures, construction zones, road hazards, police presence, stopped vehicles, weather hazards, and more.
- Traffic jam data includes current speed (km/h), congestion severity level, jam length, delay duration, and GPS polyline coordinates.
- Filter by alert type or subtype - pull only accidents, only police reports, only construction hazards, or any combination relevant to your use case.
- Flexible area targeting via bounding box or center-point plus radius, with configurable limits on alerts and jams returned per call.
Docs and code
Integrate in minutes, in any language
Full reference in the API docs, and a live playground on the developer portal. Code samples for cURL, Python, Node.js, PHP, Go, Java, C# and more.
import requests
headers = {
"x-api-key": "YOUR_API_KEY"
}
response = requests.request(
'GET',
'https://api.openwebninja.com/waze/alerts-and-jams',
params={"bottom_left":"40.66615391742187,-74.13732147216798","top_right":"40.772787404902594,-73.76818084716798"},
headers=headers
)Why this API
Why teams choose the OpenWeb Ninja Real-Time Traffic Data API
We keep it fast and reliable every day, and we keep adding what customers ask for.
Driver-Reported, Crowd-Verified
Every alert is filed by a driver who saw it firsthand and confirmed by others passing the same spot. You're not getting modeled predictions - you're getting ground-truth reports from people on the road right now.
Reliable
Millions of active drivers means dense, continuously refreshed coverage. Our infrastructure delivers this data with consistent uptime so your applications never miss a beat.
Lightning Fast
Traffic alert and jam data is returned in a few seconds or less for most queries, keeping your monitoring systems and end-user applications responsive.
Scalable
Monitor traffic across thousands of geographic areas simultaneously. Custom volume and rate limits available on request.
Real-Time Traffic Conditions
Driver reports go live the moment they're submitted. Every API call reflects the current state of the road - not a snapshot from minutes or hours ago.
Free Tier
Start with 100 free requests to test your integration and explore the data. No credit card required.
Pricing
Simple plans, free to start
Every plan uses the same endpoints and data. Need a custom volume, a higher rate limit, a hard cap or an SLA? Talk to us.
Prices in USD. Subscribe on the OpenWeb Ninja portal, or on RapidAPI. Cancel anytime.
What is the Real-Time Traffic Data API?
The Real-Time Traffic Data API gives you live traffic conditions for any geographic area, sourced from Waze's crowdsourced data network. When a driver spots an accident, a road hazard, police presence, or a traffic jam, they report it - and that report is immediately available through the API. You get traffic alerts with GPS coordinates, street-level detail, and community-verified confidence scores, plus traffic jam data with current speed and congestion severity.
How do I subscribe to the Real-Time Traffic Data API?
Click "Try for Free" above or subscribe on RapidAPI. The free tier includes 100 requests with no credit card required.
What types of traffic alerts does the API return?
Alerts are reported directly by drivers and cover accidents, road hazards (construction, weather, objects on road, stopped vehicles), road closures, police presence, and traffic jams. Each alert includes its type and subtype, GPS coordinates, street name, a driver-provided description where available, a reliability score, a confidence score, and a thumbs-up count from other drivers who confirmed the report on the road.
How are alerts verified, and what do the reliability and confidence scores mean?
Every alert is submitted by a driver who actually witnessed the condition. Other drivers passing the same spot can confirm it with a thumbs-up, which raises the alert's confidence score. The reliability score reflects the reporting driver's track record. Together, these signals let you assess how trustworthy an alert is before acting on it - useful for filtering out false positives in automated systems.
What traffic jam data is included in the response?
Each traffic jam object includes a severity level (1-5), current speed in km/h, jam length in meters, delay in seconds, and GPS polyline coordinates for the affected road segment. When the jam is caused by a blocking event - a road closure or accident - the API links the jam to that source alert so you see the root cause, not just the congestion.
How do I query traffic data for a specific area?
You define the area using a bounding box (bottom-left and top-right latitude/longitude pairs) or a center point plus a radius in KM or MI. You can cap how many alerts and jams are returned per call, and filter to only the alert types you care about.
Can I filter alerts by type?
Yes - you can request only accidents, only police reports, only hazards, or any combination. Subtype filtering is also supported, so you can narrow down to specific conditions like construction-related hazards or road closure events specifically.
What are common use cases for this API?
Traffic monitoring dashboards, fleet and logistics route optimization, smart city and urban mobility platforms, incident detection and alerting systems, insurance telematics, and any application where knowing what's actually happening on the road right now changes the outcome.
Start using the Real-Time Traffic Data API today
Free tier included, no credit card required. Your first response is a minute away.