# Youtube Explorer (`jupri/youtube-explorer`) Actor

💫 All-in-One Youtube.com Scraper

- **URL**: https://apify.com/jupri/youtube-explorer.md
- **Developed by:** [cat](https://apify.com/jupri) (community)
- **Categories:** Social media, Videos
- **Stats:** 332 total users, 1 monthly users, 99.4% runs succeeded, 9 bookmarks
- **User rating**: No ratings yet

## Pricing

$30.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

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

## Welcome To YouTube Explorer

![dont be sad readme is here](https://raw.githubusercontent.com/JupriGH/resources/main/cats/catframe.png)

### ▶️ About YouTube.com

<img src="https://upload.wikimedia.org/wikipedia/commons/b/b8/YouTube_Logo_2017.svg">

**YouTube** is an American [online video sharing](https://en.wikipedia.org/wiki/Online_video_platform "Online video platform") and [social media platform](https://en.wikipedia.org/wiki/Social_media "Social media") headquartered in [San Bruno, California](https://en.wikipedia.org/wiki/San_Bruno,_California "San Bruno, California"). It was launched on February 14, 2005, by [Steve Chen](https://en.wikipedia.org/wiki/Steve_Chen "Steve Chen"), [Chad Hurley](https://en.wikipedia.org/wiki/Chad_Hurley "Chad Hurley"), and [Jawed Karim](https://en.wikipedia.org/wiki/Jawed_Karim "Jawed Karim"). It is currently owned by [Google](https://en.wikipedia.org/wiki/Google "Google"), and is the [second most visited](https://en.wikipedia.org/wiki/List_of_most_visited_websites "List of most visited websites") website, after [Google Search](https://en.wikipedia.org/wiki/Google_Search "Google Search"). YouTube has more than 2.5 billion monthly users[[7]](https://en.wikipedia.org/wiki/YouTube#cite_note-7) who collectively watch more than one billion hours of videos each day.[[8]](https://en.wikipedia.org/wiki/YouTube#cite_note-1_billion_hours-8) As of May 2019, videos were being uploaded at a rate of more than 500 hours of content per minute.[[9]](https://en.wikipedia.org/wiki/YouTube#cite_note-500_hours_per_minute-9)[[10]](https://en.wikipedia.org/wiki/YouTube#cite_note-10)

### ▶️ About This Actor 

Scrape publicly data about video, movie, song, music from Youtube.com. Search videos, comments, sort & filter by type, upload date, video quality & features.

### ▶️ Tutorial

#### 🍿 Basic Parameters

| Parameter | Type |  Description |
|-|-|-|
| `query` | ***string array*** | Query, Search Terms or URL |
| `limit` | ***integer*** | Number of results (per-query)|

#### 🍿 Search Filters
 
 | Parameter | Type | Values | Description |
|-|-|-|-|
| `filters.sort` | ***string*** | `date`  `views`  `rating` | Video sorting |
| `filters.kind` | ***string*** | *(See below)* | Media types |
| `filters.features` | ***array*** | `360` `3d` `4k` `creative` `hd` `hdr` `live` `location` `purchased` `subtitle` `vr180` | Video features |

#### 🍿 Media Types
| Type | Description |
|-|-|
| `video` | Videos |
| `channel` | YouTube Channels |
| `playlist` | Video Playlists |
| `movie` | Movie Videos (Trailers) |
| `song` | Songs |
| `music` | Music Videos |
| `musiclist` | Music Playlist |
| `album` | Music Albums |
| `artist` | Artist channels |
| `podcast` | Podcasts |
| `episode` | Podcast episodes |
| `user` | YouTube users |


#### 🍿 Basic Usage

Search videos

```yaml 
{ "query": ["sponge bobs"], "filters.kind": "video", "limit": 10 } 
````

Autodetect youtube URL for possible contents

```yaml
{ "query": ["https://www.youtube.com/results?search_query=python"], "limit": 10 } 
```

#### 🍿 Advanced Usage

***YouTube Query Language (YQL) :***

```html
[ <COMMAND:> | # | @ ] [ <NAME> | <ID> | <KEYWORD> | <URL> ] [ /<SECTION> ] 
```

***Possible `QUERY` values :***

| Format | Example | Description |
|-|-|-|
| **<*KEYWORDS*>** | `square pants` | ***Search Anything*** |
| **#<*HASHTAG*>** | `#webscraping` | ***Search Hashtag*** |
| `/shorts` | `#webscraping/shorts` | Shorts videos |
| **<*VIDEO\_ID*>** | `WQNgQVRG9_U` | ***Scrape Video*** |
| `/comments` | `WQNgQVRG9_U/comments` | New comments |
| `/top_comments`| `WQNgQVRG9_U/top_comments` | Top comments |
| **<*PLAYLIST\_ID*>** | `PLxxxxxxxxxxxxxxxxxxxxxxx` | ***Scrape Playlist***|
| `/videos` | `PLxxxxxxxxxxxxxxxxxxxxxxx/videos` | Playlist videos |
| `/info` | `PLxxxxxxxxxxxxxxxxxxxxxxx/info` | Playlist info |
| **<*CHANNEL\_ID*>** | `UCxxxxxxxxxxxxxxxxxxxxxxx` | ***Scrape Channel*** |
| **@<*CHANNEL\_NAME*>** |`@apify` | |
| `/info` | `@apify/info` |
| `/featured` | `@apify/featured` |
| `/videos` | `@apify/videos` | Channel videos
| `/shorts` | `@apify/shorts` | Channel shorts (reels) |
| `/streams` | `@apify/streams` | Channel live streams |
| `/playlist` | `@apify/playlist` | Channel playlists|
| `/community` | `@apify/community` | Channel community |
| `/channels` | `@apify/channels` | Related channels |
| `/store` | `@apify/store` | Products page |
| `/releases` | `@apify/releases` | Channel releases
| **https:<*URL*>** | `https://www.youtube.com` | ***Start URL*** |
| `/search` | `https://www.youtube.com/results` | |
| `/channel/<channel>` | `https://www.youtube.com/channel/UCxxxxxx` | |
| `/@<channel>` | `https://www.youtube.com/@apify` | |

### ▶️ Examples

#### 🍿 Example #1: Searching

Search video based on keywords.

```yaml
{ "query": ["square pants"], "limit": 100 }
```

Sorting the results by specific key.

```yaml
{ "query": ["square pants"], "filters.sort": "date", "limit": 20 }
```

Filters results by type.

```yaml
{ "query": ["python"], "limit": 20, "filters.kind": "channel" }
```

Filter videos by features.

```yaml
{ 
	"query": ["indonesia"], 
	"limit": 20, 
	"filters.kind": "video",
	"filters.features": ["3d", "hd"]
}
```

#### 🍿 Example #2: Channel, Playlist and Hashtag

Scraping channel contents *(use: `channel_id` prefix **UCxxxx** or **@NAME**)*

```yaml
{ "query": "UCxxxxxxxxxxxxxxxxxxxxxxx/videos" }
```

```yaml
{ "query": "@apify/playlist" }
```

Scraping  playlist contents *(`playlist_id` prefix **PLxxxx**)*

```yaml
{ "query": "PLxxxxxxxxxxxxxxxxxxxxxxx" }
```

Scraping  hashtag contents *(prefix **#HashTag**)*

```yaml
{ "query": "#webscraping" }
```

```yaml
{ "query": "#travel/shorts" }
```

#### 🍿 Example #3: Video Data

Scrape video comments

```yaml
{ "query": "__VIDEO_ID__/comments" }
```

```yaml
{ "query": "__VIDEO_ID__/top_comments" }
```

### ▶️  Results Grouping

Some results can belong to a *group*. A *group* identified by `group` field, consist of a *group header* followed by several  *object* (group member).

***Example :***

```yaml
[
	...
	# group header
	{ "group": 1, "type": "group", "title": "Shorts" },
	# group items
	{ "group": 1, "type": "video", "title": "Is web scraping legal?", ... },
	{ "group": 1, "type": "video", "title": "Scrape data from any website!", ... },
	{ "group": 1, "type": "video", "title": "Python WEB SCRAPING in 30 Seconds!", ... }
	...
]

```

### ▶️ Output Samples

***Video without `metadata`***

```yaml
{
    "id"		: "eQoO3Wh9JWM",
    "published"	: "1 year ago",
    "duration"	: "3:25",
    "title"		: "How to extract data from Google Search with Google SERPs Scraper",
    "type"		: "video",
    "url"		: "https://www.youtube.com/watch?v=eQoO3Wh9JWM",
    "views"		: "8,287 views"
}
```

***Video with `metadata` (using `include_video_metadata=true` option)***

```yaml
{
    "id"		: "eQoO3Wh9JWM",
    "published"	: "2022-02-06",
    "duration"	: 204, # duration in seconds
    "title"		: "How to extract data from Google Search with Google SERPs Scraper",
    "type"		: "video",
    "uploaded"	: "2022-02-06",
    "url"		: "https://www.youtube.com/watch?v=eQoO3Wh9JWM",
    "views"		: 8287, # views count
    "streams": {
        "formats": [ ... ],	# list of video formats (video + audio stream)
        "audios": [ ... ], 	# list of audio-only streams
        "videos": [ ... ]	# list of video-only streams
    }
}
```

### ▶️ Support

⚡️ Feel free to [reach out](https://console.apify.com/actors/mdIubnIOn9UtPA6H4/issues) to the developer for any issues or suggestions for improvement.

<img src="https://apify-uploads-prod.s3.us-east-1.amazonaws.com/5SxZhwYwpknFk8ek9-cat.gif" width="240">

# Actor input Schema

## `example` (type: `array`):

💡 <b>Query Examples:</b> Select one or more examples, then hit RUN! <p>OR, enter your own queries in the QUERY input below.</p>

## `query` (type: `array`):

No description

## `limit` (type: `integer`):

💡 Number of results (per-query)

## `country` (type: `string`):

💡 Country Location

## `language` (type: `string`):

💡 Language

## `filters.kind` (type: `string`):

💡 Object type to search

## `filters.duration` (type: `string`):

💡 Video duration

## `filters.upload_time` (type: `string`):

💡 Object upload time

## `filters.sort` (type: `string`):

💡 Sorting key

## `filters.features` (type: `array`):

💡 Only for search type <i><code>Video</code></i> or <i><code>Movie</code></i>

## `dev_proxy_config` (type: `object`):

💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>

## `dev_custom_headers` (type: `array`):

💡 Additional HTTP Headers

## `dev_custom_cookies` (type: `array`):

💡 Additional HTTP Cookies

## `dev_transform_fields` (type: `array`):

💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>

## `dev_dataset_name` (type: `string`):

💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>

## `dev_dataset_clear` (type: `boolean`):

Clear Dataset before insert/update.

## `dev_no_strip` (type: `boolean`):

💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>

## Actor input object example

```json
{
  "query": [
    "@apify/videos"
  ],
  "limit": 5
}
```

# 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 = {
    "query": [
        "@apify/videos"
    ],
    "limit": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/youtube-explorer").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 = {
    "query": ["@apify/videos"],
    "limit": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("jupri/youtube-explorer").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 '{
  "query": [
    "@apify/videos"
  ],
  "limit": 5
}' |
apify call jupri/youtube-explorer --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Youtube Explorer",
        "description": "💫 All-in-One Youtube.com Scraper",
        "version": "0.3",
        "x-build-id": "6go8GdvPwAikSKjhT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/jupri~youtube-explorer/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-jupri-youtube-explorer",
                "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/jupri~youtube-explorer/runs": {
            "post": {
                "operationId": "runs-sync-jupri-youtube-explorer",
                "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/jupri~youtube-explorer/run-sync": {
            "post": {
                "operationId": "run-sync-jupri-youtube-explorer",
                "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": {
                    "example": {
                        "title": "💡 Example",
                        "type": "array",
                        "description": "💡 <b>Query Examples:</b> Select one or more examples, then hit RUN! <p>OR, enter your own queries in the QUERY input below.</p>",
                        "items": {
                            "type": "string",
                            "enum": [
                                "users:Bill Gates",
                                "Sponge Bob",
                                "https://www.youtube.com/@Apify",
                                "@Apify/videos",
                                "@Apify/playlists",
                                "https://www.youtube.com/watch?v=gK9UNYdReVQ",
                                "video:gK9UNYdReVQ/comments",
                                "PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW"
                            ]
                        }
                    },
                    "query": {
                        "title": "❓ Query",
                        "type": "array",
                        "description": "",
                        "items": {
                            "type": "string"
                        }
                    },
                    "limit": {
                        "title": "♾️ Limit",
                        "type": "integer",
                        "description": "💡 Number of results (per-query)"
                    },
                    "country": {
                        "title": "Country",
                        "enum": [
                            "DZ",
                            "AR",
                            "AU",
                            "AT",
                            "AZ",
                            "BH",
                            "BD",
                            "BY",
                            "BE",
                            "BO",
                            "BA",
                            "BR",
                            "BG",
                            "KH",
                            "CA",
                            "CL",
                            "CO",
                            "CR",
                            "HR",
                            "CY",
                            "CZ",
                            "DK",
                            "DO",
                            "EC",
                            "EG",
                            "SV",
                            "EE",
                            "FI",
                            "FR",
                            "GE",
                            "DE",
                            "GH",
                            "GR",
                            "GT",
                            "HN",
                            "HK",
                            "HU",
                            "IS",
                            "IN",
                            "ID",
                            "IQ",
                            "IE",
                            "IL",
                            "IT",
                            "JM",
                            "JP",
                            "JO",
                            "KZ",
                            "KE",
                            "KW",
                            "LA",
                            "LV",
                            "LB",
                            "LY",
                            "LI",
                            "LT",
                            "LU",
                            "MY",
                            "MT",
                            "MX",
                            "MD",
                            "ME",
                            "MA",
                            "NP",
                            "NL",
                            "NZ",
                            "NI",
                            "NG",
                            "MK",
                            "NO",
                            "OM",
                            "PK",
                            "PA",
                            "PG",
                            "PY",
                            "PE",
                            "PH",
                            "PL",
                            "PT",
                            "PR",
                            "QA",
                            "RO",
                            "RU",
                            "SA",
                            "SN",
                            "RS",
                            "SG",
                            "SK",
                            "SI",
                            "ZA",
                            "KR",
                            "ES",
                            "LK",
                            "SE",
                            "CH",
                            "TW",
                            "TZ",
                            "TH",
                            "TN",
                            "TR",
                            "UG",
                            "UA",
                            "AE",
                            "GB",
                            "US",
                            "UY",
                            "VE",
                            "VN",
                            "YE",
                            "ZW"
                        ],
                        "type": "string",
                        "description": "💡 Country Location"
                    },
                    "language": {
                        "title": "Language",
                        "enum": [
                            "af",
                            "az",
                            "id",
                            "ms",
                            "bs",
                            "ca",
                            "cs",
                            "da",
                            "de",
                            "et",
                            "en-IN",
                            "en-GB",
                            "en",
                            "es",
                            "es-419",
                            "es-US",
                            "eu",
                            "fil",
                            "fr",
                            "fr-CA",
                            "gl",
                            "hr",
                            "zu",
                            "is",
                            "it",
                            "sw",
                            "lv",
                            "lt",
                            "hu",
                            "nl",
                            "no",
                            "uz",
                            "pl",
                            "pt-PT",
                            "pt",
                            "ro",
                            "sq",
                            "sk",
                            "sl",
                            "sr-Latn",
                            "fi",
                            "sv",
                            "vi",
                            "tr",
                            "be",
                            "bg",
                            "ky",
                            "kk",
                            "mk",
                            "mn",
                            "ru",
                            "sr",
                            "uk",
                            "el",
                            "hy",
                            "iw",
                            "ur",
                            "ar",
                            "fa",
                            "ne",
                            "mr",
                            "hi",
                            "as",
                            "bn",
                            "pa",
                            "gu",
                            "or",
                            "ta",
                            "te",
                            "kn",
                            "ml",
                            "si",
                            "th",
                            "lo",
                            "my",
                            "ka",
                            "am",
                            "km",
                            "zh-CN",
                            "zh-TW",
                            "zh-HK",
                            "ja",
                            "ko"
                        ],
                        "type": "string",
                        "description": "💡 Language"
                    },
                    "filters.kind": {
                        "title": "Search Type",
                        "enum": [
                            "video",
                            "channel",
                            "playlist",
                            "movie",
                            "song",
                            "music",
                            "album",
                            "artist",
                            "musiclist",
                            "podcast",
                            "episode",
                            "user"
                        ],
                        "type": "string",
                        "description": "💡 Object type to search"
                    },
                    "filters.duration": {
                        "title": "Duration",
                        "enum": [
                            "short",
                            "middle",
                            "long"
                        ],
                        "type": "string",
                        "description": "💡 Video duration"
                    },
                    "filters.upload_time": {
                        "title": "Upload Time",
                        "enum": [
                            "hour",
                            "today",
                            "week",
                            "month",
                            "year"
                        ],
                        "type": "string",
                        "description": "💡 Object upload time"
                    },
                    "filters.sort": {
                        "title": "Sorting",
                        "enum": [
                            "date",
                            "views",
                            "rating"
                        ],
                        "type": "string",
                        "description": "💡 Sorting key"
                    },
                    "filters.features": {
                        "title": "Video Features",
                        "type": "array",
                        "description": "💡 Only for search type <i><code>Video</code></i> or <i><code>Movie</code></i>",
                        "items": {
                            "type": "string",
                            "enum": [
                                "live",
                                "4k",
                                "hd",
                                "subtitle",
                                "creative",
                                "360",
                                "vr180",
                                "3d",
                                "hdr",
                                "location",
                                "purchased"
                            ],
                            "enumTitles": [
                                "Live",
                                "4K",
                                "HD",
                                "Subtitle/CC",
                                "Creative Commons",
                                "360",
                                "VR180",
                                "3D",
                                "HDR",
                                "Location",
                                "Purchased"
                            ]
                        }
                    },
                    "dev_proxy_config": {
                        "title": "🌐 PROXY NETWORKING",
                        "type": "object",
                        "description": "💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
                    },
                    "dev_custom_headers": {
                        "title": "📜 HTTP HEADERS",
                        "type": "array",
                        "description": "💡 Additional HTTP Headers",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_custom_cookies": {
                        "title": "🍰 HTTP COOKIES",
                        "type": "array",
                        "description": "💡 Additional HTTP Cookies",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_transform_fields": {
                        "title": "♻️ CUSTOM FIELD",
                        "type": "array",
                        "description": "💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
                        "items": {
                            "type": "object",
                            "required": [
                                "key",
                                "value"
                            ],
                            "properties": {
                                "key": {
                                    "type": "string",
                                    "title": "Key"
                                },
                                "value": {
                                    "type": "string",
                                    "title": "Value"
                                }
                            }
                        }
                    },
                    "dev_dataset_name": {
                        "title": "📁 CUSTOM STORAGE",
                        "type": "string",
                        "description": "💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
                    },
                    "dev_dataset_clear": {
                        "title": "Clear Storage",
                        "type": "boolean",
                        "description": "Clear Dataset before insert/update."
                    },
                    "dev_no_strip": {
                        "title": "Disable data cleansing",
                        "type": "boolean",
                        "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
