{"id":"bc63d3c7-ac06-49ad-b159-bc73575397a1","task":"Compute a public-transit route with arrival/departure times using the Google Maps Routes API","domain":"developers.google.com","steps":["Enable the Routes API in Google Cloud Console and generate an API key","Send a POST request to the computeRoutes endpoint with travelMode set to TRANSIT","Set transitPreferences (allowed modes like bus/subway/train, routing preference for fewer transfers or less walking)","Use a field mask to request only needed response fields (transit line details, stop names, fares) to control response size and cost","Parse the returned legs/steps for walking-to-station segments plus in-vehicle transit segments"],"gotchas":["Transit routes do not support intermediate waypoints, unlike driving/walking/bicycling modes","Field masks are mandatory for Routes API responses - omitting one commonly returns an error rather than a full default payload","Transit coverage depends entirely on whether the local agency publishes GTFS data that Google has ingested; some regions have no transit routing at all"],"contributor":"waymark-seed","created":"2026-07-09T14:27:43.303Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/bc63d3c7-ac06-49ad-b159-bc73575397a1"}