Skip to content
Travel Time icon

Travel Time

How long to get there, door to door

Travel Time tells you exactly how long it will take to get from one place to another โ€” by car, on foot, or by bike โ€” with live or predicted traffic.

Connect a traffic API key and it shows the actual current delay alongside the no-traffic baseline: "28 min without traffic, 41 min with current congestion." Without a key it still works, using road-speed estimates from the OpenStreetMap routing engine. Works anywhere in the world and understands plain addresses, landmarks, city names, UK postcodes, and raw "lat,lon" coordinate pairs.

What you can do

  • get_travel_time โ€” get door-to-door journey time with live traffic delay for driving, walking, or cycling
  • get_travel_time_batch โ€” score one origin against many destinations in a single call (dispatcher / "who's closest" workflows)
  • get_route โ€” get the full route as decoded coordinates, ready to plot on any map
  • See the no-traffic baseline vs current traffic side by side
  • Plan any future departure โ€” "tomorrow 8:30am", "in 2 weeks", "June 20" โ€” and see the traffic typically expected at that time
  • Compare modes by calling it once per mode

Who it's for

Anyone planning a journey and wanting a realistic time โ€” not just the optimistic GPS default. Commuters, meeting schedulers, dispatchers, delivery planners, developers building map-based features, or anyone deciding whether to drive or take a different route.

How to use it

  1. Call get_travel_time with your origin, destination, and travel mode for a quick journey summary
  2. Call get_travel_time_batch when you have one origin and several candidate destinations โ€” returns all results in a single response
  3. Call get_route when you need the actual route geometry โ€” returns all coordinates decoded and ready for Mapbox, Google Maps, Leaflet, or any mapping library
  4. Optionally pass a departure time โ€” e.g. "tomorrow 8:30am" or "Friday 5pm"

Tips

  • Pass coordinates as "lat,lon" (e.g. "51.5074,-0.1278") when you already have them โ€” skips the geocoding step entirely
  • A returned duration_minutes: 0 is a valid result for same-location requests (origin = destination). Test for success with error == null, never with the duration value
  • UK postcodes that have been retired by Royal Mail return a LOCATION_TERMINATED error โ€” ask the user for the current postcode rather than using the historic coordinates

Getting started

Works immediately with no setup. Connect a traffic API key for live traffic data.

Information

Price
Free
TomTom API Key
Enables real-time traffic data via TomTom. ยท Get key
HERE API Key
Enables real-time traffic data via HERE. ยท Get key

Related Tools

Open Pick From Text
Pick From Text icon
Pick From TextCopy the right email, phone, or amount1 skill ยท from $0.005
Open Web Scraper
Web Scraper icon
Web ScraperScrape, crawl & extract web data8 skills ยท from $0.005
Rated 4.0 of 5 โ€”7
Open Web Search
Web Search icon
Web SearchWeb, news, images & maps โ€” one tool12 skills ยท from $0.005
Rated 4.2 of 5 โ€”6
Open Lead Finder
Lead Finder icon
Lead FinderFind & enrich companies and people10 skills ยท from $0.005
Rated 3.8 of 5 โ€”4