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.
{
"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=51.2800,-0.5100&top_right=51.5000,-0.0800&max_alerts=100&max_jams=Optionalalert_types=ACCIDENT' --header 'Authorization: Bearer YOUR_API_KEY'
{
"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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
1,046ms
Service Level:
100%
Response Time:
732ms
Service Level:
100%
Response Time:
1,094ms
Service Level:
100%
Response Time:
605ms
Service Level:
100%
Response Time:
756ms
Service Level:
100%
Response Time:
703ms
Service Level:
96%
Response Time:
3,129ms
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:
258ms
Service Level:
100%
Response Time:
2,741ms
Service Level:
100%
Response Time:
1,865ms
Service Level:
100%
Response Time:
57ms
Service Level:
100%
Response Time:
187ms
Service Level:
100%
Response Time:
16,709ms
Service Level:
100%
Response Time:
309ms
Service Level:
100%
Response Time:
287ms
Service Level:
100%
Response Time:
315ms
Service Level:
100%
Response Time:
2,756ms