# Bay Area Google Maps Route Extractor

**Use case:** 

Scrape Google Maps driving distances and durations for San Francisco Bay Area origin-destination rows.

## Input

```json
{
  "routes": [
    {
      "origin": "San Francisco, CA",
      "destination": "San Jose, CA",
      "mode": "driving"
    },
    {
      "origin": "Oakland, CA",
      "destination": "Palo Alto, CA",
      "mode": "driving"
    }
  ],
  "mode": "driving",
  "locale": "en",
  "country": "us",
  "maxRouteOptionsPerPair": 2,
  "requestDelayMs": 1000
}
```

## Output

```json
{
  "origin": {
    "label": "Origin"
  },
  "destination": {
    "label": "Destination"
  },
  "travelMode": {
    "label": "Mode"
  },
  "routeOptionIndex": {
    "label": "Option"
  },
  "routeLabel": {
    "label": "Route"
  },
  "distanceText": {
    "label": "Distance"
  },
  "distanceMeters": {
    "label": "Meters"
  },
  "durationText": {
    "label": "Duration"
  },
  "durationSeconds": {
    "label": "Seconds"
  },
  "warnings": {
    "label": "Warnings"
  },
  "hasTolls": {
    "label": "Tolls"
  },
  "hasFerries": {
    "label": "Ferries"
  },
  "locale": {
    "label": "Locale"
  },
  "country": {
    "label": "Country"
  },
  "routeUrl": {
    "label": "Route URL"
  },
  "previewUrl": {
    "label": "Preview URL"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Directions Scraper](https://apify.com/automation-lab/google-maps-directions-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/google-maps-directions-scraper) to learn more, explore other use cases, and run it yourself.