{"uid":"cap_mZCmJGJOQ-GY7hYB6qRf4","slug":"hubvibe-route-traffic-time-60f5c290","name":"HubVibe Route & Traffic Time","description":"Travel time with live traffic between two places, from the Google Routes API at call time: duration with traffic, duration without, the delay, distance, route description, warnings and advisories. Places as addresses, names or 'lat,lng'. Use it for ETAs, delivery windows and trip planning. Input: origin, destination; optional travel_mode, departure_time, traffic.","url":"https://hubvibe-io.com/work/traffic/route?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"origin":{"type":"string","maxLength":300,"minLength":1},"traffic":{"enum":["aware","optimal","none"],"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$","maxLength":35},"destination":{"type":"string","maxLength":300,"minLength":1},"travel_mode":{"enum":["DRIVE","TWO_WHEELER","WALK","BICYCLE","TRANSIT"],"type":"string"},"departure_time":{"type":"string","format":"date-time"}}},"responseSchema":{"type":"json","example":{"result":{"as_of":"2026-09-27T16:30:00Z","origin":"Ferry Building, San Francisco, CA","source":"google-routes","traffic":"aware","advisory":{},"warnings":[],"checked_at":"2026-09-26T18:00:00Z","description":"I-80 E and I-580 E","destination":"Oakland City Hall, Oakland, CA","travel_mode":"DRIVE","delay_seconds":-129,"distance_text":"17.0 km","duration_text":"19 mins","departure_time":"2026-09-27T16:30:00Z","distance_meters":17011,"duration_seconds":1152,"static_duration_text":"21 mins","static_duration_seconds":1281},"status":"ok","worker":"traffic.route","price_usd":0.1,"provenance":{"steps":[{"ms":312,"ok":true,"step":"quote","reason":"provider_timeout","provider":"coinbase-advanced-trade-public"}],"attempts":1,"elapsed_ms":340,"providers_used":["coinbase-advanced-trade-public"]},"receipt_id":"rcpt_9f1c2b3a4d5e6f70","attribution":[{"url":"https://translate.google.com","text":"Translated by Google"}],"receipt_url":"/work/receipts/rcpt_9f1c2b3a4d5e6f70"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5gL73OOhwGNIC7LFWx5AU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns travel time (with and without live traffic), traffic delay, distance, and route details between two places using the Google Routes API.","exampleAgentPrompt":"How long will it take to drive from downtown Chicago to O'Hare Airport this Friday at 5pm with live traffic? I want to see both the traffic and no-traffic estimates.","exampleUseCases":[{"title":"Commute ETA with live traffic","prompt":"How long is my drive from Brooklyn Bridge to JFK Airport right now with current traffic? Give me the delay compared to the traffic-free estimate too."},{"title":"Future departure time planning","prompt":"I'm leaving San Francisco Caltrain station to drive to Stanford University on Monday at 8am — how long will it take with live traffic, and how does that compare to no traffic?"},{"title":"Walking distance and time check","prompt":"How long would it take to walk from the Eiffel Tower to the Louvre Museum in Paris? Just walking, no traffic needed."}],"resultDescription":"Returns duration with live traffic, duration without traffic, the delay between the two, total distance, a human-readable route description, localized text labels, and any warnings or advisories — all sourced from the Google Routes API at the time of the call.","failureModes":["Unresolvable origin or destination returns an error (ambiguous place name or geocoding failure)","departure_time in the past causes a validation error","Traffic data unavailable for non-DRIVE/TWO_WHEELER travel modes (traffic parameter ignored)","Invalid RFC 3339 format for departure_time returns a schema validation error","Google Routes API quota exceeded or service outage results in a 5xx error"],"whenToPreferThis":"Use this endpoint when you need live traffic-aware travel time and distance between two arbitrary places (addresses, place names, or coordinates) and want structured output including both traffic and no-traffic durations plus the delay delta. Prefer this over static map distance tools when real-time traffic conditions matter, or when you need localized human-readable route text and warnings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:39:58.661Z","isFirstParty":false,"canonicalSlug":"hubvibe-route-traffic-time-60f5c290"}