The Dynamic Route Planner API offers precise and dynamic navigation for efficient journey planning. Users can retrieve detailed driving directions, including distance, estimated time, and turn-by-turn instructions, tailored to real-time traffic conditions. This API supports features like route optimization, avoidance of toll roads, and traffic-aware paths to ensure efficient navigation. Ideal for ride-hailing, logistics, and delivery platforms, the API adapts to diverse operational needs. With its seamless integration and reliable performance, businesses can improve delivery times, reduce fuel costs, and enhance user experiences. Whether you’re optimizing fleet routes or building a personal navigation app, this API delivers trusted results for users on the move.
Get Route Details - Endpoint Features
Object | Description |
---|---|
origin |
[Required] Directions origin / starting point - specified as free-text location query or latitude, longitude pair. |
destination |
[Required] Directions destination - specified as free-text location query or latitude, longitude pair. |
departure_time |
[Optional] Departure time - specified as a Unix-Timestamp in origin local time. |
arrival_time |
[Optional] Arrival time - specified as a Unix-Timestamp in destination local time. |
distance_units |
[Optional] Set the distance units in the response to Kilometers or Miles. The default auto value will use the common distance units used in origin/destination (e.g. Miles in the US, Kilometers in Germany). |
avoid_routes |
[Optional] Route types to avoid - specified as a comma delimited list of the following values: tolls, highways, ferries. |
country |
[Optional] The country/region to use for the query, specified as a 2-letter country code - see ISO 3166-1 alpha-2. |
language |
[Optional] The language to use for the query, specified as a 2-letter language code - see ISO 639-1 alpha-2. |
{"status":"OK","request_id":"503f3690-4640-4696-ae82-381714218405","data":{"best_routes":[{"route_name":"I-280 S","distance_meters":73564,"distance_label":"45.7 miles","duration_seconds":2873,"duration_label":"48 min","min_duration_seconds":2527,"max_duration_seconds":3553,"highlights":["Fastest route now due to traffic conditions"],"distance_timing_meters_seconds":{"0":0,"9":1,"187":32,"276":46,"328":61,"365":71,"448":80,"556":103,"636":117,"697":122,"715":123,"786":128,"829":131,"899":135,"980":139,"1021":141,"1151":147,"1309":154,"1382":157,"1430":159,"1498":162,"1547":164,"1796":174,"1866":177,"1922":179,"1954":181,"1992":183,"2114":188,"2233":194,"2277":196,"2353":199,"2435":203,"2547":206,"2579":208,"2649":210,"2740":214,"2789":215,"2907":219,"3057":225,"3180":229,"3261":231,"3393":236,"3535":241,"3584":242,"3668":245,"3767":248,"3854":251,"3896":252,"3931":254,"3951":254,"4250":265,"4318":268,"4399":270,"4428":272,"4489":274,"4749":283,"4912":289,"5087":296,"5246":303,"5293":305,"5328":307,"5431":311,"5505":314,"5558":316,"5653":320,"5685":321,"5824":326,"6024":333,"6114":336,"6144":337,"6224":340,"6356":344,"6410":346,"6447":347,"6581":351,"6638":353,"6689":355,"6782":358,"6914":362,"6932":363,"7019":366,"7047":367,"7138":370,"7256":374,"7393":379,"7519":383,"7710":390,"7888":396,"8015":400,"8099":402,"8213":406,"8260":408,"8332":410,"8473":414,"8584":418,"8652":420,"8863":427,"9020":433,"9554":451,"9653":455,"9757":458,"9972":466,"10020":467,"10191":474,"10320":478,"10427":482,"10502":485,"10635":490,"10699":492,"10754":494,"10809":496,"10860":497,"10938":500,"10979":502,"11090":506,"11295":513,"11436":518,"11539":521,"11621":524,"11650":525,"11762":529,"11859":533,"11945":536,"11985":537,"12111":542,"12200":545,"12295":548,"12787":564,"13011":571,"13070":573,"13183":576,"13375":582,"13422":584,"13495":586,"13605":589,"13693":592,"13772":594,"13805":595,"13884":598,"13974":601,"14067":603,"14111":605,"14222":608,"14345":612,"14365":613,"14428":615,"14454":616,"14487":617,"14511":618,"14538":619,"14587":621,"14638":622,"14702":625,"14797":628,"14914":632,"14994":635,"15015":635,"15036":636,"15087":638,"15098":638,"15184":641,"15234":642,"15344":646,"15381":647,"15430":649,"15489":650,"15539":652,"15599":654,"15654":656,"15693":657,"15732":658,"15812":661,"15833":662,"15947":666,"16024":668,"16138":672,"16298":677,"16328":678,"16455":682,"16649":688,"16804":692,"16999":698,"17120":702,"17181":704,"17240":705,"17344":709,"17664":718,"17779":722,"17926":727,"17947":728,"18013":730,"18098":732,"18178":735,"18252":737,"18386":742,"18789":755,"19010":763,"19355":774,"19671":784,"19936":793,"20032":796,"20085":798,"20223":802,"20385":807,"20483":811,"20531":812,"20964":826,"21209":833,"21397":839,"22130":863,"22356":870,"22549":876,"22639":879,"22678":880,"22763":882,"22878":886,"22996":890,"23090":892,"23159":894,"23229":897,"23306":899,"23335":900,"23359":901,"23384":901,"23418":902,"23806":914,"24085":922,"24261":928,"24379":931,"24535":936,"24580":938,"24770":944,"24898":948,"24982":951,"25027":952,"25148":956,"25316":962,"25360":963,"25491":967,"25639":972,"25957":982,"26085":986,"26178":989,"26208":990,"26346":994,"26489":999,"26559":1001,"26602":1002,"26640":1003,"26806":1008,"26995":1014,"27097":1017,"27177":1020,"27256":1022,"27335":1025,"27397":1027,"27779":1038,"27824":1039,"27897":1041,"27974":1044,"28277":1053,"28373":1056,"28556":1061,"28674":1065,"29237":1082,"29551":1091,"29711":1096,"30116":1109,"30207":1111,"30321":1115,"30374":1116,"30483":1120,"30732":1128,"30835":1131,"31022":1137,"31221":1143,"31293":1145,"31689":1157,"31804":1161,"31879":1163,"32003":1167,"32330":1177,"32465":1181,"32583":1184,"32724":1189,"32789":1191,"33034":1198,"33137":1201,"33219":1204,"33249":1205,"33317":1207,"33351":1208,"33421":1210,"33488":1212,"33631":1217,"33751":1220,"33836":1223,"33874":1224,"34135":1233,"34448":1243,"34657":1249,"34785":1253,"35051":1263,"35211":1268,"35371":1273,"35416":1274,"35494":1277,"35650":1282,"35695":1283,"35815":1287,"35885":1289,"36094":1296,"36157":1298,"36274":1301,"36382":1305,"36424":1306,"36501":1309,"36690":1315,"36756":1317,"36883":1321,"36928":1322,"36959":1323,"37021":1325,"37075":1327,"37120":1328,"37279":1333,"37344":1335,"37714":1347,"37771":1348,"37987":1355,"38322":1366,"38692":1377,"39008":1387,"39328":1397,"39786":1411,"39830":1412,"39854":1413,"40050":1419,"40073":1420,"40112":1421,"40130":1422,"40149":1422,"40587":1436,"40647":1438,"40695":1439,"40786":1442,"40850":1444,"40882":1445,"40918":1446,"41000":1449,"41038":1450,"41476":1464,"41772":1473,"41946":1479,"42079":1483,"42259":1488,"42429":1493,"42566":1498,"42665":1501,"43052":1512,"43178":1516,"43226":1517,"43339":1521,"43417":1523,"43512":1527,"43588":1530,"43727":1534,"43826":1537,"43917":1540,"44019":1543,"44108":1546,"44241":1550,"44314":1552,"44361":1554,"44611":1562,"45490":1588,"45630":1593,"45695":1595,"46064":1606,"46250":1612,"46313":1614,"46373":1616,"46419":1617,"46531":1621,"46610":1623,"47266":1644,"47313":1646,"47427":1649,"47572":1654,"47733":1658,"47813":1661,"47857":1662,"47991":1667,"48133":1671,"48221":1674,"48391":1679,"48591":1686,"48716":1690,"49213":1706,"49264":1707,"49364":1711,"49413":1712,"49439":1713,"49867":1726,"49922":1728,"50000":1731,"50035":1732,"50231":1738,"50354":1741,"50513":1746,"50779":1754,"50839":1756,"50919":1758,"50957":1759,"51044":1762,"51105":1764,"51252":1768,"51315":1770,"51342":1771,"51390":1773,"51446":1774,"51482":1776,"51529":1777,"51619":1780,"51647":1781,"51731":1783,"51865":1788,"52062":1794,"52129":1796,"52155":1797,"52220":1799,"52278":1800,"52376":1803,"52392":1804,"52442":1805,"52489":1807,"52516":1808,"52552":1809,"52661":1812,"52696":1813,"52987":1822,"53059":1824,"53102":1826,"53241":1830,"53329":1833,"53394":1835,"53480":1838,"53545":1840,"53597":1841,"53823":1848,"54058":1855,"54162":1859,"54224":1860,"54259":1862,"54324":1864,"54368":1865,"54478":1868,"54515":1870,"54550":1871,"54590":1872,"54800":1878,"54843":1880,"54878":1881,"54946":1883,"55032":1886,"55070":1887,"55118":1888,"55276":1893,"55368":1896,"55469":1900,"55513":1901,"55573":1903,"55616":1904,"55702":1907,"55751":1909,"55829":1911,"55905":1914,"55928":1914,"56035":1918,"56096":1920,"56141":1921,"56352":1928,"56470":1932,"56534":1934,"56597":1936,"56625":1937,"56784":1942,"56888":1945,"56936":1947,"56996":1949,"57154":1954,"57286":1958,"57476":1964,"57578":1967,"57622":1969,"57690":1971,"57740":1973,"57786":1974,"57914":1978,"58213":1988,"58346":1992,"58406":1994,"58670":2003,"58737":2005,"58785":2007,"58990":2013,"59320":2023,"59470":2027,"59724":2035,"59787":2037,"59826":2038,"59954":2042,"59985":2043,"60013":2044,"60039":2045,"60145":2048,"60203":2050,"60301":2054,"60427":2058,"60466":2059,"60487":2060,"60528":2061,"60594":2063,"60684":2066,"60759":2069,"60809":2071,"60874":2073,"60944":2075,"60971":2076,"61021":2077,"61090":2079,"61147":2081,"61265":2085,"61435":2090,"61553":2094,"61602":2095,"61698":2099,"61851":2103,"61894":2105,"61944":2107,"62065":2110,"62233":2116,"62287":2117,"62363":2120,"62545":2126,"62625":2129,"62714":2132,"62846":2136,"63096":2144,"63402":2154,"63456":2156,"63563":2159,"63618":2161,"63658":2162,"63711":2164,"63746":2165,"63790":2166,"63844":2168,"63978":2172,"64004":2173,"64080":2175,"64143":2177,"64204":2179,"64461":2188,"64566":2191,"64609":2193,"64726":2196,"64845":2200,"65402":2218,"65762":2230,"66104":2241,"66349":2249,"66428":2251,"66519":2254,"66612":2257,"66675":2259,"66838":2265,"66954":2269,"67020":2271,"67197":2277,"67272":2279,"67503":2287,"67760":2295,"67834":2297,"67912":2300,"68023":2304,"68098":2306,"68159":2308,"68286":2312,"68389":2316,"68484":2319,"68616":2323,"68668":2324,"68770":2328,"68872":2331,"68955":2334,"69067":2337,"69175":2343,"69266":2351,"69329":2359,"69362":2365,"69392":2371,"69417":2378,"69438":2381,"69569":2400,"69658":2409,"69677":2411,"69694":2413,"69737":2417,"69840":2431,"69856":2433,"69916":2441,"69982":2449,"69987":2449,"69992":2450,"70340":2473,"70418":2480,"70453":2484,"70749":2504,"70777":2506,"70859":2511,"71123":2527,"71312":2540,"71342":2542,"71392":2547,"71412":2550,"71460":2556,"71477":2558,"71510":2562,"71543":2566,"71581":2570,"71602":2572,"71620":2573,"71634":2574,"71684":2577,"71742":2580,"71781":2582,"71944":2592,"72031":2597,"72124":2604,"72142":2606,"72177":2609,"72236":2615,"72308":2622,"72325":2623,"72367":2627,"72534":2637,"72724":2648,"72770":2651,"72839":2657,"72973":2667,"73069":2672,"73154":2677,"73242":2682,"73322":2687,"73397":2693,"73530":2707,"73564":2714},"notes":[],"departure_timestamp":1733941178,"departure_datetime_utc":"2024-12-11T18:19:38.000Z","arrival_timestamp":1733944051,"arrival_datetime_utc":"2024-12-11T19:07:31.000Z","route_parts":[{"summary":"Get on I-280 S from San Jose Avenue","distance_meters":2433,"distance_label":"1.5 mi","duration_seconds":225,"duration_label":"4 min","instructions":[{"summary":"Head east on 29th St toward Dolores St","distance_meters":188,"distance_label":"0.1 mi","duration_seconds":34,"duration_label":"34 sec","notes":[],"photo_url":"https://streetviewpixels-pa.googleapis.com/v1/thumbnail?panoid=vJ-VkqrqDkt6vroNpN_3oA&cb_client=maps_sv.tactile.gps&w=1024&h=768&yaw=73.96842&pitch=0&thumbfov=100"},{"summary":"Turn right at the 1st cross street onto Dolores St","distance_meters":368,"distance_label":"0.2 mi","duration_seconds":77,"duration_label":"1 min","notes":[],"photo_url":"https://streetviewpixels-pa.googleapis.com/v1/thumbnail?panoid=wiT_N6AtRwU1YngnpAdmoQ&cb_client=maps_sv.tactile.gps&w=1024&h=768&yaw=275.4786&pitch=0&thumbfov=100"},{"summary":"Turn right onto San Jose Avenue","distance_meters":1239,"distance_label":"0.8 mi","duration_seconds":84,"duration_label":"1 min","notes":[],"photo_url":"https://streetviewpixels-pa.googleapis.com/v1/thumbnail?panoid=t3UKyZ9G4JOh12EH8Eap2w&cb_client=maps_sv.tactile.gps&w=1024&h=768&yaw=188.09184&pitch=0&thumbfov=100"},{"summary":"Use any lane to merge onto I-280 S via the ramp to Daly City","distanc...
curl --location --request GET 'https://zylalabs.com/api/5763/dynamic+route+planner+api/7493/get+route+details?origin=Church St & 29th St, San-Francisco, CA, USA&destination=Sunnyvale, CA, USA' --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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
The Dynamic Route Planner API offers features such as real-time navigation, traffic-aware driving directions, route optimization, avoidance of toll roads, and detailed travel insights including distance and estimated time.
You can integrate the Dynamic Route Planner API into your application by following the provided documentation, which includes setup instructions, endpoint details, and examples of how to make requests and handle responses.
Yes, the Dynamic Route Planner API can help reduce fuel costs by optimizing routes based on real-time traffic conditions, which leads to more efficient driving paths and reduced travel times.
Absolutely! The Dynamic Route Planner API is ideal for ride-hailing, logistics, and delivery platforms, as it adapts to diverse operational needs and enhances user experiences.
The API provides detailed travel insights such as turn-by-turn instructions, estimated time of arrival, distance, and traffic conditions, allowing for informed decision-making during journey planning.
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, look at the βX-Zyla-API-Calls-Monthly-Remainingβ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.
To see the maximum number of API requests your plan allows, check the βX-Zyla-RateLimit-Limitβ 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]
Service Level:
100%
Response Time:
953ms
Service Level:
100%
Response Time:
19,440ms
Service Level:
100%
Response Time:
759ms
Service Level:
100%
Response Time:
1,070ms
Service Level:
100%
Response Time:
708ms
Service Level:
100%
Response Time:
214ms
Service Level:
100%
Response Time:
615ms
Service Level:
100%
Response Time:
144ms
Service Level:
100%
Response Time:
173ms
Service Level:
100%
Response Time:
2,352ms
Service Level:
100%
Response Time:
376ms
Service Level:
100%
Response Time:
4,422ms
Service Level:
97%
Response Time:
9,580ms
Service Level:
100%
Response Time:
204ms
Service Level:
100%
Response Time:
3,333ms
Service Level:
100%
Response Time:
169ms
Service Level:
100%
Response Time:
167ms
Service Level:
100%
Response Time:
339ms