# ytscrape (`nestled_echo/ytscrape`) Actor

- **URL**: https://apify.com/nestled\_echo/ytscrape.md
- **Developed by:** [Ashley Miltenberger](https://apify.com/nestled_echo) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 4 total users, 2 monthly users, 48.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## YouTube Scraper Actor (no external APIs)

Scrape YouTube channels, playlists, videos, and search results using Playwright and YouTube’s own page data (DOM + `window.ytInitial*`). No YouTube Data API and no `youtube-transcript-api`.

### What’s new
- Channel info only mode: set `channelInfoOnly = true` to scrape only the channel’s “About” data for the URLs you provide (channel or video). The actor will not scrape any videos or run searches in this mode.
- Accepts:
  - Channel URLs (e.g., `https://www.youtube.com/@theleaderstalk`, `https://www.youtube.com/channel/UCC...`)
  - Video URLs (the actor resolves the channel from the video)
  - A single `@handle` in `searchTerms` (e.g., `["@theleaderstalk"]`)

Output in this mode (`type: "channel_info"`):
- channelName
- channelUrl (prefers handle URL when available)
- channelUsername (handle without the `@`)
- channelId
- description
- channelLocation
- joinedDate
- channelTotalVideos
- channelTotalViews (numeric) and channelTotalViewsFormatted (with commas)
- numberOfSubscribers (numeric) and subscriberCountText
- socialLinks (array of `{ title, url }`)
- avatarUrl
- isMonetized (best-effort)
- sourceUrl (the input you provided)

### Other capabilities
- Channel enrichment (when not in channel-only mode):
  - name, URL, ID, @handle, subscriber counts, total views, total videos, location, social links, avatar, description, joined date
- Video details:
  - title, URL, thumbnail, view count, likes (best-effort), comments count (best-effort)
  - release date (ISO), duration (seconds + HH:MM:SS), hashtags
  - optional subtitles scraped via the UI, optional comments
- Search with rich UI filters (applied via YouTube “Filters” menu):
  - sorting, date filter, type, duration
  - feature toggles: HD, Subtitles/CC, Creative Commons, 3D, Purchased, 4K, 360°, Location
- Per-term limits for search (videos/shorts/streams)

### Input

Key fields:
- `channelInfoOnly` (boolean): Only scrape channel About info for provided URLs. If true:
  - Provide one or more channel or video URLs in `startUrls`, or
  - Provide a single `@handle` in `searchTerms`; the actor will treat it as a channel.
- `startUrls`: URLs to process (channel, video, playlist, search results)
- `directUrls`: extra URLs to merge into `startUrls`
- `searchTerms`: terms to search (ignored when `channelInfoOnly` is true unless a single `@handle` is provided)
- Subtitles options: `downloadSubtitles`, `saveSubsToKVS`, `subtitlesLanguage`, `preferAutoGeneratedSubtitles`, `subtitlesFormat`
- Search filters (non-channelOnly): `searchSortOrder`, `searchDateFilter`, `searchVideoType`, `searchDuration`
- Features (non-channelOnly): `hd`, `subtitles_cc`, `creative_commons`, `three_d`, `purchased`, `four_k`, `three_sixty`, `location`
- Limits: `maxVideosPerTerm`, `maxShortsPerTerm`, `maxStreamsPerTerm`, `maxResults`, `maxComments`
- Filters for post-processing: `dateFilter`, `videoRegex`
- `proxyConfiguration`, `verboseLog`

#### Examples

Channel info only
```json
{
  "channelInfoOnly": true,
  "startUrls": [
    { "url": "https://www.youtube.com/@theleaderstalk" },
    { "url": "https://www.youtube.com/watch?v=zslTD2Mq00E" }
  ],
  "proxyConfiguration": { "useApifyProxy": true }
}
````

Channel + videos (not channel-only)

```json
{
  "startUrls": [{ "url": "https://www.youtube.com/@LofiGirl" }],
  "maxResults": 50,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Search with filters

```json
{
  "searchTerms": ["traveler", "ai trends 2025"],
  "maxVideosPerTerm": 15,
  "maxShortsPerTerm": 8,
  "maxStreamsPerTerm": 2,
  "searchSortOrder": "relevance",
  "searchDateFilter": "this_year",
  "searchVideoType": "video",
  "searchDuration": "any",
  "hd": true,
  "subtitles_cc": true,
  "downloadSubtitles": true,
  "fetchFullVideoDetails": true,
  "maxResults": 30,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

To search for the keyword

```json
{
  "startUrls": [],
  "searchTerms": ["marketing"],
  "maxResults": 10,
  "maxVideosPerTerm": 10,
  "proxyConfiguration": { "useApifyProxy": false },
  "verboseLog": false
}
```

### Notes and limitations

- YouTube does not expose subscriber usernames publicly; this actor cannot collect them.
- Likes and comments counts can be hidden; values are best‑effort.
- Layouts vary by region; enable Apify Proxy for more consistent results.

### Local development

```bash
pip install -r requirements.txt
python -m playwright install --with-deps chromium
python main.py
```

# Actor input Schema

## `channelInfoOnly` (type: `boolean`):

Only scrape channel About information for the provided URLs (channels or videos). Ignores search/video extraction.

## `startUrls` (type: `array`):

Paste YouTube URLs: channel (/@handle or /channel/ID), video (/watch?v=...), playlist, or even search results.

## `searchTerms` (type: `array`):

Search terms for YouTube search results. If Channel info only is enabled and you provide a single item like '@theleaderstalk', it will be treated as a channel.

## `maxVideosPerTerm` (type: `integer`):

Maximum number of regular video results to collect per search term.

## `maxShortsPerTerm` (type: `integer`):

Maximum number of Shorts results to collect per search term.

## `maxStreamsPerTerm` (type: `integer`):

Maximum number of live stream results to collect per search term.

## `directUrls` (type: `array`):

Direct YouTube URLs to include (video, channel, playlist).

## `downloadSubtitles` (type: `boolean`):

Open the transcript panel and scrape subtitles (no external APIs).

## `saveSubsToKVS` (type: `boolean`):

When enabled, saves the transcript into the default Apify Key-Value Store.

## `subtitlesLanguage` (type: `string`):

Preferred subtitle language. Leave blank for auto/any.

## `preferAutoGeneratedSubtitles` (type: `boolean`):

Best-effort preference in the YouTube UI when multiple transcripts exist.

## `subtitlesFormat` (type: `string`):

Format to save transcripts when saving to KVS.

## `searchSortOrder` (type: `string`):

Sorting applied to search results.

## `searchDateFilter` (type: `string`):

Limit results by upload date using YouTube's filter panel.

## `searchVideoType` (type: `string`):

Filter results by type.

## `searchDuration` (type: `string`):

Filter videos by duration.

## `hd` (type: `boolean`):

Show only HD results (where available).

## `subtitles_cc` (type: `boolean`):

Require videos with subtitles/closed captions.

## `creative_commons` (type: `boolean`):

Show only videos with Creative Commons license.

## `three_d` (type: `boolean`):

Show only 3D videos.

## `purchased` (type: `boolean`):

Show only purchased content.

## `four_k` (type: `boolean`):

Show only 4K (Ultra HD) videos.

## `three_sixty` (type: `boolean`):

Show only 360-degree videos.

## `location` (type: `boolean`):

Show only videos with a specified location.

## `fetchFullVideoDetails` (type: `boolean`):

When enabled, each discovered result is opened for full details (likes, comments count, description text, subtitles, etc.).

## `maxResults` (type: `integer`):

Maximum number of results per URL or per search term overall (upper cap).

## `maxComments` (type: `integer`):

Maximum comments to extract per video. 0 disables comment extraction.

## `dateFilter` (type: `string`):

Limit videos by published date after extraction. Use YYYY-MM-DD or 'last N days' (e.g., 'last 7 days').

## `videoRegex` (type: `string`):

Only include videos whose URLs match this regular expression.

## `proxyConfiguration` (type: `object`):

Configure proxy usage for reliable scraping.

## `verboseLog` (type: `boolean`):

Enable to see detailed logs.

## Actor input object example

```json
{
  "channelInfoOnly": false,
  "maxVideosPerTerm": 10,
  "maxShortsPerTerm": 0,
  "maxStreamsPerTerm": 0,
  "downloadSubtitles": false,
  "saveSubsToKVS": false,
  "subtitlesLanguage": "",
  "preferAutoGeneratedSubtitles": false,
  "subtitlesFormat": "srt",
  "searchSortOrder": "relevance",
  "searchDateFilter": "",
  "searchVideoType": "any",
  "searchDuration": "any",
  "hd": false,
  "subtitles_cc": false,
  "creative_commons": false,
  "three_d": false,
  "purchased": false,
  "four_k": false,
  "three_sixty": false,
  "location": false,
  "fetchFullVideoDetails": false,
  "maxResults": 50,
  "maxComments": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "verboseLog": false
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("nestled_echo/ytscrape").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("nestled_echo/ytscrape").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 '{}' |
apify call nestled_echo/ytscrape --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ytscrape",
        "description": null,
        "version": "0.0",
        "x-build-id": "WVvR9oC0vSbksE0i7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/nestled_echo~ytscrape/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-nestled_echo-ytscrape",
                "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/nestled_echo~ytscrape/runs": {
            "post": {
                "operationId": "runs-sync-nestled_echo-ytscrape",
                "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/nestled_echo~ytscrape/run-sync": {
            "post": {
                "operationId": "run-sync-nestled_echo-ytscrape",
                "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",
                "required": [
                    "proxyConfiguration"
                ],
                "properties": {
                    "channelInfoOnly": {
                        "title": "Channel info only",
                        "type": "boolean",
                        "description": "Only scrape channel About information for the provided URLs (channels or videos). Ignores search/video extraction.",
                        "default": false
                    },
                    "startUrls": {
                        "title": "Start URLs (video, channel, playlist, or search results)",
                        "type": "array",
                        "description": "Paste YouTube URLs: channel (/@handle or /channel/ID), video (/watch?v=...), playlist, or even search results.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Search terms for YouTube search results. If Channel info only is enabled and you provide a single item like '@theleaderstalk', it will be treated as a channel.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxVideosPerTerm": {
                        "title": "Maximum videos per search term (optional)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of regular video results to collect per search term.",
                        "default": 10
                    },
                    "maxShortsPerTerm": {
                        "title": "Maximum shorts per search term (optional)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of Shorts results to collect per search term.",
                        "default": 0
                    },
                    "maxStreamsPerTerm": {
                        "title": "Maximum streams per search term (optional)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of live stream results to collect per search term.",
                        "default": 0
                    },
                    "directUrls": {
                        "title": "Direct URLs",
                        "type": "array",
                        "description": "Direct YouTube URLs to include (video, channel, playlist).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "downloadSubtitles": {
                        "title": "Download YouTube transcript",
                        "type": "boolean",
                        "description": "Open the transcript panel and scrape subtitles (no external APIs).",
                        "default": false
                    },
                    "saveSubsToKVS": {
                        "title": "Save subtitles to key-value store",
                        "type": "boolean",
                        "description": "When enabled, saves the transcript into the default Apify Key-Value Store.",
                        "default": false
                    },
                    "subtitlesLanguage": {
                        "title": "Subtitle language",
                        "enum": [
                            "",
                            "en",
                            "es",
                            "de",
                            "fr",
                            "it",
                            "pt",
                            "ru",
                            "hi",
                            "ar",
                            "ja",
                            "ko",
                            "zh"
                        ],
                        "type": "string",
                        "description": "Preferred subtitle language. Leave blank for auto/any.",
                        "default": ""
                    },
                    "preferAutoGeneratedSubtitles": {
                        "title": "Prefer automatically generated subtitles",
                        "type": "boolean",
                        "description": "Best-effort preference in the YouTube UI when multiple transcripts exist.",
                        "default": false
                    },
                    "subtitlesFormat": {
                        "title": "Subtitle format",
                        "enum": [
                            "srt",
                            "json",
                            "txt"
                        ],
                        "type": "string",
                        "description": "Format to save transcripts when saving to KVS.",
                        "default": "srt"
                    },
                    "searchSortOrder": {
                        "title": "Sorting order",
                        "enum": [
                            "relevance",
                            "upload_date",
                            "view_count",
                            "rating"
                        ],
                        "type": "string",
                        "description": "Sorting applied to search results.",
                        "default": "relevance"
                    },
                    "searchDateFilter": {
                        "title": "Date filter",
                        "enum": [
                            "",
                            "last_hour",
                            "today",
                            "this_week",
                            "this_month",
                            "this_year"
                        ],
                        "type": "string",
                        "description": "Limit results by upload date using YouTube's filter panel.",
                        "default": ""
                    },
                    "searchVideoType": {
                        "title": "Video type",
                        "enum": [
                            "any",
                            "video",
                            "channel",
                            "playlist",
                            "movie",
                            "short",
                            "live"
                        ],
                        "type": "string",
                        "description": "Filter results by type.",
                        "default": "any"
                    },
                    "searchDuration": {
                        "title": "Length of video",
                        "enum": [
                            "any",
                            "short",
                            "medium",
                            "long"
                        ],
                        "type": "string",
                        "description": "Filter videos by duration.",
                        "default": "any"
                    },
                    "hd": {
                        "title": "HD",
                        "type": "boolean",
                        "description": "Show only HD results (where available).",
                        "default": false
                    },
                    "subtitles_cc": {
                        "title": "Subtitles/CC",
                        "type": "boolean",
                        "description": "Require videos with subtitles/closed captions.",
                        "default": false
                    },
                    "creative_commons": {
                        "title": "Creative Commons",
                        "type": "boolean",
                        "description": "Show only videos with Creative Commons license.",
                        "default": false
                    },
                    "three_d": {
                        "title": "3D",
                        "type": "boolean",
                        "description": "Show only 3D videos.",
                        "default": false
                    },
                    "purchased": {
                        "title": "Purchased",
                        "type": "boolean",
                        "description": "Show only purchased content.",
                        "default": false
                    },
                    "four_k": {
                        "title": "4K",
                        "type": "boolean",
                        "description": "Show only 4K (Ultra HD) videos.",
                        "default": false
                    },
                    "three_sixty": {
                        "title": "360°",
                        "type": "boolean",
                        "description": "Show only 360-degree videos.",
                        "default": false
                    },
                    "location": {
                        "title": "Location",
                        "type": "boolean",
                        "description": "Show only videos with a specified location.",
                        "default": false
                    },
                    "fetchFullVideoDetails": {
                        "title": "Open each discovered result and extract full video details",
                        "type": "boolean",
                        "description": "When enabled, each discovered result is opened for full details (likes, comments count, description text, subtitles, etc.).",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results (overall cap)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of results per URL or per search term overall (upper cap).",
                        "default": 50
                    },
                    "maxComments": {
                        "title": "Max comments per video",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum comments to extract per video. 0 disables comment extraction.",
                        "default": 20
                    },
                    "dateFilter": {
                        "title": "Post-filter by exact date or relative range",
                        "type": "string",
                        "description": "Limit videos by published date after extraction. Use YYYY-MM-DD or 'last N days' (e.g., 'last 7 days')."
                    },
                    "videoRegex": {
                        "title": "Video URL Regex Filter",
                        "type": "string",
                        "description": "Only include videos whose URLs match this regular expression."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Configure proxy usage for reliable scraping.",
                        "default": {
                            "useApifyProxy": true
                        }
                    },
                    "verboseLog": {
                        "title": "Verbose logging?",
                        "type": "boolean",
                        "description": "Enable to see detailed logs.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
