Waze Data API

Get Alerts, Traffic Jams Information, and Driving Directions from Waze / Google in Real-Time.

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.

 

For more information: https://www.openwebninja.com/api/waze

API Documentation

Endpoints


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.



                                                                            
GET https://zylalabs.com/api/4814/waze+data+api/6003/alerts+and+jams
                                                                            
                                                                        

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`.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
	"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"
			}
               ]
	}
}
                                                                                                                                                                                                                    
                                                                                                    

Alerts and Jams - CODE SNIPPETS


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.



                                                                            
GET https://zylalabs.com/api/4814/waze+data+api/6004/driving+directions
                                                                            
                                                                        

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)
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
	"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
		}
	]
}
                                                                                                                                                                                                                    
                                                                                                    

Driving Directions - CODE SNIPPETS


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' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Waze Data API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

You can contact us anytime on email: [email protected] or join our Discord server: https://discord.gg/wxJxGsZgha.

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.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
405ms

Category:


Related APIs