# Google Maps Directions API (`johnvc/google-maps-directions-api`) Actor

Get Google Maps directions for any route - driving, transit, walking, cycling, or flight - with distance, ETA, and turn-by-turn steps as JSON. Use addresses, coordinates, or place IDs; avoid tolls, highways, or ferries; set departure or arrival time. MCP-ready for Claude and AI agents.

- **URL**: https://apify.com/johnvc/google-maps-directions-api.md
- **Developed by:** [John](https://apify.com/johnvc) (community)
- **Categories:** Travel, Developer tools, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🗺️ Google Maps Directions API

Get Google Maps directions between any origin and destination as structured JSON: route options for driving, transit, walking, cycling, and flight, with distance, ETA, traffic-aware duration ranges, and turn-by-turn steps. Provide addresses, GPS coordinates, or place IDs. MCP-ready so Claude and other AI agents can call it as a tool.

> **Example code (Python):** <https://github.com/johnisanerd/Apify-Google-Maps-Directions-API>

---

### 📋 What this API returns

| Field | Description |
|---|---|
| `start`, `end` | The origin and destination used for the lookup. |
| `travel_mode` | The requested mode: best, driving, cycling, walking, transit, flight, or two-wheeler. |
| `directions_found` | `true` if at least one route option was returned. |
| `directions_count` | Number of route options in `directions`. |
| `best_duration`, `best_distance` | ETA and distance of the first (recommended) option, e.g. `3 hr 38 min`, `215 miles`. |
| `places_info` | Resolved origin and destination: formatted address, place ID, and GPS coordinates. |
| `directions` | Each route option with mode, distance, duration, route summary (`via`), notes (`extensions`), and `trips` containing turn-by-turn steps. Transit options include stops, lines, operators, and times. |
| `durations` | Travel time by mode (driving, transit, walking, cycling, flight) for this origin and destination. |
| `google_maps_directions_url` | A direct Google Maps link that opens the same route in a browser. |

---

### 🎯 Use cases

- **Logistics and delivery.** Compute ETA and distance between stops to plan and price routes.
- **Travel and trip planning.** Compare driving, transit, walking, and cycling options for a journey.
- **Apps and dashboards.** Embed turn-by-turn directions and a Google Maps link without managing a maps key.
- **AI agent workflows.** Drive this API over MCP from Claude (see below) to answer "how do I get from A to B?" in-conversation.
- **Transit analysis.** Pull public-transit legs, operators, and departure/arrival times for a corridor.

---

### ⚙️ Input examples

#### Basic route (best options across modes)

```json
{
  "start_addr": "New York, NY",
  "end_addr": "Boston, MA"
}
````

#### Driving, avoid tolls and highways, in miles

```json
{
  "start_addr": "Los Angeles, CA",
  "end_addr": "San Francisco, CA",
  "travel_mode": "driving",
  "distance_unit": "miles",
  "avoid_tolls": true,
  "avoid_highways": true
}
```

#### Transit, arriving by a specific time

```json
{
  "start_addr": "Brooklyn, NY",
  "end_addr": "Times Square, New York, NY",
  "travel_mode": "transit",
  "transit_routing": "less_walking",
  "time_type": "arrive_by",
  "time_value": "2026-06-01T09:00:00"
}
```

#### Exact coordinates

```json
{
  "start_coords": "40.7128,-74.0060",
  "end_coords": "42.3601,-71.0589",
  "travel_mode": "driving"
}
```

Provide an origin and a destination as an address, coordinates (`latitude,longitude`), or a Google Maps place ID. The API returns one row per run.

***

### 📦 Example output (trimmed)

```json
{
  "result_type": "directions",
  "start": "New York, NY",
  "end": "Boston, MA",
  "travel_mode": "best",
  "directions_found": true,
  "directions_count": 3,
  "best_duration": "3 hr 38 min",
  "best_distance": "215 miles",
  "places_info": [
    { "address": "New York", "data_id": "0x89c24fa5d33f083b:0xc80b8f06e177fe62", "gps_coordinates": { "latitude": 40.7127753, "longitude": -74.0059728 } },
    { "address": "Boston, Massachusetts", "data_id": "0x89e3652d0d3d311b:0x787cbf240162e8a0", "gps_coordinates": { "latitude": 42.3555076, "longitude": -71.0565364 } }
  ],
  "directions": [
    {
      "travel_mode": "Driving",
      "via": "CT-15 N and I-90 E",
      "distance": 346243,
      "duration": 13082,
      "formatted_distance": "215 miles",
      "formatted_duration": "3 hr 38 min",
      "typical_duration_range": "3 hr 21 min to 4 hr 10 min",
      "extensions": ["Fastest route now due to traffic conditions", "This route has tolls."],
      "trips": [
        {
          "travel_mode": "Driving",
          "title": "Get on FDR Dr",
          "formatted_distance": "0.9 mi",
          "formatted_duration": "5 min",
          "details": [
            { "title": "Head toward Park Row", "action": "straight", "formatted_distance": "200 ft", "formatted_duration": "21 sec" }
          ]
        }
      ]
    }
  ],
  "durations": [
    { "travel_mode": "Driving", "formatted_duration": "3 hr 38 min" },
    { "travel_mode": "Transit", "formatted_duration": "4 hr 25 min" },
    { "travel_mode": "Flight", "formatted_duration": "1 hr 15 min" }
  ],
  "google_maps_directions_url": "https://www.google.com/maps/dir/...",
  "gl": "us",
  "hl": "en",
  "fetched_at": "2026-05-29T12:00:00+00:00"
}
```

***

### 💰 Pricing (pay-per-event)

| Event | Price | When it fires |
|---|---|---|
| `setup` | $0.01 | Once per Actor run, at startup. |
| `directions_processed` | $0.015 | Once per route lookup. One lookup returns every route option for the origin and destination. |

A single route lookup costs $0.01 + $0.015 = **$0.025**, flat and predictable. One lookup with the default `best` mode returns several route options (driving, transit, flight, and more) in that one charge.

***

### 🔌 Use this API from Claude (MCP)

This Actor is MCP-server-compatible, so [Claude Code](https://claude.ai/referral/uIlpa7nPLg) (free trial), Claude (desktop and web), Cursor, and other MCP clients can call it as a tool through Apify's hosted MCP server.

Add it with this Actor-specific URL:

https://mcp.apify.com/?tools=actors,docs,johnvc/google-maps-directions-api

Setup walkthrough:

https://www.youtube.com/watch?v=jREWahDGhJM

Apify MCP integration docs: https://docs.apify.com/platform/integrations/mcp

**New to [Claude Code](https://claude.ai/referral/uIlpa7nPLg) or [Claude Cowork](https://claude.ai/referral/uIlpa7nPLg)?** Start a free trial here: https://claude.ai/referral/uIlpa7nPLg

Then ask Claude:

> *"Use the Google Maps Directions API to get driving directions from New York, NY to Boston, MA, and tell me the distance and ETA."*

***

### 🚀 How to get started

1. Open the Actor and enter a start and end point (address, coordinates, or place ID).
2. Optionally choose a travel mode, units, avoidance options, transit preferences, or a departure/arrival time.
3. Run it and read the results from the dataset (JSON, CSV, Excel, or API).

[View on Apify Store](https://apify.com/johnvc/google-maps-directions-api?fpr=9n7kx3)

***

### ❓ FAQ

**Which travel modes are supported?**
Best (all modes), driving, cycling, walking, transit, flight, and two-wheeler. Flight and two-wheeler are only available for some regions and routes; when a mode has no route, the row comes back with `directions_found: false` and a short `note`.

**Can I use coordinates or place IDs instead of addresses?**
Yes. Set `start_coords`/`end_coords` as `latitude,longitude`, or `start_data_id`/`end_data_id` with a Google Maps place ID. Coordinates take precedence over place ID, which takes precedence over address.

**How do I set a departure or arrival time?**
Set `time_type` to `depart_at` or `arrive_by` and put an ISO 8601 datetime (or a Unix timestamp) in `time_value`. This is most useful for transit, and a departure time also informs driving traffic estimates.

**Do I need a Google Maps API key?**
No. Supply only the input fields; the Actor handles data retrieval for you.

***

Last Updated: 2026.06.01

# Actor input Schema

## `start_addr` (type: `string`):

Enter the starting address or place name (e.g. 'New York, NY' or 'Empire State Building'). Provide this or `start_coords` or `start_data_id` for the origin.

## `end_addr` (type: `string`):

Enter the destination address or place name (e.g. 'Boston, MA' or 'Fenway Park'). Provide this or `end_coords` or `end_data_id` for the destination.

## `start_coords` (type: `string`):

Optionally set the origin as exact GPS coordinates in 'latitude,longitude' format (e.g. '40.7128,-74.0060'). Overrides the start address when provided.

## `end_coords` (type: `string`):

Optionally set the destination as exact GPS coordinates in 'latitude,longitude' format (e.g. '42.3601,-71.0589'). Overrides the end address when provided.

## `start_data_id` (type: `string`):

Optionally set the origin as a Google Maps place data ID (e.g. '0x89c24fa5d33f083b:0xc80b8f06e177fe62'). Overrides the start address when provided.

## `end_data_id` (type: `string`):

Optionally set the destination as a Google Maps place data ID. Overrides the end address when provided.

## `travel_mode` (type: `string`):

Choose how to travel. 'Best' returns the best options across modes; the others restrict the result to one mode. Flight and two-wheeler are only available for some regions and routes.

## `distance_unit` (type: `string`):

Choose the distance unit for the results. 'Automatic' lets the region decide.

## `avoid_tolls` (type: `boolean`):

Enable to prefer routes without toll roads. Applied as a preference; Google may still include tolls if no alternative exists.

## `avoid_highways` (type: `boolean`):

Enable to prefer routes that avoid highways.

## `avoid_ferries` (type: `boolean`):

Enable to prefer routes that avoid ferries.

## `transit_prefer` (type: `string`):

Set a preferred public transit mode. Only applied when Travel Mode is 'Transit'. Leave as 'None' for no preference.

## `transit_routing` (type: `string`):

Set how transit routes are optimized. Only applied when Travel Mode is 'Transit'. Leave as 'None' for the default.

## `time_type` (type: `string`):

Choose whether the time below is a departure time, an arrival time, or to leave now. 'Leave now' ignores the time value.

## `time_value` (type: `string`):

Set the departure or arrival time as an ISO 8601 datetime (e.g. '2026-06-01T09:00:00') or a Unix timestamp. Used only when Time Mode is 'Depart at' or 'Arrive by'.

## `hl` (type: `string`):

Set the two-letter interface language code (ISO 639-1, e.g. 'en', 'es', 'fr'). Controls the language of instructions and place names. Defaults to 'en'.

## `gl` (type: `string`):

Set the two-letter country code (ISO 3166-1, e.g. 'us', 'gb', 'ca'). Influences regional routing and defaults. Defaults to 'us'.

## Actor input object example

```json
{
  "start_addr": "New York, NY",
  "end_addr": "Boston, MA",
  "travel_mode": "best",
  "distance_unit": "auto",
  "avoid_tolls": false,
  "avoid_highways": false,
  "avoid_ferries": false,
  "transit_prefer": "none",
  "transit_routing": "none",
  "time_type": "leave_now",
  "hl": "en",
  "gl": "us"
}
```

# Actor output Schema

## `allResults` (type: `string`):

Every dataset item from this run: the resolved directions row (result\_type='directions') or an error row.

## `overview` (type: `string`):

Tabular overview using the dataset schema's default view. Columns: type, start, end, mode, route options, best duration, best distance, map link, fetched-at.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "start_addr": "New York, NY",
    "end_addr": "Boston, MA",
    "hl": "en",
    "gl": "us"
};

// Run the Actor and wait for it to finish
const run = await client.actor("johnvc/google-maps-directions-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "start_addr": "New York, NY",
    "end_addr": "Boston, MA",
    "hl": "en",
    "gl": "us",
}

# Run the Actor and wait for it to finish
run = client.actor("johnvc/google-maps-directions-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "start_addr": "New York, NY",
  "end_addr": "Boston, MA",
  "hl": "en",
  "gl": "us"
}' |
apify call johnvc/google-maps-directions-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=johnvc/google-maps-directions-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Directions API",
        "description": "Get Google Maps directions for any route - driving, transit, walking, cycling, or flight - with distance, ETA, and turn-by-turn steps as JSON. Use addresses, coordinates, or place IDs; avoid tolls, highways, or ferries; set departure or arrival time. MCP-ready for Claude and AI agents.",
        "version": "0.0",
        "x-build-id": "rwItowLWYRS36ZPyK"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/johnvc~google-maps-directions-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-johnvc-google-maps-directions-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/johnvc~google-maps-directions-api/runs": {
            "post": {
                "operationId": "runs-sync-johnvc-google-maps-directions-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/johnvc~google-maps-directions-api/run-sync": {
            "post": {
                "operationId": "run-sync-johnvc-google-maps-directions-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "start_addr": {
                        "title": "Start Address",
                        "type": "string",
                        "description": "Enter the starting address or place name (e.g. 'New York, NY' or 'Empire State Building'). Provide this or `start_coords` or `start_data_id` for the origin."
                    },
                    "end_addr": {
                        "title": "End Address",
                        "type": "string",
                        "description": "Enter the destination address or place name (e.g. 'Boston, MA' or 'Fenway Park'). Provide this or `end_coords` or `end_data_id` for the destination."
                    },
                    "start_coords": {
                        "title": "Start Coordinates",
                        "type": "string",
                        "description": "Optionally set the origin as exact GPS coordinates in 'latitude,longitude' format (e.g. '40.7128,-74.0060'). Overrides the start address when provided."
                    },
                    "end_coords": {
                        "title": "End Coordinates",
                        "type": "string",
                        "description": "Optionally set the destination as exact GPS coordinates in 'latitude,longitude' format (e.g. '42.3601,-71.0589'). Overrides the end address when provided."
                    },
                    "start_data_id": {
                        "title": "Start Place ID",
                        "type": "string",
                        "description": "Optionally set the origin as a Google Maps place data ID (e.g. '0x89c24fa5d33f083b:0xc80b8f06e177fe62'). Overrides the start address when provided."
                    },
                    "end_data_id": {
                        "title": "End Place ID",
                        "type": "string",
                        "description": "Optionally set the destination as a Google Maps place data ID. Overrides the end address when provided."
                    },
                    "travel_mode": {
                        "title": "Travel Mode",
                        "enum": [
                            "best",
                            "driving",
                            "cycling",
                            "walking",
                            "transit",
                            "flight",
                            "two-wheeler"
                        ],
                        "type": "string",
                        "description": "Choose how to travel. 'Best' returns the best options across modes; the others restrict the result to one mode. Flight and two-wheeler are only available for some regions and routes.",
                        "default": "best"
                    },
                    "distance_unit": {
                        "title": "Distance Unit",
                        "enum": [
                            "auto",
                            "km",
                            "miles"
                        ],
                        "type": "string",
                        "description": "Choose the distance unit for the results. 'Automatic' lets the region decide.",
                        "default": "auto"
                    },
                    "avoid_tolls": {
                        "title": "Avoid Tolls",
                        "type": "boolean",
                        "description": "Enable to prefer routes without toll roads. Applied as a preference; Google may still include tolls if no alternative exists.",
                        "default": false
                    },
                    "avoid_highways": {
                        "title": "Avoid Highways",
                        "type": "boolean",
                        "description": "Enable to prefer routes that avoid highways.",
                        "default": false
                    },
                    "avoid_ferries": {
                        "title": "Avoid Ferries",
                        "type": "boolean",
                        "description": "Enable to prefer routes that avoid ferries.",
                        "default": false
                    },
                    "transit_prefer": {
                        "title": "Preferred Transit Mode",
                        "enum": [
                            "none",
                            "bus",
                            "subway",
                            "train",
                            "tram",
                            "light_rail"
                        ],
                        "type": "string",
                        "description": "Set a preferred public transit mode. Only applied when Travel Mode is 'Transit'. Leave as 'None' for no preference.",
                        "default": "none"
                    },
                    "transit_routing": {
                        "title": "Transit Routing Preference",
                        "enum": [
                            "none",
                            "fewer_transfers",
                            "less_walking",
                            "wheelchair"
                        ],
                        "type": "string",
                        "description": "Set how transit routes are optimized. Only applied when Travel Mode is 'Transit'. Leave as 'None' for the default.",
                        "default": "none"
                    },
                    "time_type": {
                        "title": "Time Mode",
                        "enum": [
                            "leave_now",
                            "depart_at",
                            "arrive_by"
                        ],
                        "type": "string",
                        "description": "Choose whether the time below is a departure time, an arrival time, or to leave now. 'Leave now' ignores the time value.",
                        "default": "leave_now"
                    },
                    "time_value": {
                        "title": "Time",
                        "type": "string",
                        "description": "Set the departure or arrival time as an ISO 8601 datetime (e.g. '2026-06-01T09:00:00') or a Unix timestamp. Used only when Time Mode is 'Depart at' or 'Arrive by'."
                    },
                    "hl": {
                        "title": "Language Code",
                        "type": "string",
                        "description": "Set the two-letter interface language code (ISO 639-1, e.g. 'en', 'es', 'fr'). Controls the language of instructions and place names. Defaults to 'en'.",
                        "default": "en"
                    },
                    "gl": {
                        "title": "Country Code",
                        "type": "string",
                        "description": "Set the two-letter country code (ISO 3166-1, e.g. 'us', 'gb', 'ca'). Influences regional routing and defaults. Defaults to 'us'.",
                        "default": "us"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
