Get driving directions, autocomplete/type-ahead functionality and fetch all types of Waze alerts in real-time including accidents, hazards, traffic jams, police, and more.
Get real-time alerts data and jams information from Waze in a geographic rectangular area by bottom-left and top-right latitude, longitude pairs.
Supports all Waze alert types including: accidents, road blocks, hazards, traffic jams, police, and more.
Alerts and Jams - Endpoint Features
| Object | Description |
|---|---|
bottom_left |
[Required] Bottom-left corner of the geographic rectangular area for which to get alerts and traffic jams. Specified as latitude, longitude pair. |
top_right |
[Required] Top-right corner of the geographic rectangular area for which to get alerts and traffic jams. Specified as latitude, longitude pair. |
max_alerts |
Optional Maximum number of alerts to fetch (to avoid fetching alerts set it to `0`). Default: 20. |
max_jams |
Optional Maximum number of traffic jams to fetch (to avoid fetching traffic jams, set it to `0`). Default: 20. |
alert_types |
Optional Only return alerts of specific types. Multiple alert types can be specified as a comma (,) separated list. Examples: `ACCIDENT` or `POLICE,HAZARD`. |
{
"status": "OK",
"request_id": "0d53c5e7-f6ec-4551-afa1-97614e84b49c",
"data": {
"alerts": [
{
"alert_id": "18882060-8cfd-4001-990c-f6f4eaaeec77",
"type": "ROAD_CLOSED",
"subtype": "ROAD_CLOSED_EVENT",
"reported_by": "dhschneider",
"description": "Construction",
"image": null,
"publish_datetime_utc": "2022-06-19T23:00:28.000Z",
"country": "US",
"city": "Brooklyn, NY",
"street": "Main St",
"latitude": 40.703241,
"longitude": -73.99067,
"num_thumbs_up": 4,
"alert_reliability": 10,
"alert_confidence": 2,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "c10c6959-5143-4e39-823d-867b2fb65f97",
"type": "POLICE",
"subtype": "POLICE_HIDING",
"reported_by": null,
"description": null,
"image": null,
"publish_datetime_utc": "2022-07-01T12:36:37.000Z",
"country": "US",
"city": "Manhattan, NY",
"street": "W Thames St",
"latitude": 40.708374,
"longitude": -74.0172,
"num_thumbs_up": 0,
"alert_reliability": 5,
"alert_confidence": 0,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "6d23cf09-ec98-4613-93ff-b92e31bad3a4",
"type": "HAZARD",
"subtype": "HAZARD_ON_ROAD_POT_HOLE",
"reported_by": null,
"description": null,
"image": null,
"publish_datetime_utc": "2022-07-01T11:20:14.000Z",
"country": "US",
"city": "Manhattan, NY",
"street": "7th Ave S",
"latitude": 40.735463,
"longitude": -74.001765,
"num_thumbs_up": 12,
"alert_reliability": 10,
"alert_confidence": 5,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "f935ceef-6150-4953-997b-a6eca7d477c6",
"type": "HAZARD",
"subtype": "HAZARD_ON_ROAD_CONSTRUCTION",
"reported_by": "fe2af97a28594b22918a06b3590121d6",
"description": null,
"image": null,
"publish_datetime_utc": "2022-07-01T12:16:13.000Z",
"country": "US",
"city": "Manhattan, NY",
"street": "10th Ave",
"latitude": 40.745401,
"longitude": -74.005836,
"num_thumbs_up": 4,
"alert_reliability": 10,
"alert_confidence": 1,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "2df904e7-2da7-4532-bf93-ff7239b06cba",
"type": "HAZARD",
"subtype": "HAZARD_ON_ROAD_CONSTRUCTION",
"reported_by": "iCone",
"description": "Roadwork - Caution [iCone]",
"image": null,
"publish_datetime_utc": "2022-07-01T07:49:00.000Z",
"country": "US",
"city": "Jersey City, NJ",
"street": "SR-7 E",
"latitude": 40.740053,
"longitude": -74.079706,
"num_thumbs_up": 82,
"alert_reliability": 10,
"alert_confidence": 5,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "a430d347-113f-45f2-bb6b-5b7e8e31415e",
"type": "HAZARD",
"subtype": "HAZARD_ON_SHOULDER_CAR_STOPPED",
"reported_by": null,
"description": null,
"image": null,
"publish_datetime_utc": "2022-07-01T12:22:33.000Z",
"country": "US",
"city": "Queens, NY",
"street": "I-495 E • Long Island Expwy",
"latitude": 40.738152,
"longitude": -73.797276,
"num_thumbs_up": 4,
"alert_reliability": 10,
"alert_confidence": 1,
"near_by": null,
"comments": [],
"num_comments": 0
},
{
"alert_id": "0383857a-adff-4f8c-ae1f-c5576aaed878",
"type": "JAM",
"subtype": "JAM_HEAVY_TRAFFIC",
"reported_by": null,
"description": null,
"image": null,
"publish_datetime_utc": "2022-07-01T12:12:20.000Z",
"country": "US",
"city": "Queens, NY",
"street": "Grand Central Pkwy E",
"latitude": 40.728002,
"longitude": -73.839175,
"num_thumbs_up": 0,
"alert_reliability": 10,
"alert_confidence": 2,
"near_by": null,
"comments": [],
"num_comments": 0
}
],
"jams": [{
"jam_id": "72275362",
"type": "NONE",
"level": 4,
"severity": 5,
"line_coordinates": [
{
"lat": 40.685257,
"lon": -74.000658
},
{
"lat": 40.687208,
"lon": -73.999693
},
{
"lat": 40.687855,
"lon": -73.999386
},
{
"lat": 40.688508,
"lon": -73.999078
},
{
"lat": 40.689192,
"lon": -73.99875
},
{
"lat": 40.68988,
"lon": -73.998409
},
{
"lat": 40.690553,
"lon": -73.998095
},
{
"lat": 40.691193,
"lon": -73.997792
}
],
"start_location": null,
"end_location": null,
"speed_kmh": 6.03,
"length_meters": 702,
"delay_seconds": 318,
"block_alert_id": null,
"block_alert_type": null,
"block_alert_description": null,
"block_alert_update_datetime_utc": null,
"block_start_datetime_utc": null,
"publish_datetime_utc": "2022-07-01T09:41:29.346Z",
"update_datetime_utc": "2022-07-01T12:39:30.557Z",
"country": "US",
"city": "Brooklyn, NY",
"street": "Hicks St"
},
{
"jam_id": "72461732",
"type": "NONE",
"level": 2,
"severity": 5,
"line_coordinates": [
{
"lat": 40.745658,
"lon": -73.973482
},
{
"lat": 40.745587,
"lon": -73.973145
},
{
"lat": 40.745574,
"lon": -73.972857
},
{
"lat": 40.745609,
"lon": -73.972573
},
{
"lat": 40.745676,
"lon": -73.972348
},
{
"lat": 40.745722,
"lon": -73.97221
},
{
"lat": 40.745788,
"lon": -73.972103
},
{
"lat": 40.747649,
"lon": -73.970482
},
{
"lat": 40.747899,
"lon": -73.970208
},
{
"lat": 40.748109,
"lon": -73.969843
},
{
"lat": 40.748164,
"lon": -73.969625
},
{
"lat": 40.748161,
"lon": -73.969463
},
{
"lat": 40.748118,
"lon": -73.969164
},
{
"lat": 40.748068,
"lon": -73.969006
},
{
"lat": 40.745234,
"lon": -73.964418
}
],
"start_location": null,
"end_location": null,
"speed_kmh": 19.12,
"length_meters": 1018,
"delay_seconds": 118,
"block_alert_id": null,
"block_alert_type": null,
"block_alert_description": null,
"block_alert_update_datetime_utc": null,
"block_start_datetime_utc": null,
"publish_datetime_utc": "2022-07-01T10:48:38.078Z",
"update_datetime_utc": "2022-07-01T12:39:32.972Z",
"country": "US",
"city": "Manhattan, NY",
"street": "I-495 E / Qns-Midtown Tun"
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/4814/waze+data+api/6003/alerts+and+jams?bottom_left=40.66615391742187,-74.13732147216798&top_right=40.772787404902594,-73.76818084716798&max_alerts=20&max_jams=20' --header 'Authorization: Bearer YOUR_API_KEY'
Get routes / driving directions from Waze, including alerts along each possible route. Supports setting the wanted arrival time.
Driving Directions - Endpoint Features
| Object | Description |
|---|---|
source_coordinates |
[Required] Geographic coordinates (latitude, longitude pair) of the starting point |
destination_coordinates |
[Required] Geographic coordinates (latitude, longitude pair) of the destination |
return_route_coordinates |
Optional Whether to return route coordinate pairs (`route_coordinates` field) |
arrival_timestamp |
Optional Unix-timestamp (seconds since epoch) of the arrival time (in case not specified directions will be returned for current time) |
{
"status": "OK",
"request_id": "bb5977ad-2081-4f61-9950-cacde02a5cf0",
"data": [
{
"route_coordinates": [],
"route_name": "20 איילון צפון; 2 צפון",
"length_meters": 92119,
"duration_seconds": 3868,
"passes_through_danger_area": false,
"is_toll": false,
"is_hov": false,
"is_fastest": true,
"alerts": [],
"jams": [],
"traffic_label": "usual traffic"
},
{
"route_coordinates": [],
"route_name": "2 צפון; 4 צפון; 4",
"length_meters": 91225,
"duration_seconds": 4679,
"passes_through_danger_area": false,
"is_toll": false,
"is_hov": false,
"is_fastest": false,
"alerts": [],
"jams": [],
"traffic_label": "usual traffic"
},
{
"route_coordinates": [],
"route_name": "2 צפון; 6 צפון",
"length_meters": 109601,
"duration_seconds": 4807,
"passes_through_danger_area": false,
"is_toll": true,
"is_hov": false,
"is_fastest": false,
"alerts": [
{
"alert_id": "24",
"type": "HAZARD",
"subtype": "HAZARD_ON_SHOULDER_CAR_STOPPED",
"latitude": 32.411487,
"longitude": 35.021293
},
{
"alert_id": "06",
"type": "HAZARD",
"subtype": "NO_SUBTYPE",
"latitude": 32.562621,
"longitude": 35.03921
},
{
"alert_id": "67",
"type": "POLICE",
"subtype": "POLICE_VISIBLE",
"latitude": 32.770066,
"longitude": 35.055086
}
],
"jams": [],
"traffic_label": "usual traffic",
"toll_price": 41.34,
"toll_price_currency": "ILS",
"toll_road_name": null
},
{
"route_coordinates": [],
"route_name": "2 צפון; 6 צפון",
"length_meters": 109601,
"duration_seconds": 4806,
"passes_through_danger_area": false,
"is_toll": true,
"is_hov": true,
"is_fastest": false,
"alerts": [
{
"alert_id": "24",
"type": "HAZARD",
"subtype": "HAZARD_ON_SHOULDER_CAR_STOPPED",
"latitude": 32.411487,
"longitude": 35.021293
},
{
"alert_id": "06",
"type": "HAZARD",
"subtype": "NO_SUBTYPE",
"latitude": 32.562621,
"longitude": 35.03921
},
{
"alert_id": "67",
"type": "POLICE",
"subtype": "POLICE_VISIBLE",
"latitude": 32.770066,
"longitude": 35.055086
}
],
"jams": [],
"traffic_label": "usual traffic",
"hov_min_passengers": 2,
"toll_price": 41.34,
"toll_price_currency": "ILS",
"toll_road_name": null
}
]
}
curl --location --request GET 'https://zylalabs.com/api/4814/waze+data+api/6004/driving+directions?source_coordinates=32.0852999,34.78176759999999&destination_coordinates=32.7940463,34.989571' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The limit of queries per second depends on the nature of the requests, the endpoint, and the request parameters (amount of results, number of queries, etc.). The average RPS is about 20 (soft limit). However, we can scale according to your needs. Please contact us in case you need a higher RPS.
Yes. Please contact us in case you need a higher tier / volume and we'll be happy to offer a discounted plan, tailored to your needs.
The average response time is between 1-3 seconds and depend on the endpoint used and request parameters.
Currently, as we are using Waze livemap under the hood, the API returns maximum of 800 alerts per area. In case you need more alerts, consider dividing your request to multiple requests with smaller areas.
The GET Alerts and Jams endpoint returns real-time alerts and traffic jam information, including types like accidents and police presence. The GET Driving Directions endpoint provides route details, including length, duration, and alerts along the route.
Key fields include `alert_id`, `type`, `description`, `latitude`, and `longitude` for alerts. For driving directions, fields include `route_name`, `length_meters`, `duration_seconds`, and `alerts`.
The response data is structured in JSON format. Alerts are nested within a `data` object, while driving directions return an array of route objects, each containing relevant details about the route and associated alerts.
The GET Alerts and Jams endpoint provides alerts for accidents, hazards, and police. The GET Driving Directions endpoint offers route options, estimated travel times, and alerts along each route.
The GET Alerts and Jams endpoint accepts geographic coordinates (bottom-left and top-right latitude/longitude). The GET Driving Directions endpoint allows users to specify start and end locations, as well as desired arrival times.
Users can customize requests by adjusting geographic boundaries for alerts or specifying arrival times for driving directions. This allows for tailored results based on user needs.
Data accuracy is maintained through real-time updates from Waze's community-driven platform, which continuously reports incidents and traffic conditions, ensuring timely and reliable information.
Typical use cases include navigation apps providing real-time traffic updates, logistics companies optimizing delivery routes, and commuters planning trips based on current road conditions and alerts.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
1,026ms
Service Level:
100%
Response Time:
732ms
Service Level:
100%
Response Time:
605ms
Service Level:
100%
Response Time:
756ms
Service Level:
100%
Response Time:
921ms
Service Level:
100%
Response Time:
1,094ms
Service Level:
97%
Response Time:
3,143ms
Service Level:
100%
Response Time:
3,312ms
Service Level:
100%
Response Time:
2,699ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
239ms
Service Level:
100%
Response Time:
200ms
Service Level:
100%
Response Time:
121ms
Service Level:
100%
Response Time:
121ms
Service Level:
100%
Response Time:
1,057ms
Service Level:
100%
Response Time:
630ms
Service Level:
100%
Response Time:
343ms
Service Level:
100%
Response Time:
428ms
Service Level:
100%
Response Time:
1,255ms
Service Level:
100%
Response Time:
2,714ms