{"status":"OK","request_id":"abd3f3bd-1b71-4eab-8c38-007a609c5d57","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":2973,"max_duration_seconds":4834,"highlights":["Fastest route now due to traffic conditions"],"distance_timing_meters_seconds":{"0":0,"187":39,"276":53,"365":77,"448":86,"556":105,"636":119,"697":124,"715":125,"786":130,"829":133,"899":137,"929":138,"980":141,"1021":143,"1151":149,"1309":155,"1430":160,"1498":163,"1547":165,"1617":168,"1796":176,"1922":181,"1954":182,"2043":186,"2114":189,"2164":192,"2233":195,"2277":196,"2353":200,"2435":203,"2547":207,"2579":208,"2610":209,"2649":210,"2695":212,"2740":214,"2858":218,"3116":227,"3180":229,"3261":232,"3285":233,"3393":236,"3584":243,"3767":249,"3793":250,"3854":252,"3896":253,"3931":254,"3951":255,"4019":257,"4318":268,"4339":269,"4399":271,"4428":272,"4489":274,"4673":280,"4749":283,"4803":285,"5003":292,"5246":300,"5328":303,"5505":309,"5558":311,"5685":315,"5749":317,"5824":319,"6114":329,"6447":340,"6495":341,"6528":343,"6782":351,"6914":356,"7019":360,"7047":360,"7138":364,"7256":368,"7393":373,"7519":378,"7710":384,"7759":386,"7888":391,"8213":402,"8332":406,"8473":411,"8584":415,"8652":418,"8730":421,"8863":426,"8990":431,"9020":433,"9554":461,"9653":467,"9724":473,"9757":476,"9814":482,"9841":484,"9890":490,"9972":499,"10020":505,"10191":524,"10254":530,"10320":537,"10427":548,"10635":568,"10699":573,"10754":578,"10809":582,"10860":586,"10938":592,"10979":595,"11048":600,"11090":603,"11185":609,"11295":617,"11436":627,"11621":641,"11721":648,"11762":651,"11859":660,"11945":668,"11985":671,"12012":674,"12111":684,"12128":685,"12167":689,"12200":692,"12295":700,"12787":733,"12853":738,"13011":750,"13070":754,"13247":769,"13345":778,"13422":785,"13495":791,"13605":801,"13693":810,"13772":817,"13805":820,"13884":829,"13974":839,"14067":850,"14111":856,"14168":864,"14222":872,"14365":892,"14428":900,"14454":903,"14487":906,"14511":908,"14538":911,"14587":915,"14702":924,"14735":927,"14797":933,"14857":938,"14914":942,"14994":949,"15036":952,"15087":956,"15098":956,"15184":962,"15234":966,"15344":975,"15381":978,"15430":982,"15489":986,"15539":989,"15599":992,"15654":995,"15693":997,"15732":999,"15788":1003,"15833":1005,"15891":1008,"15921":1009,"15947":1011,"16024":1015,"16239":1026,"16298":1029,"16328":1030,"16455":1034,"16763":1044,"16999":1052,"17120":1056,"17181":1058,"17205":1058,"17240":1060,"17344":1063,"17463":1067,"17779":1077,"17926":1081,"18013":1084,"18178":1090,"18320":1095,"18386":1097,"18453":1099,"18789":1110,"19010":1118,"19058":1119,"19220":1125,"19807":1144,"19906":1148,"19936":1149,"20032":1152,"20141":1156,"20252":1159,"20385":1164,"20483":1167,"20760":1177,"20964":1184,"21209":1192,"21684":1208,"21729":1210,"21898":1216,"22130":1224,"22356":1232,"22549":1238,"22678":1243,"22763":1245,"22930":1251,"23090":1256,"23159":1259,"23229":1261,"23306":1263,"23335":1264,"23359":1265,"23418":1267,"23492":1269,"24085":1288,"24261":1293,"24379":1297,"24535":1303,"24580":1304,"24770":1311,"24898":1315,"25027":1320,"25316":1330,"25360":1331,"25419":1333,"25639":1341,"25771":1345,"25957":1351,"26085":1355,"26132":1357,"26280":1362,"26346":1364,"26377":1365,"26489":1369,"26559":1371,"26602":1372,"26640":1374,"26692":1375,"26806":1379,"26995":1385,"27256":1393,"27275":1394,"27335":1396,"27779":1410,"27824":1411,"27974":1416,"28047":1418,"28435":1431,"28598":1436,"28674":1439,"28717":1440,"28948":1447,"29237":1456,"29278":1458,"29374":1461,"29551":1466,"29883":1477,"30116":1484,"30440":1495,"30483":1496,"30583":1499,"30602":1500,"30732":1504,"31171":1518,"31689":1535,"32003":1545,"32187":1551,"32330":1555,"32465":1560,"32583":1563,"32724":1568,"32928":1575,"33034":1579,"33179":1584,"33193":1584,"33219":1585,"33249":1586,"33317":1588,"33351":1590,"33421":1592,"33488":1594,"33518":1595,"33563":1597,"33631":1599,"33751":1603,"33836":1607,"33874":1608,"33912":1609,"34078":1616,"34184":1620,"34230":1622,"34276":1624,"34333":1626,"34410":1629,"34448":1630,"34502":1632,"34582":1635,"34657":1638,"34828":1645,"35188":1660,"35211":1661,"35371":1667,"35416":1669,"35494":1672,"35551":1674,"35815":1685,"35885":1688,"35955":1691,"36094":1697,"36157":1700,"36382":1710,"36582":1718,"36690":1723,"36883":1733,"36959":1737,"37021":1740,"37075":1743,"37164":1748,"37187":1749,"37279":1754,"37344":1758,"37470":1765,"37501":1766,"37562":1769,"37606":1771,"37641":1773,"37905":1785,"38206":1798,"38278":1801,"38322":1802,"38391":1805,"38692":1816,"38820":1820,"39216":1834,"39328":1838,"39420":1842,"39641":1849,"39694":1851,"39772":1854,"39786":1854,"39830":1856,"39854":1856,"39893":1858,"39952":1860,"39990":1861,"40022":1862,"40050":1863,"40073":1864,"40112":1866,"40149":1867,"40175":1868,"40269":1871,"40387":1876,"40420":1877,"40466":1879,"40522":1881,"40587":1884,"40618":1885,"40647":1886,"40695":1888,"40733":1889,"40786":1892,"40882":1895,"40918":1897,"41000":1901,"41038":1903,"41109":1906,"41198":1910,"41229":1912,"41260":1914,"41306":1916,"41394":1920,"41476":1925,"41549":1928,"41690":1934,"41772":1938,"41884":1943,"41946":1946,"42079":1951,"42259":1958,"42383":1962,"42429":1964,"42458":1965,"42566":1969,"42665":1973,"42787":1977,"42984":1984,"43052":1986,"43178":1991,"43318":1997,"43339":1998,"43397":2000,"43417":2001,"43512":2005,"43650":2011,"43727":2014,"43826":2018,"43917":2022,"44019":2025,"44108":2029,"44241":2034,"44314":2037,"44361":2040,"44684":2056,"44781":2061,"44888":2067,"44949":2071,"45085":2078,"45127":2080,"45198":2084,"45249":2087,"45490":2100,"45630":2107,"45695":2110,"45844":2115,"46015":2122,"46129":2126,"46250":2131,"46313":2133,"46373":2136,"46454":2140,"46531":2144,"46610":2147,"47266":2177,"47313":2179,"47427":2184,"47572":2190,"47733":2197,"47813":2201,"47857":2203,"47991":2209,"48133":2215,"48221":2219,"48270":2220,"48391":2225,"48591":2232,"48716":2237,"48792":2239,"48856":2242,"49213":2254,"49264":2256,"49308":2257,"49364":2259,"49521":2265,"49604":2267,"49661":2269,"49701":2271,"49867":2276,"49922":2278,"50000":2281,"50284":2290,"50354":2292,"50463":2296,"50587":2300,"50839":2308,"50919":2311,"51044":2315,"51105":2317,"51252":2322,"51315":2324,"51390":2326,"51446":2328,"51647":2335,"51799":2341,"51949":2346,"52129":2353,"52278":2358,"52363":2361,"52376":2362,"52392":2362,"52442":2364,"52489":2366,"52516":2367,"52552":2368,"52987":2384,"53059":2386,"53167":2390,"53241":2393,"53329":2396,"53394":2399,"53674":2409,"53925":2419,"54162":2428,"54259":2432,"54324":2434,"54478":2441,"54515":2443,"54590":2445,"54752":2451,"54800":2452,"54843":2453,"54912":2456,"54946":2457,"55118":2462,"55250":2467,"55368":2471,"55573":2478,"55702":2482,"55751":2484,"55792":2485,"55829":2486,"55855":2487,"55905":2489,"55928":2490,"56035":2493,"56096":2495,"56237":2499,"56281":2501,"56352":2503,"56534":2509,"56597":2511,"56625":2512,"56784":2518,"56819":2519,"56853":2520,"56888":2521,"56996":2525,"57030":2526,"57073":2527,"57111":2528,"57286":2534,"57539":2542,"57622":2545,"57690":2547,"57914":2555,"58289":2567,"58346":2569,"58406":2571,"58737":2582,"58785":2584,"59101":2594,"59320":2601,"59470":2606,"59724":2614,"59787":2616,"59871":2618,"59954":2621,"60013":2623,"60039":2624,"60145":2627,"60203":2629,"60368":2635,"60466":2638,"60487":2639,"60528":2640,"60684":2646,"60759":2648,"60809":2650,"60874":2652,"61021":2657,"61090":2660,"61147":2661,"61241":2665,"61265":2665,"61435":2671,"61553":2675,"61602":2676,"61698":2680,"61749":2681,"61851":2685,"61894":2686,"61944":2688,"61995":2690,"62113":2694,"62233":2698,"62287":2699,"62363":2702,"62443":2705,"62545":2708,"62625":2711,"62714":2714,"62787":2717,"62948":2722,"63096":2727,"63190":2731,"63308":2735,"63348":2736,"63433":2739,"63456":2740,"63618":2745,"63711":2748,"63790":2751,"63844":2753,"63888":2754,"63978":2758,"64004":2759,"64080":2761,"64143":2764,"64204":2766,"64274":2768,"64416":2773,"64461":2775,"64566":2779,"64609":2780,"64726":2784,"64845":2789,"65402":2808,"66104":2832,"66349":2840,"66428":2843,"66519":2846,"66788":2856,"66838":2857,"66954":2862,"67020":2864,"67197":2870,"67272":2873,"67503":2880,"67760":2888,"67834":2891,"68023":2898,"68098":2900,"68389":2910,"68484":2914,"68616":2918,"68668":2920,"68770":2923,"68872":2926,"68955":2929,"69067":2933,"69175":2940,"69266":2950,"69329":2968,"69362":2981,"69392":2992,"69417":3000,"69438":3003,"69569":3026,"69658":3042,"69677":3045,"69694":3048,"69737":3059,"69840":3082,"69856":3085,"69982":3101,"69987":3101,"69992":3102,"70340":3129,"70418":3136,"70453":3140,"70749":3163,"70777":3165,"70859":3173,"71123":3192,"71312":3211,"71342":3214,"71392":3219,"71412":3221,"71460":3227,"71477":3229,"71510":3232,"71581":3239,"71602":3240,"71620":3242,"71634":3243,"71657":3244,"71684":3245,"71705":3247,"71742":3249,"71781":3252,"71816":3254,"71838":3256,"71944":3265,"72031":3272,"72124":3280,"72142":3282,"72168":3285,"72177":3286,"72236":3293,"72308":3299,"72325":3301,"72367":3304,"72534":3314,"72724":3325,"72770":3328,"72839":3333,"72892":3337,"72973":3341,"73154":3352,"73242":3357,"73397":3367,"73530":3379,"73564":3389},"notes":[],"departure_timestamp":1733844959,"departure_datetime_utc":"2024-12-10T15:35:59.000Z","arrival_timestamp":1733847832,"arrival_datetime_utc":"2024-12-10T16:23:52.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}]}]}]},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/5762/smart+navigation+api/7492/get+driving+directions?origin=Church St & 29th St, San-Francisco, CA, USA&destination=Sunnyvale, CA, USA' --header 'Authorization: Bearer YOUR_API_KEY'
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 Smart Navigation API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
The Smart Navigation API is your go-to solution for retrieving precise and real-time navigation information. Designed for users and businesses, this API provides detailed driving routes, distance calculations, estimated travel times, and turn-by-turn instructions to ensure efficient navigation from any origin to destination. Powered by Google Maps, the API delivers reliable and accurate data tailored to various use cases, including ride-hailing services, logistics, delivery management, and personal navigation tools. Its robust functionality supports dynamic updates, enabling seamless integration into applications that demand real-time route optimization. With parameters for specifying origin and destination, the Smart Navigation API offers versatility, allowing users to retrieve the fastest routes, avoid tolls, or incorporate traffic conditions. Ideal for applications aiming to enhance user experiences or optimize operations, this API integrates smoothly into diverse workflows. Whether you're creating a travel app or managing fleet logistics, the Smart Navigation API ensures your users arrive on time and with confidence. Its scalability and developer-friendly design make it a top choice for both startups and established businesses. Simplify navigation and improve operational efficiency with this trusted tool.
The Smart Navigation API provides detailed driving routes, distance calculations, estimated travel times, and turn-by-turn instructions. It also supports dynamic updates, allowing for real-time route optimization based on traffic conditions and user preferences.
The Smart Navigation API is designed for seamless integration into various applications. You can specify parameters such as origin and destination to retrieve navigation data. The API is developer-friendly, making it suitable for both startups and established businesses.
Yes, the Smart Navigation API allows users to retrieve the fastest routes while incorporating options to avoid tolls and consider current traffic conditions, ensuring efficient navigation.
The Smart Navigation API is ideal for a range of users, including ride-hailing services, logistics companies, delivery management systems, and personal navigation tools, enhancing user experiences and optimizing operations.
Absolutely! The Smart Navigation API is designed to be scalable, making it a top choice for both small startups and large enterprises that require reliable navigation solutions for their applications.
The Smart Navigation API returns detailed driving directions, including distance, estimated travel time, and turn-by-turn instructions. It also provides route highlights and dynamic updates based on current traffic conditions.
Key fields in the response include `status`, `request_id`, `best_routes`, `distance_meters`, `duration_seconds`, and `highlights`. These fields provide essential information about the route and its characteristics.
The response data is structured in a JSON format, with a top-level object containing `status` and `request_id`, followed by a `data` object that includes an array of `best_routes`, each detailing route specifics like distance and duration.
The primary parameters for the endpoint are `origin` and `destination`. Users can customize their requests by adding options to avoid tolls or to prioritize routes based on traffic conditions.
The endpoint provides information on driving routes, including total distance, estimated travel time, turn-by-turn instructions, and traffic-based route adjustments, ensuring users have comprehensive navigation data.
Data accuracy is maintained through integration with Google Maps, which continuously updates traffic conditions and route information. This ensures that users receive reliable and timely navigation data.
Typical use cases include ride-hailing services optimizing routes for drivers, logistics companies managing fleet deliveries, and personal navigation apps providing users with real-time directions and traffic updates.
Users can utilize the returned data by parsing the JSON response to extract relevant fields, such as `best_routes` for navigation, and displaying turn-by-turn instructions in their applications for enhanced user experience.
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