# YouTube Video Details Lookup: Views, Likes & Tags by URL (`tenfoldfleet/youtube-video-details-lookup`) Actor

Get the details of YouTube videos from a list of URLs or IDs: title, description, views, likes, comments, tags, category, duration, publish date, channel and Shorts flag. Monitor mode returns only videos whose numbers changed. $0.90 per 1,000 videos; private or deleted videos are free.

- **URL**: https://apify.com/tenfoldfleet/youtube-video-details-lookup.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** Videos, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 video details

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

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

*Not affiliated with YouTube or Google. This actor reads public video pages only.*

### What does YouTube Video Details Lookup do?

**YouTube Video Details Lookup** takes a **list of YouTube video URLs or IDs** and returns one clean row per video: **title, description, view count, like count, comment count, tags (keywords), category, duration in seconds, publish date, channel name, channel ID, thumbnail** and flags for **Shorts** and **live streams**. It works like a small **YouTube video details API**: paste links from YouTube, a spreadsheet or another actor, run it, and download the table.

What makes it different is **bulk URL-list lookup with a change-only monitor**. Turn on monitor mode, schedule it daily, and each run returns only the videos whose views, likes or comments moved since the last run, with the exact change in `viewDelta`, `likeDelta` and `commentDelta`. Videos that did not change are skipped and cost nothing.

Already have keywords or a channel instead of video links? Our other YouTube actors cover those jobs: [YouTube Search Scraper](https://apify.com/tenfoldfleet/youtube-search-scraper) (keywords), [YouTube Channel Scraper](https://apify.com/tenfoldfleet/youtube-channel-scraper) (every video of a channel), [YouTube Shorts Scraper](https://apify.com/tenfoldfleet/youtube-shorts-scraper), [YouTube Comments Scraper](https://apify.com/tenfoldfleet/youtube-comments-scraper) and [YouTube Transcript Scraper](https://apify.com/tenfoldfleet/youtube-transcript-scraper). This one is for when you already know which videos you care about.

### Why use it?

- **Campaign reporting**: track views and likes of sponsored or paid videos every day without opening each one.
- **Influencer vetting**: check real engagement (likes and comments per view) of a creator's recent uploads before you sign a deal.
- **SEO and content research**: pull the hidden **tags** and the category of competitor videos to see which keywords they target.
- **Data enrichment**: you have video IDs from a CRM, a sheet or another scraper and need the stats next to them.
- **AI agents**: one call turns a pasted link into structured facts about the video.

### What data can it extract?

| Field | Example |
|---|---|
| `videoId`, `url` | `dQw4w9WgXcQ`, watch or Shorts link |
| `title`, `description` | full text of both |
| `channelId`, `channelName`, `channelUrl` | `UCuAXFkgsw1L7xaCfnd5JJOw`, `Rick Astley` |
| `publishedAt` | `2009-10-24T23:57:33-07:00` |
| `durationSec` | `213` |
| `viewCount`, `likeCount` | exact numbers |
| `commentCount`, `commentCountText` | `2400000`, `"2.4M"` (YouTube shows comments rounded) |
| `tags` | list of the uploader's keywords |
| `category` | `Music`, `Education`, `Gaming`... |
| `thumbnailUrl` | largest thumbnail |
| `isShort`, `isLive`, `wasLive`, `isUnlisted`, `ageRestricted` | true / false |
| `viewDelta`, `likeDelta`, `commentDelta`, `isNew` | change since the last run (monitor mode) |
| `dataSource` | `watch-page`, or `player-api` when YouTube asked for a bot check and the lighter API answered |
| `scrapedAt` | when the row was made |

### How to look up YouTube video details

1. Paste video links or IDs into **YouTube videos**, one per line. Any link shape works (watch, youtu.be, shorts, live, embed, mobile).
2. Optional: switch on **Monitor mode** and give the state a name if you track several lists.
3. Click **Start** and wait a few seconds per batch of videos.
4. Download the results as JSON, CSV or Excel, or read them from the API.
5. For tracking, create a [schedule](https://docs.apify.com/platform/schedules) that runs the actor daily with monitor mode on.

### How much does it cost?

**$0.90 per 1,000 videos** ($0.0009 per video), plus a tiny $0.00005 start fee per run. Videos that are private, deleted, region-blocked or not valid IDs are returned as error rows and are **free**. In monitor mode, unchanged videos are **free**. The Apify free plan gives $5 of credit each month, which covers about 5,000 video lookups. Set a maximum cost per run in the run options and the actor stops cleanly when it is reached.

### Input

```json
{
    "videos": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://youtu.be/9bZkp7q19f0",
        "https://www.youtube.com/shorts/Xk-rkvJTdOw",
        "kJQP7kiw5Fk"
    ],
    "monitorMode": false
}
```

### Output

```json
{
    "videoId": "dQw4w9WgXcQ",
    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "title": "Rick Astley - Never Gonna Give You Up (4K Remaster)",
    "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "channelName": "Rick Astley",
    "channelUrl": "https://www.youtube.com/@RickAstleyYT",
    "publishedAt": "2009-10-24T23:57:33-07:00",
    "durationSec": 213,
    "viewCount": 1833970987,
    "likeCount": 19492412,
    "commentCount": 2400000,
    "commentCountText": "2.4M",
    "tags": ["rick astley", "Never Gonna Give You Up", "nggyu"],
    "category": "Music",
    "thumbnailUrl": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
    "isShort": false,
    "isLive": false,
    "viewDelta": null,
    "likeDelta": null,
    "scrapedAt": "2026-11-06T09:00:00.000Z"
}
```

A video that cannot be read comes back as `{"videoId": "...", "reason": "private", "error": "... Not charged."}`. Download the dataset as JSON, CSV, Excel, XML or HTML.

### Tips

- Mix long videos and Shorts freely; `isShort` tells them apart.
- Duplicates in the list are looked up once and charged once.
- `commentCount` is the rounded number YouTube shows (for example 2.4M), so small comment changes on big videos may not show in monitor mode. Views and likes are exact.
- Use one monitor state name per client or campaign so their histories stay apart.

### FAQ

#### Do I need a YouTube API key or a login?

No. The actor reads the public video page, so there is no quota and no Google Cloud project to set up.

#### Which videos fail?

Private, deleted, terminated-channel and country-blocked videos, and anything that is not a video link (a channel or playlist link, for example). They are listed with a reason and are not charged. Now and then YouTube also answers a lookup with a bot check on every retry; that video comes back with reason `blocked`, free, and usually works on the next run.

#### How does monitor mode decide what changed?

It stores the last views, likes and comments of each video in a named key-value store in your account. A video is returned when any of the three differs from the stored value, or when it is new to the list.

#### Can it get dislikes?

No. YouTube stopped showing public dislike counts in 2021.

### Disclaimer

This actor collects publicly available information about YouTube videos. You are responsible for using the data in line with YouTube's terms and the laws that apply to you.

### More tools from Tenfold Fleet

| Actor | Output |
|---|---|
| [ALDI Australia Scraper - AU Products, Unit Prices & Catalogue](https://apify.com/tenfoldfleet/aldi-australia-scraper) | product |
| [Alibaba Image Search - Reverse Lookup of Suppliers by Photo](https://apify.com/tenfoldfleet/alibaba-image-search) | matched product |
| [Wholesale Suppliers - MOQ & Price Breaks (Alibaba Alternative)](https://apify.com/tenfoldfleet/alibaba-products-scraper) | product |
| [AliExpress Reviews Scraper: Product Feedback & Photos Monitor](https://apify.com/tenfoldfleet/aliexpress-reviews-scraper) | review |
| [AliExpress Keyword Scraper - Exact Sold Counts by Search Term](https://apify.com/tenfoldfleet/aliexpress-search-scraper) | product |
| [Amazon Bestsellers Tracker: New Releases & Rank Changes](https://apify.com/tenfoldfleet/amazon-bestsellers-tracker) | ranked product |
| [Amazon Product Scraper - Details, Prices & Search by ASIN](https://apify.com/tenfoldfleet/amazon-product-scraper) | product |
| [Applicant Tracking Jobs Scraper - Greenhouse, Lever & 6 More](https://apify.com/tenfoldfleet/ats-jobs-scraper) | job posting |
| [Audio Transcription: MP3 & Video Files to Text, SRT, VTT](https://apify.com/tenfoldfleet/audio-transcription) | audio minute transcribed |
| [Backlinks Checker - Referring Domains, Anchors & Domain Rank](https://apify.com/tenfoldfleet/backlinks-checker) | backlink |
| [BBB Scraper: Business Leads, Ratings & New Reviews](https://apify.com/tenfoldfleet/bbb-scraper-leads-reviews) | business |
| [Bilibili Scraper - Videos, Comments, Danmaku & Search](https://apify.com/tenfoldfleet/bilibili-scraper) | video or comment |
| [Businesses Without Websites - Local Leads with Phone & Rating](https://apify.com/tenfoldfleet/businesses-without-websites) | lead |
| [Coles Product Scraper - Australian Supermarket Prices & Deals](https://apify.com/tenfoldfleet/coles-product-scraper) | product |
| [Company Contact Lookup - One Lead Record per Website](https://apify.com/tenfoldfleet/company-contact-finder) | website with contacts |
| [Contact Form Finder: Form Fields, Embed Type & Captcha Flag](https://apify.com/tenfoldfleet/contact-form-finder) | website with contact page or form |
| [CutShort Jobs Scraper - Startup Roles with INR Salary Ranges](https://apify.com/tenfoldfleet/cutshort-jobs-scraper) | job listing |
| [Facebook Ads Library Scraper for Marketers](https://apify.com/tenfoldfleet/facebook-ads-library-scraper) | ad |
| [Facebook Ads Transcript - Spoken Hook, CTA, Offer & Angle](https://apify.com/tenfoldfleet/facebook-ads-transcript) | video ad transcript |
| [Facebook Page Contact Finder - Business Leads from Page Links](https://apify.com/tenfoldfleet/facebook-page-contact-finder) | page with contact details |
| [Facebook Reels Scraper: Views & Captions Monitor for Any Page](https://apify.com/tenfoldfleet/facebook-reels-scraper) | reel |
| [Facebook Reels Transcript - Facebook Video to Text, No Login](https://apify.com/tenfoldfleet/facebook-reels-transcript) | reel transcript |
| [Foundit Jobs Monitor: India, Singapore & Malaysia Jobs Scraper](https://apify.com/tenfoldfleet/foundit-jobs-monitor) | job listing |
| [Funding Rounds Scraper - Recently Funded Companies & Investors](https://apify.com/tenfoldfleet/funding-rounds-scraper) | funding round |
| [Google Ads Transparency Center Scraper - Competitor Ads by Site](https://apify.com/tenfoldfleet/google-ads-transparency-scraper) | ad |
| [Google AI Overviews Checker - Citations & Domain Tracker](https://apify.com/tenfoldfleet/google-ai-overviews-checker) | keyword checked |
| [Flights API - Route & Date Fares (Google Flights Alternative)](https://apify.com/tenfoldfleet/google-flights-scraper) | route search |
| [Google Hotels Scraper - Nightly Prices, Stars & Booking Sites](https://apify.com/tenfoldfleet/google-hotels-scraper) | hotel |
| [Google for Jobs Scraper - Openings by City, Pay & Job Board](https://apify.com/tenfoldfleet/google-jobs-scraper) | job listing |
| [Google Keyword Planner Alternative - Ideas, Bids & Volume](https://apify.com/tenfoldfleet/google-keyword-planner) | keyword idea |
| [Google Maps Extractor - Business Leads, Phones & Websites](https://apify.com/tenfoldfleet/google-maps-extractor) | place |
| [Google News Scraper - Articles, Real URLs & Full Text](https://apify.com/tenfoldfleet/google-news-scraper) | article |
| [Google Travel Hotel Rate Tracker - OTA Prices for Every Night](https://apify.com/tenfoldfleet/google-travel-hotel-rate-tracker) | offer |
| [Search Trends by Region & Time - Google Trends Data Scraper](https://apify.com/tenfoldfleet/google-trends-scraper) | keyword |
| [Hirist Jobs Scraper: India Tech Jobs with New-Job Monitor](https://apify.com/tenfoldfleet/hirist-jobs-scraper) | job listing |
| [IIMJobs Jobs Scraper: Search & Monitor Management Roles](https://apify.com/tenfoldfleet/iimjobs-jobs-scraper) | job listing |
| [India Jobs Feed: Hirist, IIMJobs, Foundit, Instahyre & Cutshort](https://apify.com/tenfoldfleet/india-jobs-feed) | job listing |
| [Instagram Reels Analytics - Profile Reel Plays, Likes, Comments](https://apify.com/tenfoldfleet/instagram-reels-analytics) | reel |
| [Instagram Reels Search - Keyword to Top Reels, Plays & Creators](https://apify.com/tenfoldfleet/instagram-reels-search) | reel |
| [Instagram Reels Transcript - Speech to Text for Public Reels](https://apify.com/tenfoldfleet/instagram-reels-transcript) | reel transcript |
| [Instahyre Jobs Monitor: New Tech Jobs in India by Skill](https://apify.com/tenfoldfleet/instahyre-jobs-monitor) | job listing |
| [Keyword Ideas & Related Keywords - Difficulty, Volume & CPC](https://apify.com/tenfoldfleet/keyword-ideas) | keyword idea |
| [Keyword Search Volume, CPC & Difficulty Checker (Bulk)](https://apify.com/tenfoldfleet/keyword-search-volume) | keyword with data |
| [Likee Scraper - Creators by Country, Video Views & Likes](https://apify.com/tenfoldfleet/likee-scraper) | video |
| [LinkedIn Ads Library Scraper - Competitor Ad Copy & Targeting](https://apify.com/tenfoldfleet/linkedin-ad-library-scraper) | ad |
| [LinkedIn Company Posts Monitor: New Posts, No Login](https://apify.com/tenfoldfleet/linkedin-company-posts-monitor) | post |
| [LinkedIn Company Scraper: Firmographics & Recent Posts](https://apify.com/tenfoldfleet/linkedin-company-scraper) | company |
| [Naver Shopping Scraper - Keyword Rank, Prices, Ads & Malls](https://apify.com/tenfoldfleet/naver-shopping-scraper) | product |
| [Pinterest Search Scraper: Pins, Promoted Ads & Shop Trends](https://apify.com/tenfoldfleet/pinterest-search-scraper) | pin |
| [Podcast Transcription: Episodes to Text, SRT & Monitor](https://apify.com/tenfoldfleet/podcast-transcription) | audio minute transcribed |
| [Reddit Brand Monitoring - Keyword Alerts for Posts & Comments](https://apify.com/tenfoldfleet/reddit-brand-monitoring) | mention |
| [Reddit Post Comments Export: Threads to JSON & CSV](https://apify.com/tenfoldfleet/reddit-post-comments-export) | comment |
| [Remote Job Board Scraper - Remote Jobs Aggregator, 7 Sites](https://apify.com/tenfoldfleet/remote-jobs-aggregator) | unique remote job |
| [Reverse Image Search - Find Every Site Using a Photo](https://apify.com/tenfoldfleet/reverse-image-search) | image searched |
| [SEEK Jobs Scraper - Salaries & Hiring Across 8 APAC Job Boards](https://apify.com/tenfoldfleet/seek-job-scraper) | job listing |
| [Semrush API Domain Traffic: Visits, Authority Score, AI Traffic](https://apify.com/tenfoldfleet/semrush-api-domain-traffic) | domain |
| [SEO Agent - AI Keyword Research & Competitor Reports](https://apify.com/tenfoldfleet/seo-agent) | research report |
| [SEO Crawler - Technical SEO Audit Tool & On-Page Checker](https://apify.com/tenfoldfleet/seo-audit-tool) | page audit |
| [SEO Competitor Keywords - Domain Ranked Keywords & Keyword Gap](https://apify.com/tenfoldfleet/seo-competitor-keywords) | keyword |
| [Shopify Inventory Scraper - SKUs, Variants & In-Stock Status](https://apify.com/tenfoldfleet/shopify-products-scraper) | product |
| [Shopify App & Theme Detector - Store Analyzer & Contacts](https://apify.com/tenfoldfleet/shopify-store-analyzer) | shopify store |
| [Sitemap URL Extractor - All URLs from sitemap.xml & robots.txt](https://apify.com/tenfoldfleet/sitemap-url-extractor) | url |
| [Stock Photos & Videos Scraper for Pexels](https://apify.com/tenfoldfleet/stock-photos-scraper) | media item |
| [Website Built With Checker - Find Any Site's CMS & Tech Stack](https://apify.com/tenfoldfleet/tech-stack-detector) | website |
| [Telegram Keyword Search Monitor - New Mentions in Channels](https://apify.com/tenfoldfleet/telegram-keyword-search-monitor) | matching message |
| [Threads Search - Keyword & Profile Posts Scraper (No Login)](https://apify.com/tenfoldfleet/threads-search) | post |
| [TikTok Ads Library Scraper: Competitor Ads in Europe](https://apify.com/tenfoldfleet/tiktok-ads-library-scraper) | ad |
| [TikTok Transcripts - Captions or Speech to Text for Any Video](https://apify.com/tenfoldfleet/tiktok-transcripts) | video transcript |
| [Twitter Video Transcript - X Video to Text & SRT](https://apify.com/tenfoldfleet/twitter-video-transcript) | video transcript |
| [HTML to Text & URL to Markdown - LLM Ready Web Content](https://apify.com/tenfoldfleet/url-to-markdown) | page |
| [Video Transcriber - Any Link to Text, SRT & VTT (7 Platforms)](https://apify.com/tenfoldfleet/video-transcriber-any-url) | video transcribed |
| [Website Traffic Checker - Bulk Domain Traffic Estimate](https://apify.com/tenfoldfleet/website-traffic-checker) | domain with traffic data |
| [WeChat Official Account Articles - Keyword Search to Markdown](https://apify.com/tenfoldfleet/wechat-official-account-articles) | article found |
| [Weibo Scraper - Comment Threads, Hot Search Ranks & User Stats](https://apify.com/tenfoldfleet/weibo-scraper) | comment |
| [Woolworths Product Scraper - AU Shelf Prices, Specials & GTINs](https://apify.com/tenfoldfleet/woolworths-product-scraper) | product |
| [Workday Jobs Scraper - myworkdayjobs.com API with Salary](https://apify.com/tenfoldfleet/workday-jobs-scraper) | job posting |
| [Yahoo Finance Scraper - Quotes, History, Fundamentals & News](https://apify.com/tenfoldfleet/yahoo-finance-scraper) | ticker row |
| [YouTube Channel Email Scraper - Creator Contact Extractor](https://apify.com/tenfoldfleet/youtube-channel-email-scraper) | channel with email |
| [YouTube Livestream & Channel Scraper - Videos, Likes & Stats](https://apify.com/tenfoldfleet/youtube-channel-scraper) | video |
| [YouTube Comments Scraper - Replies, Likes & Sort by Newest](https://apify.com/tenfoldfleet/youtube-comments-scraper) | comment |
| [YouTube Search Scraper: Keyword Video & Shorts Monitor](https://apify.com/tenfoldfleet/youtube-search-scraper) | search result |
| [YouTube Shorts Analytics Scraper - Views, Likes & Hashtags](https://apify.com/tenfoldfleet/youtube-shorts-scraper) | short |
| [YouTube Captions Downloader - Transcript & Subtitles Scraper](https://apify.com/tenfoldfleet/youtube-transcript-scraper) | transcript |

# Actor input Schema

## `videos` (type: `array`):

Video URLs or 11-character video IDs, one per line. Any link shape works: youtube.com/watch?v=..., youtu.be/..., /shorts/..., /live/..., /embed/... and mobile or music links. Duplicates are looked up once. Each video found is one result. On the Apify free plan ($5 of monthly credit) that is roughly 5,000 videos a month.

## `monitorMode` (type: `boolean`):

Remember each video's views, likes and comments between runs. When on, a video is returned (and charged) only if one of those numbers changed since the previous run, or the first time it is seen; viewDelta, likeDelta and commentDelta show the change. Unchanged videos are skipped for free. Schedule the run daily to track a list of videos.

## `monitorStoreName` (type: `string`):

Name of the key-value store that keeps the last-seen numbers in monitor mode. Use a different name for each video list you track.

## `maxConcurrency` (type: `integer`):

How many videos to look up in parallel.

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

Apify datacenter proxy by default. When YouTube asks a datacenter IP for a bot check, the actor retries on a new IP and then through YouTube's lighter player API. A residential group is switched to datacenter on Apify.

## Actor input object example

```json
{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://youtu.be/9bZkp7q19f0",
    "https://www.youtube.com/shorts/Xk-rkvJTdOw"
  ],
  "monitorMode": false,
  "monitorStoreName": "youtube-video-details-monitor",
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "videos": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://youtu.be/9bZkp7q19f0",
        "https://www.youtube.com/shorts/Xk-rkvJTdOw"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/youtube-video-details-lookup").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 = { "videos": [
        "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "https://youtu.be/9bZkp7q19f0",
        "https://www.youtube.com/shorts/Xk-rkvJTdOw",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/youtube-video-details-lookup").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "videos": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://youtu.be/9bZkp7q19f0",
    "https://www.youtube.com/shorts/Xk-rkvJTdOw"
  ]
}' |
apify call tenfoldfleet/youtube-video-details-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenfoldfleet/youtube-video-details-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5HdQ3VJBGuGWUeshI/builds/UwORudFS8qaB34Yc7/openapi.json
