Alertas de Congestión Urbana API

Esta API devuelve alertas de tráfico en tiempo real y atascos, mostrando peligros, gravedad del atasco, retraso estimado y ubicación en las calles y carreteras de EE. UU.

Acerca de la API:

La API de Alertas de Congestión Urbana es una herramienta poderosa que permite a los desarrolladores acceder a alertas en tiempo real e información sobre congestión de tráfico de la popular aplicación de navegación, Waze. Esta API se puede utilizar para proporcionar a los usuarios información actualizada sobre las condiciones del tráfico en un área geográfica específica, lo que les permite planificar sus rutas en consecuencia.

La API de Alertas de Congestión Urbana funciona permitiendo a los usuarios definir un área geográfica utilizando pares de latitud y longitud de esquina inferior izquierda y esquina superior derecha. La API luego recupera alertas relevantes y congestiones dentro de esa área, proporcionando a los desarrolladores información detallada sobre cierres de carreteras, accidentes y otros incidentes que pueden afectar el flujo del tráfico.

Esta API es particularmente útil para empresas que dependen de servicios basados en la ubicación. Por ejemplo, un servicio de entrega de alimentos puede utilizar la API para determinar la mejor ruta de entrega basado en las condiciones actuales del tráfico, asegurando que los conductores puedan realizar entregas a tiempo. Además, las empresas que ofrecen promociones basadas en la ubicación pueden utilizar la API para determinar la ubicación física de un usuario y proporcionar promociones y anuncios dirigidos basados en las condiciones actuales del tráfico.

La API de Alertas de Congestión Urbana también se puede utilizar en logística y transporte para optimizar rutas y tiempos de entrega. Con la API, las empresas pueden obtener información precisa y actualizada sobre las condiciones del tráfico, lo que les permite ajustar sus horarios de entrega y evitar retrasos. Además, las empresas de logística pueden utilizar la API para rastrear la ubicación de sus vehículos y proporcionar actualizaciones en tiempo real a sus clientes sobre los tiempos de entrega.

La API de Alertas de Congestión Urbana proporciona a los desarrolladores la capacidad de personalizar la información devuelta por la API para satisfacer sus necesidades específicas. Por ejemplo, los usuarios pueden recuperar información sobre cierres de carreteras, accidentes de tráfico o sitios de construcción. Al adaptar la API a sus necesidades, los desarrolladores pueden ofrecer una mejor experiencia de usuario y mejorar la precisión de sus aplicaciones.

La API de Alertas de Congestión Urbana es fácil de integrar en aplicaciones existentes y se puede utilizar con una variedad de lenguajes de programación. La API proporciona una interfaz RESTful simple, lo que permite a los desarrolladores recuperar rápidamente información sobre el tráfico para un área geográfica determinada. Además, la API es altamente escalable, lo que permite a las empresas manejar fácilmente grandes volúmenes de solicitudes de tráfico.

En resumen, la API de Alertas de Congestión Urbana es una herramienta esencial para las empresas que dependen de los servicios basados en la ubicación. Con su capacidad para proporcionar alertas en tiempo real e información sobre el tráfico, las empresas pueden ofrecer servicios precisos y personalizados a sus clientes, mientras optimizan sus operaciones de logística y transporte.

Documentación de la API

Endpoints


Recibe alertas y congestiones en tiempo real de Waze en un área rectangular geográfica definida por pares de latitud y longitud en la esquina inferior izquierda y la esquina superior derecha.



                                                                            
GET https://zylalabs.com/api/7677/urban+congestion+alerts+api/12441/get+alerts+and+jams
                                                                            
                                                                        

Recibir alertas y atascos. - Características del Endpoint

Objeto Descripción
bottom_left [Requerido] Bottom-left corner of the geographic rectangular area for which to get alerts and traffic jams. Specified as latitude, longitude pair.
top_right [Requerido] Top-right corner of the geographic rectangular area for which to get alerts and traffic jams. Specified as latitude, longitude pair.
max_alerts Opcional Maximum number of alerts to fetch (to avoid fetching alerts set it to 0). Default: 20
max_jams Opcional Maximum number of traffic jams to fetch (to avoid fetching traffic jams, set it to 0). Default: 20
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"status":"OK","request_id":"97937fac-0e17-4bbd-b32a-059df01c0cc8","parameters":{"bottom_left":["22.78443409728726","51.566262619737955"],"top_right":["26.3992533392166","57.25300182596405"],"max_alerts":800,"max_jams":200},"data":{"alerts":[{"alert_id":"72647674","type":"POLICE","subtype":null,"reported_by":null,"description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:28:28.000Z","country":"TC","city":"Al Karama الكرامة","street":"18B Street","latitude":25.239434,"longitude":55.304024,"num_thumbs_up":0,"alert_reliability":6,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72440437","type":"JAM","subtype":null,"reported_by":"TatanaSunshine","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:36:01.000Z","country":"TC","city":null,"street":"D61 - Hessa St","latitude":25.030409,"longitude":55.235013,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":"Dubai Studio City مدينة دبي للإستديوهات","comments":[],"num_comments":0},{"alert_id":"1716078909","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-02T21:12:52.000Z","country":"TC","city":"Khalifa City مدينة خليفة","street":"Al Jadeel St","latitude":24.404539,"longitude":54.596915,"num_thumbs_up":1,"alert_reliability":7,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"720911088","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-08-26T10:21:11.000Z","country":"TC","city":"Al Hilal City مدينة الهلال","street":null,"latitude":25.168957,"longitude":56.346949,"num_thumbs_up":3,"alert_reliability":9,"alert_confidence":1,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"669748532","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-01-01T21:27:36.000Z","country":"TC","city":"Al Reem Island جزيرة الريم","street":"Hazza' Bin Zayed the First St","latitude":24.49904,"longitude":54.397408,"num_thumbs_up":15,"alert_reliability":10,"alert_confidence":5,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1672804174","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-13T22:12:43.000Z","country":"TC","city":"Ajman, عجمان","street":"Gharnata St","latitude":25.370782,"longitude":55.486081,"num_thumbs_up":1,"alert_reliability":7,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72468619","type":"JAM","subtype":"JAM_STAND_STILL_TRAFFIC","reported_by":"crazziieematt","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:25:08.000Z","country":"TC","city":null,"street":"Exit 64 > D97 - Al Nahda / Amman St","latitude":25.290739,"longitude":55.431191,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":"Sharjah Industrial Area 11","comments":[],"num_comments":0},{"alert_id":"1147160168","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-02-08T14:02:49.000Z","country":"TC","city":null,"street":"Al Rubban St","latitude":24.095914,"longitude":52.766766,"num_thumbs_up":3,"alert_reliability":10,"alert_confidence":2,"near_by":"Al Ruwais الرويس","comments":[],"num_comments":0},{"alert_id":"1654044552","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-09-22T21:51:05.000Z","country":"TC","city":"Madinat Al Riyad مدينة الرياض","street":"Al Qusour St","latitude":24.342118,"longitude":54.763383,"num_thumbs_up":1,"alert_reliability":7,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1762740071","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"NO1XMOHAMED","description":null,"image":null,"publish_datetime_utc":"2023-09-10T16:59:27.000Z","country":"QA","city":"Al Meshaf, المشاف","street":null,"latitude":25.17393,"longitude":51.573029,"num_thumbs_up":9,"alert_reliability":10,"alert_confidence":4,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72291300","type":"POLICE","subtype":null,"reported_by":"world_xoufdw1q","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:25:49.000Z","country":"TC","city":"Al Quoz Industrial Area 2 القوز الصناعية","street":null,"latitude":25.142453,"longitude":55.25002,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1722757707","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-03T10:00:55.000Z","country":"TC","city":"Al Siyouh Suburb, ضاحية السيوح","street":"Cairo St","latitude":25.231585,"longitude":55.645846,"num_thumbs_up":1,"alert_reliability":7,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72592572","type":"HAZARD","subtype":"HAZARD_ON_SHOULDER_CAR_STOPPED","reported_by":"s3ood71","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:25:44.000Z","country":"TC","city":null,"street":"E311 - Sh Mohammad Bin Zayed Rd","latitude":25.457736,"longitude":55.620396,"num_thumbs_up":0,"alert_reliability":6,"alert_confidence":0,"near_by":"Sharjah, الشارقة","comments":[],"num_comments":0},{"alert_id":"163808923","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-10-22T19:49:49.000Z","country":"TC","city":"Sa'diyat Island, جزيرة السعديات","street":null,"latitude":24.529448,"longitude":54.418791,"num_thumbs_up":2,"alert_reliability":8,"alert_confidence":1,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72380158","type":"JAM","subtype":"JAM_HEAVY_TRAFFIC","reported_by":null,"description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:27:14.000Z","country":"TC","city":"Al Sabkha السبخة","street":"Souk Deira St","latitude":25.269345,"longitude":55.29938,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"736868231","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-07-13T13:40:08.000Z","country":"TC","city":null,"street":"Al Rubban St","latitude":24.096869,"longitude":52.781831,"num_thumbs_up":0,"alert_reliability":6,"alert_confidence":0,"near_by":"Al Ruways Industrial City مدينة الرويس الصناعية","comments":[],"num_comments":0},{"alert_id":"1265627469","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-12-23T16:33:30.000Z","country":"TC","city":"Al Hosn الحصن","street":null,"latitude":24.48229,"longitude":54.353982,"num_thumbs_up":2,"alert_reliability":8,"alert_confidence":1,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72340356","type":"JAM","subtype":"JAM_HEAVY_TRAFFIC","reported_by":"TushN","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:20:03.000Z","country":"TC","city":"Al Hamriya اﻟﺤﻤﺮﻳﺔ","street":"3 Street","latitude":25.260105,"longitude":55.306412,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1754583022","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-17T04:25:17.000Z","country":"TC","city":"Al Mareija, المريجة","street":null,"latitude":25.355941,"longitude":55.382088,"num_thumbs_up":1,"alert_reliability":7,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72674058","type":"JAM","subtype":"JAM_STAND_STILL_TRAFFIC","reported_by":"world_9pfypoe5","description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:39:39.000Z","country":"TC","city":null,"street":"Exit 43 > D65 - Al Manara St","latitude":25.141614,"longitude":55.21943,"num_thumbs_up":0,"alert_reliability":5,"alert_confidence":0,"near_by":"Al Quoz Industrial Area 1 القوز الصناعية","comments":[],"num_comments":0},{"alert_id":"16219381","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-22T23:26:56.000Z","country":"TC","city":"Dubai Creek Harbour","street":null,"latitude":25.190012,"longitude":55.359005,"num_thumbs_up":0,"alert_reliability":6,"alert_confidence":0,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"72397033","type":"JAM","subtype":"JAM_STAND_STILL_TRAFFIC","reported_by":null,"description":null,"image":null,"publish_datetime_utc":"2025-01-25T10:11:30.000Z","country":"TC","city":"Al Barsha South 1 البرشاء جنوب","street":"D63 - Umm Suqeim St","latitude":25.086842,"longitude":55.247912,"num_thumbs_up":2,"alert_reliability":8,"alert_confidence":1,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1265363076","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2024-12-23T16:31:26.000Z","country":"TC","city":"Al Hosn الحصن","street":null,"latitude":24.480105,"longitude":54.356175,"num_thumbs_up":2,"alert_reliability":8,"alert_confidence":1,"near_by":null,"comments":[],"num_comments":0},{"alert_id":"1726271170","type":"ROAD_CLOSED","subtype":"ROAD_CLOSED_EVENT","reported_by":"alnaqbi9","description":null,"image":null,"publish_datetime_utc":"2025-01-15T20:37:56.000Z","country":"TC","city":"Al Warqa'a 1 الورقاء","street":"13 Street","latitude":25.193604,"long...
                                                                                                                                                                                                                    
                                                                                                    

Get Alerts and Jams - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/7677/urban+congestion+alerts+api/12441/get+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' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Alertas de Congestión Urbana API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Alertas de Congestión Urbana API FAQs

La API devuelve alertas en tiempo real e información sobre atascos de tráfico, incluyendo detalles sobre cierres de carreteras, accidentes y otros incidentes que afectan el flujo de tráfico. Cada alerta o atasco incluye atributos como tipo, ubicación y fiabilidad.

Los campos clave en la respuesta incluyen `alert_id`, `type`, `latitude`, `longitude`, `publish_datetime_utc` y `alert_reliability`. Estos campos proporcionan información esencial sobre cada alerta o congestión.

Los datos de respuesta están estructurados en un formato JSON, que contiene un `status`, `request_id`, `parameters` y un objeto `data`. El objeto `data` incluye arreglos para `alerts` y `jams`, cada uno conteniendo información detallada sobre incidentes individuales.

La API proporciona información sobre varios incidentes relacionados con el tráfico, incluidos alertas policiales, embotellamientos, cierres de carreteras y sitios de construcción. Estos datos ayudan a los usuarios a comprender las condiciones de tráfico actuales en un área específica.

Los usuarios pueden especificar parámetros como pares de latitud y longitud `inferior_izquierda` y `superior_derecha` para definir el área geográfica para la recuperación de datos. Parámetros adicionales como `max_alertas` y `max_tráfico` pueden limitar el número de resultados devueltos.

Los usuarios pueden personalizar las solicitudes ajustando las coordenadas geográficas y el número máximo de alertas y atascos que desean recibir. Esto permite respuestas personalizadas basadas en necesidades específicas o áreas de interés.

Los datos provienen de la comunidad de Waze, que informa sobre las condiciones de tráfico e incidentes en tiempo real. Esta información recopilada de manera colaborativa ayuda a mantener la precisión y relevancia en las alertas y congestiones proporcionadas.

Si la API devuelve resultados parciales o vacíos, los usuarios deben verificar el área geográfica y los parámetros especificados. Ajustar las coordenadas o aumentar los límites para las alertas y congestiones puede proporcionar datos más completos.

General FAQs

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 1.000 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 1.000 requests per month, this header will display 1.000.

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 3.600, it means 3.600 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 give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar