# YouTube Video Embed URLs for Website Media Inventories

**Use case:** 

Collect embed URLs and the source-reported embeddability status for known YouTube videos. Prepare references for your website's media inventory and test playback in your own environment; the task does not build embed code, bypass restrictions or guarantee access for every visitor.

## Input

```json
{
  "inputList": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "watch_url": {
    "label": "Watch URL",
    "format": "string"
  },
  "embed_url": {
    "label": "Embed URL",
    "format": "string"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "duration_seconds": {
    "label": "Duration Seconds",
    "format": "integer"
  },
  "duration_text": {
    "label": "Duration Text",
    "format": "string"
  },
  "publish_date": {
    "label": "Publish Date",
    "format": "string"
  },
  "upload_date": {
    "label": "Upload Date",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "thumbnail_url": {
    "label": "Thumbnail URL",
    "format": "string"
  },
  "thumbnails.url": {
    "label": "Thumbnails / URL",
    "format": "array"
  },
  "thumbnails.width": {
    "label": "Thumbnails / Width",
    "format": "array"
  },
  "thumbnails.height": {
    "label": "Thumbnails / Height",
    "format": "array"
  },
  "keywords": {
    "label": "Keywords",
    "format": "array"
  },
  "author.id": {
    "label": "Author / ID",
    "format": "text"
  },
  "author.name": {
    "label": "Author / Name",
    "format": "text"
  },
  "author.handle": {
    "label": "Author / Handle",
    "format": "text"
  },
  "author.url": {
    "label": "Author / URL",
    "format": "link"
  },
  "author.avatar_url": {
    "label": "Author / Avatar URL",
    "format": "image"
  },
  "author.avatar_thumbnails.url": {
    "label": "Author / Avatar Thumbnails / URL",
    "format": "array"
  },
  "author.avatar_thumbnails.width": {
    "label": "Author / Avatar Thumbnails / Width",
    "format": "array"
  },
  "author.avatar_thumbnails.height": {
    "label": "Author / Avatar Thumbnails / Height",
    "format": "array"
  },
  "author.is_verified": {
    "label": "Author / Is Verified",
    "format": "boolean"
  },
  "author.subscribers_text": {
    "label": "Author / Subscribers Text",
    "format": "text"
  },
  "author.subscribers": {
    "label": "Author / Subscribers",
    "format": "number"
  },
  "statistics.views": {
    "label": "Statistics / Views",
    "format": "number"
  },
  "statistics.views_text": {
    "label": "Statistics / Views Text",
    "format": "text"
  },
  "statistics.likes": {
    "label": "Statistics / Likes",
    "format": "number"
  },
  "statistics.likes_text": {
    "label": "Statistics / Likes Text",
    "format": "text"
  },
  "statistics.comments": {
    "label": "Statistics / Comments",
    "format": "number"
  },
  "statistics.comments_hidden": {
    "label": "Statistics / Comments Hidden",
    "format": "boolean"
  },
  "captions.name": {
    "label": "Captions / Name",
    "format": "array"
  },
  "captions.language_code": {
    "label": "Captions / Language Code",
    "format": "array"
  },
  "captions.vss_id": {
    "label": "Captions / Vss ID",
    "format": "array"
  },
  "captions.url": {
    "label": "Captions / URL",
    "format": "array"
  },
  "captions.is_auto_generated": {
    "label": "Captions / Is Auto Generated",
    "format": "array"
  },
  "captions.is_translatable": {
    "label": "Captions / Is Translatable",
    "format": "array"
  },
  "translation_languages.language_code": {
    "label": "Translation Languages / Language Code",
    "format": "array"
  },
  "translation_languages.name": {
    "label": "Translation Languages / Name",
    "format": "array"
  },
  "chapters.title": {
    "label": "Chapters / Title",
    "format": "array"
  },
  "chapters.start_seconds": {
    "label": "Chapters / Start Seconds",
    "format": "array"
  },
  "chapters.timestamp": {
    "label": "Chapters / Timestamp",
    "format": "array"
  },
  "live.is_live_content": {
    "label": "Live / Is Live Content",
    "format": "boolean"
  },
  "live.is_live_now": {
    "label": "Live / Is Live Now",
    "format": "boolean"
  },
  "live.is_upcoming": {
    "label": "Live / Is Upcoming",
    "format": "boolean"
  },
  "live.start_at": {
    "label": "Live / Start At",
    "format": "date"
  },
  "live.end_at": {
    "label": "Live / End At",
    "format": "date"
  },
  "live.concurrent_viewers": {
    "label": "Live / Concurrent Viewers",
    "format": "number"
  },
  "availability.status": {
    "label": "Availability / Status",
    "format": "text"
  },
  "availability.reason": {
    "label": "Availability / Reason",
    "format": "text"
  },
  "availability.is_private": {
    "label": "Availability / Is Private",
    "format": "boolean"
  },
  "availability.is_unlisted": {
    "label": "Availability / Is Unlisted",
    "format": "boolean"
  },
  "availability.is_family_safe": {
    "label": "Availability / Is Family Safe",
    "format": "boolean"
  },
  "availability.is_age_restricted": {
    "label": "Availability / Is Age Restricted",
    "format": "boolean"
  },
  "availability.allow_ratings": {
    "label": "Availability / Allow Ratings",
    "format": "boolean"
  },
  "availability.is_embeddable": {
    "label": "Availability / Is Embeddable",
    "format": "boolean"
  },
  "availability.available_countries": {
    "label": "Availability / Available Countries",
    "format": "array"
  },
  "is_shorts_eligible": {
    "label": "Is Shorts Eligible",
    "format": "boolean"
  },
  "is_paid_promotion": {
    "label": "Is Paid Promotion",
    "format": "boolean"
  },
  "description_links": {
    "label": "Description Links",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Video Details Scraper – Metadata & Stats](https://apify.com/scrapingmonkey/youtube-video-details-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapingmonkey/youtube-video-details-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/scrapingmonkey/youtube-video-details-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
