La API de Información de Direcciones permite a los usuarios acceder a detalles completos de rutas entre diferentes ubicaciones. Al utilizar esta API, los usuarios pueden obtener direcciones precisas para varios métodos de transporte. Esta funcionalidad no solo mejora la experiencia del usuario, sino que también apoya la creación de aplicaciones que requieren capacidades de navegación.
La API opera tomando un par de coordenadas de origen y destino y procesando la solicitud para entregar información de direcciones completa. Esto incluye la distancia estimada y la duración del viaje, que son cruciales para que los usuarios planifiquen sus viajes. La precisión de estos datos se ve significativamente mejorada por la capacidad de la API para tener en cuenta las condiciones de tráfico en tiempo real, asegurando que los usuarios reciban las rutas más eficientes. Esta característica es particularmente beneficiosa en áreas urbanas, donde los patrones de tráfico pueden ser impredecibles y afectan en gran medida los tiempos de viaje.
En resumen, la API de Información de Direcciones es una herramienta esencial para los usuarios que buscan incorporar características de navegación en sus aplicaciones. Su capacidad para proporcionar información de enrutamiento precisa, detallada y eficiente mejora la experiencia general del usuario y permite el desarrollo de aplicaciones más atractivas y prácticas.
Para usar este endpoint, debes especificar un origen y un destino en los parámetros.
Rastreador de Direcciones - Características del Endpoint
Objeto | Descripción |
---|---|
origin |
[Requerido] Indicates an origin |
destination |
[Requerido] Indicates an destination. |
{
"geocoded_waypoints" :
[
{
"geocoder_status" : "OK",
"partial_match" : true,
"place_id" : "ChIJzzgyJU--woARcZqceSdQ3dM",
"types" :
[
"amusement_park",
"establishment",
"point_of_interest",
"tourist_attraction"
]
},
{
"geocoder_status" : "OK",
"partial_match" : true,
"place_id" : "ChIJa147K9HX3IAR-lwiGIQv9i4",
"types" :
[
"amusement_park",
"establishment",
"point_of_interest",
"tourist_attraction"
]
}
],
"routes" :
[
{
"bounds" :
{
"northeast" :
{
"lat" : 34.1362092,
"lng" : -117.9221251
},
"southwest" :
{
"lat" : 33.815744,
"lng" : -118.3526827
}
},
"copyrights" : "Map data ©2024 Google",
"legs" :
[
{
"distance" :
{
"text" : "35.1 mi",
"value" : 56469
},
"duration" :
{
"text" : "46 mins",
"value" : 2784
},
"end_address" : "Anaheim, CA 92802, USA",
"end_location" :
{
"lat" : 33.815744,
"lng" : -117.9225876
},
"start_address" : "100 Universal City Plaza, Universal City, CA 91608, USA",
"start_location" :
{
"lat" : 34.134496,
"lng" : -118.3514803
},
"steps" :
[
{
"distance" :
{
"text" : "0.4 mi",
"value" : 602
},
"duration" :
{
"text" : "2 mins",
"value" : 138
},
"end_location" :
{
"lat" : 34.1329669,
"lng" : -118.3526827
},
"html_instructions" : "Head \u003cb\u003enortheast\u003c/b\u003e on \u003cb\u003eUniversal Studios Blvd\u003c/b\u003e",
"polyline" :
{
"points" : "s{ioEvojqUKGGCGCECGCGCICICICGAECKACAGAIAGAGAG?IAQAMAI?i@?O@YCA?E?E?A?E@CBC@CBC@A@CBCBCB?@AB?@?@?@?@?@?@@@?@@@@@@@@?BB@?@?@?@?@?@AB?@??AB?@?ZGJCZ?TCPC@?T?B?F?H?PB@?PBLBLJFFHDB?FBB@FDB?FDB@FBB@FD@@FDB@TN?@RL@@FDB@BBBBPLb@Xj@\\D@DBTNB@DBHDHDD@FDD@FBFBHBF@PD"
},
"start_location" :
{
"lat" : 34.134496,
"lng" : -118.3514803
},
"travel_mode" : "DRIVING"
},
{
"distance" :
{
"text" : "9.6 mi",
"value" : 15487
},
"duration" :
{
"text" : "16 mins",
"value" : 963
},
"end_location" :
{
"lat" : 34.0525166,
"lng" : -118.2258658
},
"html_instructions" : "Turn \u003cb\u003eleft\u003c/b\u003e to merge onto \u003cb\u003eUS-101 S\u003c/b\u003e",
"maneuver" : "ramp-left",
"polyline" :
{
"points" : "arioEfwjqU\\UDe@Fa@BMHc@DQFU@ANa@?A?A@AJUFQJQDGTg@^k@@CNU@A`@k@?AAc@JMRSRUTURSHKDETUJMFGRSRURSPSFGLMRSPSPQNOBEBCPQBCPQRSNQDCJMDEPQFGNOPSJIHKRSRS@APQLODC?ARSLKBEFELOPQ@?TYVWVWTUTWZ[JKXYDELMPQVWTSDEHIXSVUFE`@W\\UJEJINId@WPKVQJEBCHCLIHGXQR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
"value" : 3668
},
"duration" :
{
"text" : "2 mins",
"value" : 142
},
"end_location" :
{
"lat" : 34.02653310000001,
"lng" : -118.2089557
},
"html_instructions" : "Keep \u003cb\u003eright\u003c/b\u003e to stay on \u003cb\u003eUS-101 S\u003c/b\u003e",
"maneuver" : "keep-right",
"polyline" :
{
"points" : "g{ynEt~qpUFS@GBOHa@@IDSDYFQDOT{@L[@CVk@FOFIFMBGFIHKFMPURUHITWHIJIFGJIHGNKHGPKpAi@jAg@PGXMbAa@DAbAa@~Ao@j@SXKLCd@OPGv@SNGLCb@K^GPCZEVE`@Gr@GFANAl@ERAPAZAj@A`AAB?NAF?j@AbAATA`@?jAAj@AjA?nABN@j@Bx@Fh@DV@nAPrAPLBh@F`@F\\DNBd@Dv@FT@R@Z?L?d@?NA^AJ?l@Et@Gh@CL?`@?B?L?`@@n@B^@\\DN@ZB|@Jd@DF?L@X@P?^@B?|@Cd@En@Gf@Iv@Or@QBAZK@?HEDANGBAhBw@`@]ZSLKdByABAVUJMh@g@VYTWRSNSPSLOPS?ATYPWNSJO\\g@NUJQRYJSLUR[HQLSJUJSFO\\o@N]N[FOl@yANe@Rk@rA{DdA{CPe@X{@HWFOX{@`@mAh@yAr@_CPi@Xu@d@wADKb@oAL_@HYL]Pe@Pm@Pe@L]JW?A@?RK"
},
"start_location" :
{
"lat" : 34.0525166,
"lng" : -118.2258658
},
"travel_mode" : "DRIVING"
},
{
"distance" :
{
"text" : "22.0 mi",
"value" : 35437
},
"duration" :
{
"text" : "24 mins",
"value" : 1447
},
"end_location" :
{
"lat" : 33.8261327,
"lng" : -117.9260045
},
"html_instructions" : "Merge onto \u003cb\u003eI-5 S\u003c/b\u003e",
"maneuver" : "merge",
"polyline" :
{
"points" : "yxtnE~tnpUf@cB\\gAVu@@CHWJ]Ni@H]FSJi@Nm@Ha@VmALk@DWH]F[Le@DOHYFS@GHUTu@DKJ[?AXw@JYJ]J[FSBGJ[BIFSFOBIHWL_@@ARq@JW@EJ[DMDMJ[B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@w@dAeAnAkAjAiA\\]pBkBpAoAv@s@XYj@k@`@_@`A_ADGLMz@y@\\]HIz@y@TSRQLOLIXWTUrAoAl@k@f@g@^]^]j@k@d@c@HIFIJIFGNSRUPUNSPUDGLS^k@NYXc@Xg@NW^m@LU`@q@FIVc@?AR[NULUPWNUV_@^e@@ANSRULMVWRSRSRSRS|@}@d@g@f@g@^]PQHIf@g@b@c@TUJMj@i@X...
curl --location --request GET 'https://zylalabs.com/api/5170/directions+information+api/6625/directions+tracker?origin=Universal Studios Hollywood&destination=Disneyland' --header 'Authorization: Bearer YOUR_API_KEY'
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. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Para usar esta API, los usuarios deben indicar una fuente y un destino.
Hay diferentes planes que se adaptan a todos, incluyendo una prueba gratuita para.
La API de Información de Direcciones te permite calcular rutas, obtener direcciones detalladas, estimar tiempos de viaje y optimizar trayectos entre múltiples puntos.
La API de Direcciones recibe un origen y un destino, y devuelve información sobre la ruta, tiempos de viaje, distancias y pasos de navegación detallados.
Además del número de llamadas a la API por mes, no hay otras limitaciones.
El endpoint de Directions Tracker devuelve información detallada sobre la ruta, incluidos los puntos de referencia geocodificados, las distancias de viaje estimadas, los tiempos de viaje y las instrucciones de navegación paso a paso.
Los campos clave incluyen "geocoded_waypoints" para detalles de ubicación, "routes" para información de rutas, "bounds" para límites geográficos y "copyrights" para derechos de uso de datos.
Los datos de respuesta están estructurados en formato JSON, con objetos anidados para puntos de interés y rutas, lo que permite un fácil acceso a detalles específicos como el tiempo de viaje y la distancia.
El punto final proporciona información sobre distancias de rutas, tiempos de viaje estimados, direcciones paso a paso y puntos de referencia geocodificados para las ubicaciones de origen y destino.
Los usuarios pueden especificar parámetros como las coordenadas de "origen" y "destino" para personalizar sus solicitudes de rutas específicas.
La precisión de los datos se mejora al incorporar las condiciones de tráfico en tiempo real, lo que ayuda a proporcionar las rutas más eficientes basadas en los patrones de tráfico actuales.
Los casos de uso típicos incluyen aplicaciones de planificación de viajes, herramientas de navegación y sistemas de gestión logística que requieren enrutamiento preciso y estimaciones de tiempo de viaje.
Los usuarios pueden extraer campos específicos como el tiempo de viaje y la distancia de la respuesta para informar a los usuarios sobre la duración del viaje y optimizar los planes de viaje según las condiciones en tiempo real.
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.
Nivel de Servicio:
60%
Tiempo de Respuesta:
2.150,39ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
143,17ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
345,49ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
19.513,72ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
707,75ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
91,45ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.389,63ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
82,37ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.152,78ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
546,02ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
998,34ms
Nivel de Servicio:
87%
Tiempo de Respuesta:
1.799,37ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.310,53ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
16.555,23ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
16.555,23ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.223,15ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
16.555,23ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.110,09ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
16.555,23ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.454,32ms