{
  "data": {
    "id": "K1GdOASNNForMl6AB",
    "actId": "fghPsA1MGjucLb3U5",
    "userId": "BNsQ2cO8h74hddVli",
    "startedAt": "2026-11-16T17:38:54.643Z",
    "finishedAt": "2026-11-16T17:38:56.657Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI",
      "githubActionsRunUrl": "https://github.com/architek-earth/apify-actors/actions/runs/43920449073"
    },
    "stats": {
      "durationMillis": 1903,
      "runTimeSecs": 1.903,
      "computeUnits": 0.0021144444444444444,
      "imageSizeBytes": 339302400
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"YouTube Metadata Scraper input\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"operation\": {\n      \"title\": \"What to collect\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"channel-videos\",\n        \"video-details\",\n        \"search\",\n        \"playlist\"\n      ],\n      \"enumTitles\": [\n        \"Channel videos (newest first)\",\n        \"Video details by URL or ID\",\n        \"Search results\",\n        \"Playlist videos\"\n      ],\n      \"default\": \"channel-videos\",\n      \"prefill\": \"channel-videos\",\n      \"description\": \"channel-videos: a channel's uploads, newest first. video-details: the videos you list. search: videos for search terms. playlist: a playlist's videos in order.\"\n    },\n    \"channels\": {\n      \"title\": \"Channels (channel-videos)\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"@NASA\"\n      ],\n      \"description\": \"@handle, channel URL or channel ID (UC...). Up to 100 per run.\"\n    },\n    \"channelTabs\": {\n      \"title\": \"Channel tabs (channel-videos)\",\n      \"type\": \"array\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"videos\",\n          \"shorts\",\n          \"streams\"\n        ],\n        \"enumTitles\": [\n          \"Videos\",\n          \"Shorts\",\n          \"Live streams\"\n        ]\n      },\n      \"default\": [\n        \"videos\"\n      ],\n      \"description\": \"Which channel tabs to read. Each tab counts as its own target for maxResults.\"\n    },\n    \"videos\": {\n      \"title\": \"Videos (video-details)\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"description\": \"Video URLs (watch, youtu.be, shorts, live) or 11-character IDs. Up to 5,000 per run.\"\n    },\n    \"searchQueries\": {\n      \"title\": \"Search terms (search)\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"description\": \"One YouTube search per line. Up to 100 per run.\"\n    },\n    \"searchSort\": {\n      \"title\": \"Search sort (search)\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"date\",\n        \"views\",\n        \"rating\"\n      ],\n      \"default\": \"relevance\",\n      \"description\": \"YouTube's own result order.\"\n    },\n    \"searchUploadDate\": {\n      \"title\": \"Search upload date (search)\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"hour\",\n        \"today\",\n        \"week\",\n        \"month\",\n        \"year\"\n      ],\n      \"default\": \"any\",\n      \"description\": \"YouTube's upload-date filter.\"\n    },\n    \"playlists\": {\n      \"title\": \"Playlists (playlist)\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"description\": \"Playlist URLs (with list=...) or playlist IDs. Up to 100 per run.\"\n    },\n    \"maxResults\": {\n      \"title\": \"Maximum videos per target\",\n      \"type\": \"integer\",\n      \"editor\": \"number\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 50,\n      \"prefill\": 10,\n      \"description\": \"Per channel tab, search term or playlist (video-details: across the list). Preview caps the run at 10.\"\n    },\n    \"publishedAfter\": {\n      \"title\": \"Published on or after\",\n      \"type\": \"string\",\n      \"editor\": \"datepicker\",\n      \"dateType\": \"absolute\",\n      \"description\": \"Only videos published on or after this date (UTC). Channel tabs stop reading once they pass it.\"\n    },\n    \"publishedBefore\": {\n      \"title\": \"Published on or before\",\n      \"type\": \"string\",\n      \"editor\": \"datepicker\",\n      \"dateType\": \"absolute\",\n      \"description\": \"Only videos published on or before this date (UTC).\"\n    },\n    \"preview\": {\n      \"title\": \"Free preview (10 videos, never charged)\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"prefill\": true,\n      \"description\": \"On: up to 10 videos, free, nothing is charged. The form starts on preview; API calls without this field run paid. See the listing pricing table for the current primary and optional event rates.\"\n    },\n    \"incrementalMode\": {\n      \"title\": \"Only new videos since the last run\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Needs a watchId. Videos delivered by earlier runs with the same watchId are skipped and not charged.\"\n    },\n    \"feedback\": {\n      \"title\": \"Feedback\",\n      \"type\": \"string\",\n      \"editor\": \"textarea\",\n      \"default\": \"\",\n      \"maxLength\": 2000,\n      \"description\": \"Optional note for the maintainers. Logged and read by a human; never changes output.\"\n    },\n    \"watchId\": {\n      \"title\": \"Watch identifier\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"maxLength\": 100,\n      \"description\": \"Any name for this collection (e.g. nasa-uploads). Remembers seen videos for incremental mode and lets a stopped run continue without re-charging.\",\n      \"isSecret\": false\n    }\n  },\n  \"required\": [\n    \"operation\"\n  ]\n}",
    "readme": "# YouTube Metadata Scraper | $0.80/1K\n\n## What's new, 2026-11-16\n\nBounded examples, explicit costs and integration recipes. Launch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n**Recorded run:** `g4oRa1C7Utg74DC3y` on 2026-11-16 returned 5 dataset rows; 5 primary events were charged. Status: `SUCCEEDED`. Dataset rows can include free status records.\n\nArchitekture, an independent data studio. architek.earth.\n\nYouTube Metadata returns channel videos, search results, playlists, likes and publication times. Use the daily example to collect repeatable snapshots; use incremental mode only where the input exposes it.\n\n## Tested this week\n\n| Check | Our recorded sample | Field context, 2026-11-16 |\n|---|---|---|\n| Evidence window | 2026-11-16; within the last seven days | Rolling 30-day public counters across 150 title-bucket members |\n| Outcome | SUCCEEDED; 5 dataset rows; 5 charged primary events | 2.25% non-success over 3,071,781 runs |\n| Cost | $0.002169 platform cost in the retained run | Not a competitor execution or a matched-input benchmark |\n\nField source: [public Store API](https://api.apify.com/v2/store?search=youtube%20scraper). Non-success includes failures, aborts and timeouts. The field total is not a unique-user count. These different workloads do not establish that our actor is more reliable.\n\n## What, data and cost\n\nOne primary `video` event costs **$0.0008**; 1,000 cost **$0.80**. Ten primary events cost **$0.008**. Optional events below are additional; status rows are free.\n\n**$5 free credit ≈ 6,250 videos** at the primary launch rate. This estimate excludes optional event charges and additional collection starts. Credit pays for billed work; it is separate from the free preview.\n\nSet `preview: true`. One bounded preview returns up to 10 data rows when the source has results. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### Event prices\n\n| Event | USD per event | When charged |\n|---|---:|---|\n| `video` | 0.0008 | Delivered primary result |\n\nFree and Bronze use the full primary rate; Silver receives 10% off, and Gold, Platinum and Diamond receive 20% off. Secondary event prices do not change. Your run's effective price is shown before collection.\n\nLaunch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n## Worth knowing up front\n\n- No comment text and no transcripts. For transcripts use [YouTube Transcript Scraper](https://apify.com/architekture/youtube-transcript-scraper).\n- `likeCount` is null when the uploader hides likes. `commentCount` is the figure YouTube shows under the video: exact below 1,000 (`commentCountIsExact: true`), rounded above it (`\"12K\"` becomes 12000 with `commentCountIsExact: false`), and null with `commentsDisabled: true` when comments are off. `tags` is empty when the uploader set none.\n- `isShort` is true for videos listed as Shorts and for Shorts-eligible videos of 3 minutes or less. The Shorts tab returns the Shorts YouTube lists on that tab; YouTube offered no further page for it in our tests.\n- A run that hits the run timeout stops cleanly as `PARTIAL`; with a `watchId`, the next run continues where it stopped. Search ends when YouTube stops offering more results, usually a few hundred per query.\n- Invalid input, an unknown channel or playlist, a missing channel tab, a search with no results, a video YouTube will not show, a video refused after retries, and runs stopped by the timeout, your spending limit or the preview limit each write a free status row (`\"recordType\": \"status\"`) that says what happened.\n\n## Input recipes\n\n### 1. Preview: YouTube video metadata\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/youtube-metadata-video-details-three)\n\n```json\n{\n  \"operation\": \"video-details\",\n  \"videos\": [\n    \"https://www.youtube.com/watch?v=jNQXAC9IVRw\"\n  ],\n  \"maxResults\": 1,\n  \"preview\": true\n}\n```\n\n### 2. One-off: Video likes and publish time\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-2)\n\n```json\n{\n  \"operation\": \"video-details\",\n  \"videos\": [\n    \"https://www.youtube.com/watch?v=jNQXAC9IVRw\"\n  ],\n  \"maxResults\": 1\n}\n```\n\n### 3. Daily: YouTube channel uploads\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-3)\n\n```json\n{\n  \"operation\": \"channel-videos\",\n  \"videos\": [],\n  \"maxResults\": 1,\n  \"channels\": [\n    \"https://www.youtube.com/@YouTube\"\n  ],\n  \"incrementalMode\": true,\n  \"watchId\": \"youtube-channel-uploads\"\n}\n```\n\n### 4. One-off: New coffee videos\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-4)\n\n```json\n{\n  \"operation\": \"search\",\n  \"videos\": [],\n  \"maxResults\": 1,\n  \"searchQueries\": [\n    \"coffee\"\n  ],\n  \"searchSort\": \"date\"\n}\n```\n\n## Recurring collection\n\nCopy the example [One-off: Video likes and publish time](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-2) into your account. Schedule it in UTC with:\n\n```cron\n0 9 * * *\n```\n\nThe worked ten-result run above repeated daily costs about **$0.24 per 30 days** before optional events and discounts. These tiny recipes demonstrate the input; increase their row limits deliberately. Keep one watch identifier per consistent filter set where incremental mode is available.\n\nThe input form now uses `watchId`. Legacy API names `stateKey` remain accepted and retain the same saved state. If both are supplied, the new name takes precedence. These fields contain ordinary identifiers or search terms, not credentials.\n\n## Output and limits\n\nRead the [live input and output definitions](https://api.apify.com/v2/acts/architekture~youtube-metadata-scraper/builds/default). Keep source identifiers, capture time and any status fields when joining snapshots. The data fields remain additive; this listing change does not promise new source data.\n\n## MCP config for Claude and Cursor\n\nClaude: add a custom connector with URL `https://mcp.apify.com?tools=architekture/youtube-metadata-scraper` and complete its sign-in. For Cursor, add this entry to your MCP settings and set your own `APIFY_TOKEN`:\n\n```json\n{\n  \"mcpServers\": {\n    \"youtube-metadata-scraper\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.apify.com?tools=architekture/youtube-metadata-scraper\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${env:APIFY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n## n8n and Make\n\n[Python example](https://github.com/architek-earth/examples/blob/main/youtube-metadata-scraper/example.py) and [n8n workflow](https://github.com/architek-earth/examples/blob/main/youtube-metadata-scraper/n8n-workflow.json). In n8n, select a Header Auth credential with header `Authorization` and your bearer token. The workflow is inactive until you choose to run or schedule it.\n\nIn Make, add an HTTP request: `POST https://api.apify.com/v2/acts/architekture~youtube-metadata-scraper/run-sync-get-dataset-items?timeout=120&memory=2048&maxTotalChargeUsd=0.05`. Set `Content-Type: application/json`, configure your bearer-token credential, and paste one recipe as the JSON body. Parse the returned array and route status rows separately. Add a scheduler only after inspecting the first result. Do not automatically retry an ambiguous POST; first check whether a run was created.\n\n## FAQ\n\nThe linked public field issues are context for these checks, not claims that the same defects exist in this actor. Grocery examples also use adjacent supermarket issues; tennis uses the adjacent tennis-data field.\n\n### Why can a green run contain no usable rows?\n\nA completed run can still report an empty or blocked source. Read the status rows and run summary before treating it as a successful observation; a missing result is not a measured zero. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/TwhAazdbbu8eQ78f5).\n\n### Why did I receive fewer rows than the limit?\n\nThe limit is a ceiling, not a guaranteed count. The source may have fewer public matches, filters may remove records, or the run may stop at a time or spending cap. Start with `maxResults`. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/2yIIuGGDEZW6rP3dS).\n\n### Can this export the whole source?\n\nThe five examples are deliberately bounded. A title or catalogue estimate does not prove full coverage. Use only the collection and continuation modes documented in the input, and retain any partial-run status.\n\n### Which direct identifiers or URLs are accepted?\n\nThe input exposes `channels`, `videos`, `playlists`. Use their documented formats; a source URL is not automatically a valid value for a keyword field. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/N1kc7tkJ69yqxJweG).\n\n### Why is an output field absent?\n\nThe source must publish a value for the actor to return it. Do not infer a missing price, salary, rating, ID or language. Check the output definition and preserve null or absent values in downstream storage. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/cIH2kLHKXxRWOsXqm).\n\n### How do I avoid counting a repeated snapshot twice?\n\nUse `incrementalMode: true` with the same `watchId` for the same filters. Keep the watch stable; changing the identifier establishes a different history. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/32Hxyde6033eMQMYd).\n\n### What should I check after a source or proxy error?\n\nInspect the run message and the smallest configured example. Do not substitute login cookies or unrelated proxy credentials. A source wall is a coverage limit; preserve partial output and avoid treating failed checks as changes. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/e6A7z6q83qMQTclco).\n\n### How do I bound the bill?\n\nSet a run charge cap, for example `$0.05` for these tiny inputs, and keep row limits small. Ten primary results cost $0.008 at the listed rate. Optional events and repeated checks add cost. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/awduWh3b26ujdRIRO).\n\n### Does the preview switch to paid collection?\n\nSet `preview: true`. One bounded preview returns up to 10 data rows when the source has results. Preview rows are not charged. A preview never silently switches to paid collection. [Observed field issue](https://apify.com/apidojo/youtube-scraper/issues/P4IlNG14Pwyh1V4og).\n\n### What evidence helps diagnose a changed result?\n\nProvide the run ID, intended country/store/date or filter, and one expected public source URL. Include the status message and missing field name. Never post credentials. The feedback input records a note and does not change output. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/KgDKtQsOSjOVMX1ur).\n\n### Does this metadata actor return captions or transcripts?\n\nNo. This product returns video and channel metadata. Caption text is a different product and is not included in the per-video event. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/H4O8DDLmRShpb5TSY).\n\n## For AI agents\n\nCall `architekture/youtube-metadata-scraper` with a bounded recipe and an explicit spending cap. Read the input schema first, request only supported fields, and inspect status rows before summarizing results. Preserve source IDs and capture times. Never interpret absent source data as a confirmed change. Use the same `watchId` for repeat observations only when this actor exposes incremental mode.\n\n**Run health, reviewed 2026-11-16:** last retained run `g4oRa1C7Utg74DC3y`, SUCCEEDED, 5 dataset rows, observed 2026-11-16. No new run was started for this listing release.\n\n## More from architek.earth\n\n- [google trends scraper](https://apify.com/architekture/google-trends-scraper)\n- [google hotels scraper](https://apify.com/architekture/google-hotels-scraper)\n- [threads replies scraper](https://apify.com/architekture/threads-replies-scraper)\n\n## Support and legal\n\nUse this actor's [issue tab](https://apify.com/architekture/youtube-metadata-scraper/issues) for product questions. Public-source access does not remove your responsibility for permitted use, copyright and privacy. This is an independent product, not an official source API. architek.earth.\n\n## Changelog\n\n- **2026-11-16**: Bounded example tasks, dated health comparison, explicit worked costs, MCP and automation examples, and compatible input-name changes where applicable. Launch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n### Earlier releases\n\n- **2026-11-16** : First release: channel uploads, video details, search and playlists with exact publish time, likes, comment count, tags and an only-new-videos mode.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "youtube-metadata-scraper",
      "title": "YouTube Metadata Scraper | $0.80/1K",
      "description": "YouTube Metadata scraper for channel videos, search results, playlists, likes and publication times. Pay per result. See the pricing table for launch dates, optional charges and preview limits.",
      "version": "0.1",
      "buildTag": "latest",
      "meta": {
        "templateId": "python-start"
      },
      "input": {
        "title": "YouTube Metadata Scraper input",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "operation": {
            "title": "What to collect",
            "type": "string",
            "editor": "select",
            "enum": [
              "channel-videos",
              "video-details",
              "search",
              "playlist"
            ],
            "enumTitles": [
              "Channel videos (newest first)",
              "Video details by URL or ID",
              "Search results",
              "Playlist videos"
            ],
            "default": "channel-videos",
            "prefill": "channel-videos",
            "description": "channel-videos: a channel's uploads, newest first. video-details: the videos you list. search: videos for search terms. playlist: a playlist's videos in order."
          },
          "channels": {
            "title": "Channels (channel-videos)",
            "type": "array",
            "editor": "stringList",
            "prefill": [
              "@NASA"
            ],
            "description": "@handle, channel URL or channel ID (UC...). Up to 100 per run."
          },
          "channelTabs": {
            "title": "Channel tabs (channel-videos)",
            "type": "array",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "videos",
                "shorts",
                "streams"
              ],
              "enumTitles": [
                "Videos",
                "Shorts",
                "Live streams"
              ]
            },
            "default": [
              "videos"
            ],
            "description": "Which channel tabs to read. Each tab counts as its own target for maxResults."
          },
          "videos": {
            "title": "Videos (video-details)",
            "type": "array",
            "editor": "stringList",
            "description": "Video URLs (watch, youtu.be, shorts, live) or 11-character IDs. Up to 5,000 per run."
          },
          "searchQueries": {
            "title": "Search terms (search)",
            "type": "array",
            "editor": "stringList",
            "description": "One YouTube search per line. Up to 100 per run."
          },
          "searchSort": {
            "title": "Search sort (search)",
            "type": "string",
            "editor": "select",
            "enum": [
              "relevance",
              "date",
              "views",
              "rating"
            ],
            "default": "relevance",
            "description": "YouTube's own result order."
          },
          "searchUploadDate": {
            "title": "Search upload date (search)",
            "type": "string",
            "editor": "select",
            "enum": [
              "any",
              "hour",
              "today",
              "week",
              "month",
              "year"
            ],
            "default": "any",
            "description": "YouTube's upload-date filter."
          },
          "playlists": {
            "title": "Playlists (playlist)",
            "type": "array",
            "editor": "stringList",
            "description": "Playlist URLs (with list=...) or playlist IDs. Up to 100 per run."
          },
          "maxResults": {
            "title": "Maximum videos per target",
            "type": "integer",
            "editor": "number",
            "minimum": 1,
            "maximum": 10000,
            "default": 50,
            "prefill": 10,
            "description": "Per channel tab, search term or playlist (video-details: across the list). Preview caps the run at 10."
          },
          "publishedAfter": {
            "title": "Published on or after",
            "type": "string",
            "editor": "datepicker",
            "dateType": "absolute",
            "description": "Only videos published on or after this date (UTC). Channel tabs stop reading once they pass it."
          },
          "publishedBefore": {
            "title": "Published on or before",
            "type": "string",
            "editor": "datepicker",
            "dateType": "absolute",
            "description": "Only videos published on or before this date (UTC)."
          },
          "preview": {
            "title": "Free preview (10 videos, never charged)",
            "type": "boolean",
            "default": false,
            "prefill": true,
            "description": "On: up to 10 videos, free, nothing is charged. The form starts on preview; API calls without this field run paid. See the listing pricing table for the current primary and optional event rates."
          },
          "incrementalMode": {
            "title": "Only new videos since the last run",
            "type": "boolean",
            "default": false,
            "description": "Needs a watchId. Videos delivered by earlier runs with the same watchId are skipped and not charged."
          },
          "feedback": {
            "title": "Feedback",
            "type": "string",
            "editor": "textarea",
            "default": "",
            "maxLength": 2000,
            "description": "Optional note for the maintainers. Logged and read by a human; never changes output."
          },
          "watchId": {
            "title": "Watch identifier",
            "type": "string",
            "editor": "textfield",
            "default": "",
            "maxLength": 100,
            "description": "Any name for this collection (e.g. nasa-uploads). Remembers seen videos for incremental mode and lets a stopped run continue without re-charging.",
            "isSecret": false
          }
        },
        "required": [
          "operation"
        ]
      },
      "dockerfile": "./Dockerfile",
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "title": "Videos",
          "views": {
            "overview": {
              "title": "Overview",
              "transformation": {
                "fields": [
                  "videoId",
                  "title",
                  "channel",
                  "publishedAt",
                  "durationText",
                  "viewCount",
                  "likeCount",
                  "commentCount",
                  "isShort",
                  "url",
                  "status",
                  "message"
                ],
                "flatten": [
                  "channel"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "videoId": {
                    "label": "Video ID",
                    "format": "text"
                  },
                  "title": {
                    "label": "Title",
                    "format": "text"
                  },
                  "channel.name": {
                    "label": "Channel",
                    "format": "text"
                  },
                  "publishedAt": {
                    "label": "Published (UTC)",
                    "format": "text"
                  },
                  "durationText": {
                    "label": "Length",
                    "format": "text"
                  },
                  "viewCount": {
                    "label": "Views",
                    "format": "number"
                  },
                  "likeCount": {
                    "label": "Likes",
                    "format": "number"
                  },
                  "commentCount": {
                    "label": "Comments",
                    "format": "number"
                  },
                  "isShort": {
                    "label": "Short",
                    "format": "boolean"
                  },
                  "url": {
                    "label": "URL",
                    "format": "link"
                  },
                  "status": {
                    "label": "Status",
                    "format": "text"
                  },
                  "message": {
                    "label": "Message",
                    "format": "text"
                  }
                }
              }
            }
          }
        }
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Output of YouTube Metadata Scraper",
        "properties": {
          "results": {
            "type": "string",
            "title": "Videos",
            "description": "One row per delivered video, plus free status rows.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          },
          "summary": {
            "type": "string",
            "title": "Run summary",
            "description": "RUN_SUMMARY record: status and counts.",
            "template": "{{links.apiDefaultKeyValueStoreUrl}}/records/RUN_SUMMARY"
          }
        }
      },
      "readme": "# YouTube Metadata Scraper | $0.80/1K\n\n## What's new, 2026-11-16\n\nBounded examples, explicit costs and integration recipes. Launch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n**Recorded run:** `g4oRa1C7Utg74DC3y` on 2026-11-16 returned 5 dataset rows; 5 primary events were charged. Status: `SUCCEEDED`. Dataset rows can include free status records.\n\nArchitekture, an independent data studio. architek.earth.\n\nYouTube Metadata returns channel videos, search results, playlists, likes and publication times. Use the daily example to collect repeatable snapshots; use incremental mode only where the input exposes it.\n\n## Tested this week\n\n| Check | Our recorded sample | Field context, 2026-11-16 |\n|---|---|---|\n| Evidence window | 2026-11-16; within the last seven days | Rolling 30-day public counters across 150 title-bucket members |\n| Outcome | SUCCEEDED; 5 dataset rows; 5 charged primary events | 2.25% non-success over 3,071,781 runs |\n| Cost | $0.002169 platform cost in the retained run | Not a competitor execution or a matched-input benchmark |\n\nField source: [public Store API](https://api.apify.com/v2/store?search=youtube%20scraper). Non-success includes failures, aborts and timeouts. The field total is not a unique-user count. These different workloads do not establish that our actor is more reliable.\n\n## What, data and cost\n\nOne primary `video` event costs **$0.0008**; 1,000 cost **$0.80**. Ten primary events cost **$0.008**. Optional events below are additional; status rows are free.\n\n**$5 free credit ≈ 6,250 videos** at the primary launch rate. This estimate excludes optional event charges and additional collection starts. Credit pays for billed work; it is separate from the free preview.\n\nSet `preview: true`. One bounded preview returns up to 10 data rows when the source has results. Preview rows are not charged. A preview never silently switches to paid collection.\n\n### Event prices\n\n| Event | USD per event | When charged |\n|---|---:|---|\n| `video` | 0.0008 | Delivered primary result |\n\nFree and Bronze use the full primary rate; Silver receives 10% off, and Gold, Platinum and Diamond receive 20% off. Secondary event prices do not change. Your run's effective price is shown before collection.\n\nLaunch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n## Worth knowing up front\n\n- No comment text and no transcripts. For transcripts use [YouTube Transcript Scraper](https://apify.com/architekture/youtube-transcript-scraper).\n- `likeCount` is null when the uploader hides likes. `commentCount` is the figure YouTube shows under the video: exact below 1,000 (`commentCountIsExact: true`), rounded above it (`\"12K\"` becomes 12000 with `commentCountIsExact: false`), and null with `commentsDisabled: true` when comments are off. `tags` is empty when the uploader set none.\n- `isShort` is true for videos listed as Shorts and for Shorts-eligible videos of 3 minutes or less. The Shorts tab returns the Shorts YouTube lists on that tab; YouTube offered no further page for it in our tests.\n- A run that hits the run timeout stops cleanly as `PARTIAL`; with a `watchId`, the next run continues where it stopped. Search ends when YouTube stops offering more results, usually a few hundred per query.\n- Invalid input, an unknown channel or playlist, a missing channel tab, a search with no results, a video YouTube will not show, a video refused after retries, and runs stopped by the timeout, your spending limit or the preview limit each write a free status row (`\"recordType\": \"status\"`) that says what happened.\n\n## Input recipes\n\n### 1. Preview: YouTube video metadata\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/youtube-metadata-video-details-three)\n\n```json\n{\n  \"operation\": \"video-details\",\n  \"videos\": [\n    \"https://www.youtube.com/watch?v=jNQXAC9IVRw\"\n  ],\n  \"maxResults\": 1,\n  \"preview\": true\n}\n```\n\n### 2. One-off: Video likes and publish time\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-2)\n\n```json\n{\n  \"operation\": \"video-details\",\n  \"videos\": [\n    \"https://www.youtube.com/watch?v=jNQXAC9IVRw\"\n  ],\n  \"maxResults\": 1\n}\n```\n\n### 3. Daily: YouTube channel uploads\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-3)\n\n```json\n{\n  \"operation\": \"channel-videos\",\n  \"videos\": [],\n  \"maxResults\": 1,\n  \"channels\": [\n    \"https://www.youtube.com/@YouTube\"\n  ],\n  \"incrementalMode\": true,\n  \"watchId\": \"youtube-channel-uploads\"\n}\n```\n\n### 4. One-off: New coffee videos\n\n[Open the configured example task](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-4)\n\n```json\n{\n  \"operation\": \"search\",\n  \"videos\": [],\n  \"maxResults\": 1,\n  \"searchQueries\": [\n    \"coffee\"\n  ],\n  \"searchSort\": \"date\"\n}\n```\n\n## Recurring collection\n\nCopy the example [One-off: Video likes and publish time](https://apify.com/architekture/youtube-metadata-scraper/examples/m058-youtube-metadata-2) into your account. Schedule it in UTC with:\n\n```cron\n0 9 * * *\n```\n\nThe worked ten-result run above repeated daily costs about **$0.24 per 30 days** before optional events and discounts. These tiny recipes demonstrate the input; increase their row limits deliberately. Keep one watch identifier per consistent filter set where incremental mode is available.\n\nThe input form now uses `watchId`. Legacy API names `stateKey` remain accepted and retain the same saved state. If both are supplied, the new name takes precedence. These fields contain ordinary identifiers or search terms, not credentials.\n\n## Output and limits\n\nRead the [live input and output definitions](https://api.apify.com/v2/acts/architekture~youtube-metadata-scraper/builds/default). Keep source identifiers, capture time and any status fields when joining snapshots. The data fields remain additive; this listing change does not promise new source data.\n\n## MCP config for Claude and Cursor\n\nClaude: add a custom connector with URL `https://mcp.apify.com?tools=architekture/youtube-metadata-scraper` and complete its sign-in. For Cursor, add this entry to your MCP settings and set your own `APIFY_TOKEN`:\n\n```json\n{\n  \"mcpServers\": {\n    \"youtube-metadata-scraper\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.apify.com?tools=architekture/youtube-metadata-scraper\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${env:APIFY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n## n8n and Make\n\n[Python example](https://github.com/architek-earth/examples/blob/main/youtube-metadata-scraper/example.py) and [n8n workflow](https://github.com/architek-earth/examples/blob/main/youtube-metadata-scraper/n8n-workflow.json). In n8n, select a Header Auth credential with header `Authorization` and your bearer token. The workflow is inactive until you choose to run or schedule it.\n\nIn Make, add an HTTP request: `POST https://api.apify.com/v2/acts/architekture~youtube-metadata-scraper/run-sync-get-dataset-items?timeout=120&memory=2048&maxTotalChargeUsd=0.05`. Set `Content-Type: application/json`, configure your bearer-token credential, and paste one recipe as the JSON body. Parse the returned array and route status rows separately. Add a scheduler only after inspecting the first result. Do not automatically retry an ambiguous POST; first check whether a run was created.\n\n## FAQ\n\nThe linked public field issues are context for these checks, not claims that the same defects exist in this actor. Grocery examples also use adjacent supermarket issues; tennis uses the adjacent tennis-data field.\n\n### Why can a green run contain no usable rows?\n\nA completed run can still report an empty or blocked source. Read the status rows and run summary before treating it as a successful observation; a missing result is not a measured zero. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/TwhAazdbbu8eQ78f5).\n\n### Why did I receive fewer rows than the limit?\n\nThe limit is a ceiling, not a guaranteed count. The source may have fewer public matches, filters may remove records, or the run may stop at a time or spending cap. Start with `maxResults`. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/2yIIuGGDEZW6rP3dS).\n\n### Can this export the whole source?\n\nThe five examples are deliberately bounded. A title or catalogue estimate does not prove full coverage. Use only the collection and continuation modes documented in the input, and retain any partial-run status.\n\n### Which direct identifiers or URLs are accepted?\n\nThe input exposes `channels`, `videos`, `playlists`. Use their documented formats; a source URL is not automatically a valid value for a keyword field. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/N1kc7tkJ69yqxJweG).\n\n### Why is an output field absent?\n\nThe source must publish a value for the actor to return it. Do not infer a missing price, salary, rating, ID or language. Check the output definition and preserve null or absent values in downstream storage. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/cIH2kLHKXxRWOsXqm).\n\n### How do I avoid counting a repeated snapshot twice?\n\nUse `incrementalMode: true` with the same `watchId` for the same filters. Keep the watch stable; changing the identifier establishes a different history. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/32Hxyde6033eMQMYd).\n\n### What should I check after a source or proxy error?\n\nInspect the run message and the smallest configured example. Do not substitute login cookies or unrelated proxy credentials. A source wall is a coverage limit; preserve partial output and avoid treating failed checks as changes. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/e6A7z6q83qMQTclco).\n\n### How do I bound the bill?\n\nSet a run charge cap, for example `$0.05` for these tiny inputs, and keep row limits small. Ten primary results cost $0.008 at the listed rate. Optional events and repeated checks add cost. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/awduWh3b26ujdRIRO).\n\n### Does the preview switch to paid collection?\n\nSet `preview: true`. One bounded preview returns up to 10 data rows when the source has results. Preview rows are not charged. A preview never silently switches to paid collection. [Observed field issue](https://apify.com/apidojo/youtube-scraper/issues/P4IlNG14Pwyh1V4og).\n\n### What evidence helps diagnose a changed result?\n\nProvide the run ID, intended country/store/date or filter, and one expected public source URL. Include the status message and missing field name. Never post credentials. The feedback input records a note and does not change output. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/KgDKtQsOSjOVMX1ur).\n\n### Does this metadata actor return captions or transcripts?\n\nNo. This product returns video and channel metadata. Caption text is a different product and is not included in the per-video event. [Observed field issue](https://apify.com/streamers/youtube-scraper/issues/H4O8DDLmRShpb5TSY).\n\n## For AI agents\n\nCall `architekture/youtube-metadata-scraper` with a bounded recipe and an explicit spending cap. Read the input schema first, request only supported fields, and inspect status rows before summarizing results. Preserve source IDs and capture times. Never interpret absent source data as a confirmed change. Use the same `watchId` for repeat observations only when this actor exposes incremental mode.\n\n**Run health, reviewed 2026-11-16:** last retained run `g4oRa1C7Utg74DC3y`, SUCCEEDED, 5 dataset rows, observed 2026-11-16. No new run was started for this listing release.\n\n## More from architek.earth\n\n- [google trends scraper](https://apify.com/architekture/google-trends-scraper)\n- [google hotels scraper](https://apify.com/architekture/google-hotels-scraper)\n- [threads replies scraper](https://apify.com/architekture/threads-replies-scraper)\n\n## Support and legal\n\nUse this actor's [issue tab](https://apify.com/architekture/youtube-metadata-scraper/issues) for product questions. Public-source access does not remove your responsibility for permitted use, copyright and privacy. This is an independent product, not an official source API. architek.earth.\n\n## Changelog\n\n- **2026-11-16**: Bounded example tasks, dated health comparison, explicit worked costs, MCP and automation examples, and compatible input-name changes where applicable. Launch price until **2026-12-31**, then **$2.50 per 1,000 videos**.\n\n### Earlier releases\n\n- **2026-11-16** : First release: channel uploads, video details, search and playlists with exact publish time, likes, comment count, tags and an only-new-videos mode.\n"
    },
    "buildNumber": "0.1.5",
    "imageDigest": "efb8ccdf3e26a48935971371810bbbba421f22eba27601499cdba7878ab4d797",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "m058-candidate",
      "versionNumber": "0.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0021144444444444444
    }
  }
}