PricingBlogContact
Get started
Tools/SerpApi
SerpApi

Get Route Directions

/google/maps-directions

Get Google Maps directions, distances, and durations between places.

What to tell it

Say these in your message. Your AI agent fills them in when it runs the tool.

  • End addrOptionalThe address of the ending point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search. Alter…
  • HlOptionalThe language to use for the Google Maps Directions search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for Fre…
  • End coordsOptionalThe GPS coordinates of the ending point for the direction you want to search. The format is `latitude,longitude`. E.g. `30.197471099,-97.66635289`. Alternative…
  • PreferOptionalPreferred transit options. Available options: `bus` - Bus `subway` - Subway `train` - Train `tram_light_rail` - Tram and light rail You can also combine multip…
  • GlOptionalThe country to use for the Google search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France)
  • Start coordsOptionalThe GPS coordinates of the starting point for the direction you want to search. The format is `latitude,longitude`. E.g. `30.197471099,-97.66635289`. Alternati…
  • RouteOptionalRoute options. Available options: `2` - Fewer transfers `3` - Less walking `4` - Wheelchair accessible Parameter works only if `travel_mode` parameter is set t…
  • Travel modeOptionalThe travel mode. Available options: `6` - Best (Default) `0` - Driving `9` - Two-wheeler `3` - Transit `2` - Walking `1` - Cycling `4` - Flight
  • End data idOptionalThe data ID of the ending point for the direction you want to search. Find the data ID of a place using our Google Maps API. Alternatively, you can use `end_ad…
  • AvoidOptionalAvoid options. Available options: `highways` - Highways `tolls` - Tolls `ferries` - Ferries You can also combine multiple options by joining them with a comma…
  • TimeOptionalThe time to travel. Available options: `depart_at:xxxxxx` - Specifies the departure time, where `xxxxxx` is the timestamp. E.g. `depart_at:1698229538` specifie…
  • Start addrOptionalThe address of the starting point for the direction you want to search. You can use anything that you would use in a regular Google Maps Directions search. Alt…
  • Distance unitOptionalThe displayed distance unit. Available options: `1` - miles `0` - km
  • Start data idOptionalThe data ID of the starting point for the direction you want to search. Find the data ID of a place using our Google Maps API. Alternatively, you can use `star…

Use it in chat

Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.

@serpapi:/google/maps-directions

Topics

GEOMaps & Places
Price2.5 credits a call

Paid from your credits. The exact price shows before it runs, and your spending limits apply.

  • Every AI agent has it
  • Nothing to connect
  • Works in chat, Tasks and automations
Get started

More from SerpApi

All 124
Search Private MapsSearch DuckDuckGo Maps (Apple Maps data) for local places.2.5 credits a callRead Restaurant ReviewsGet diner reviews of one OpenTable restaurant.2.5 credits a callCompare Product PricesSearch Google Shopping and compare product offers across stores.2.5 credits a callAsk Naver AIAsk Naver's AI tab a question and get its cited answer.2.5 credits a callSearch Yandex WebRun a Yandex web search and get parsed organic results.2.5 credits a callGet Play ListingGet one Google Play listing with details, ratings, and reviews.2.5 credits a call

Your AI tech team. Plan, build, ship and keep improving your software with Workser.

© 2026 Workser

Platform

  • AI workforce
  • Routines
  • Identity
  • Workser Code
  • Connectors
  • Tools
  • Pricing

Use cases

  • Run your business with AI agents
  • AI coworker for office work
  • Build and run apps
  • Creative work
  • AI front desk

Company

  • FAQ
  • Blog
  • Workser HQ
  • Contact
  • Changelog
  • Status
  • For AI tools

Enterprise

  • Consulting & Training
  • Contact sales

Community

  • Discord
  • [email protected]

Get started

  • Sign up
  • Sign in

Legal

  • Security & Trust
  • Privacy Policy
  • Data deletion
  • Terms of Service
  • Refund Policy
  • Acceptable Use
  • Cookie Policy
  • Accessibility