# YouTube Data API: Search, Channels, Videos & Shorts (No Quota) (`apizap.com/youtube-data-api`) Actor

YouTube search results, channel videos, Shorts and live streams, channel stats and full video details (views, likes, publish date, tags) as clean JSON. Filters for date, duration, sort. No API key, no quota, no login. By Apizap.

- **URL**: https://apify.com/apizap.com/youtube-data-api.md
- **Developed by:** [ApiZap](https://apify.com/apizap.com) (community)
- **Categories:** Videos, Social media, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

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

## YouTube Data API | $0.60/1K Results | No Start Fee, No Quota

**Get public YouTube search, channel, Shorts and video metadata as JSON, without a Google Cloud project, API key or Data API quota.** Search with the same filters as the website, list videos, Shorts or livestreams from a channel, or look up views, likes, dates, tags and description for any public video. **Price: $0.60 per 1,000 results, plus $0.90 per 1,000 when you request full details (always included for video URL lookups). No start fee.**

The official YouTube Data API v3 default allocation, as of Google's quota documentation updated 12 November 2026, is 100 `search.list` calls per day, 100 `videos.insert` calls, and 10,000 units per day for other methods. This Actor is for public metadata work that does not use that API. It does not upload videos, read private analytics, or return comments or transcripts. You are responsible for complying with YouTube's terms.

Walkthrough: [YouTube data without a Data API quota](https://apizap.com/blog/youtube-data-without-api-quota).

### Why this Actor

- **$0.60 per 1,000 results, no start fee.** Full details are an optional add-on.
- **Search, channels and videos in one Actor.** Mix them in a single run.
- **Real YouTube filters:** sort by relevance, upload date, views or rating; upload date (hour → year); duration (short, medium, long); Shorts-only search.
- **Channel listing:** Videos, Shorts and Live tabs, sorted newest, most popular or oldest, plus a channel info item (subscribers, video count, description, avatar, banner, RSS).
- **Fast and light:** uses YouTube's own web JSON, with no browser and no proxy by default. Built-in retries.
- **Hard cost caps:** `maxResultsPerSource`, `maxItems` and your run's max-charge limit are respected.
- **Metadata only:** no comments, no transcripts, no personal data.

### Use cases

- **Keyword & trend research:** what ranks for "iphone 17 review" this week, by views?
- **Competitor and creator tracking:** schedule a daily run on a list of channels and get every new upload.
- **Influencer discovery:** search a niche, then pull channel stats for each creator.
- **Content analytics:** views, likes and publish dates for a list of videos or Shorts.
- **AI agents:** give an agent a "search YouTube" or "latest videos from this channel" tool through Apify MCP.

### Input

| Field | Description |
|---|---|
| `searchQueries` | Keywords to search. |
| `searchType` | `videos`, `shorts` or `all`. |
| `sortBy` | `relevance`, `date`, `views`, `rating`. |
| `uploadDate` | `any`, `hour`, `today`, `week`, `month`, `year`. |
| `duration` | `any`, `short` (<4 min), `medium` (4–20 min), `long` (>20 min). |
| `channels` | `@handle`, channel URL or `UC…` ID. |
| `channelTabs` | Any of `videos`, `shorts`, `streams`. |
| `channelSort` | `newest`, `popular`, `oldest`. |
| `includeChannelInfo` | One channel item per channel (default on). |
| `videoUrls` | Video/Shorts URLs or IDs, always returned with full details. |
| `includeFullDetails` | Add likes, exact date, category, tags and full description to search/channel results (add-on event). |
| `maxResultsPerSource`, `maxItems` | Caps on results and cost. |
| `language`, `country` | Interface language and search country (default `en`, `US`). |

```json
{
  "searchQueries": ["python tutorial"],
  "searchType": "videos",
  "sortBy": "views",
  "uploadDate": "month",
  "channels": ["@mkbhd"],
  "channelTabs": ["videos", "shorts"],
  "videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
  "includeFullDetails": false,
  "maxResultsPerSource": 50,
  "maxItems": 200
}
```

### Output

Search or channel video:

```json
{
  "type": "video", "id": "hdMszZ2ah5Q", "url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
  "title": "Macbook PROLED Review: It's Not About That",
  "channelName": "Marques Brownlee", "channelId": "UCBJycsmduvYEL83R_U4JriQ", "channelUrl": "https://www.youtube.com/@mkbhd",
  "viewCount": 5200000, "viewCountText": "5.2M views", "publishedText": "2 days ago", "publishedAtApprox": "2026-11-12T07:59:14.681Z",
  "durationText": "15:14", "durationSeconds": 914, "isLive": false,
  "thumbnailUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hq720.jpg", "descriptionSnippet": null, "badges": [],
  "source": "channel", "sourceInput": "@mkbhd", "tab": "videos", "rank": 1, "scrapedAt": "2026-11-14T07:59:14.683Z"
}
```

With full details (always for `videoUrls`), each video also has:

```json
{ "likeCount": 19503992, "publishDate": "2009-10-24T23:57:33-07:00", "uploadDate": "2009-10-24T23:57:33-07:00",
  "category": "Music", "description": "The official video for …", "keywords": ["rick astley", "…"],
  "isLiveContent": false, "isShortsEligible": false, "isFamilySafe": true, "isUnlisted": false, "availableCountryCount": 249, "hasFullDetails": true }
```

Channel item (`type: "channel"`): `title`, `handle`, `subscriberCount`, `videoCount`, `description`, `avatarUrl`, `bannerUrl`, `rssUrl`, `keywords`, `url`.

Shorts (`type: "short"`) from search and channel tabs include title and views. Turn on full details for channel, date, likes and duration. A run summary is saved to the key-value store as `SUMMARY`.

### Pricing (pay per result)

- **$0.60 per 1,000 results** (event `result`, each video, Short or channel item).
- **+$0.90 per 1,000 videos** with full details (event `video-details`, also charged for `videoUrls` lookups).
- **No start fee.**

### FAQ

**Do I need a YouTube API key?** No. There is no key, no Google Cloud project and no official Data API quota. You only need an Apify token if you run the Actor from code.

**Is this legal?** The Actor reads publicly available video and channel metadata, the same information anyone sees on youtube.com without logging in. It doesn't download videos, collect comments, or access private or age-restricted content. You are responsible for how you use the data. Respect YouTube's terms and copyright.

**Why are counts like "5.2M views" rounded?** That's how YouTube shows them in lists. Turn on `includeFullDetails` for exact view and like counts.

**Can I get comments or transcripts?** Not in this Actor. It focuses on fast, cheap metadata. Email us if you need them.

### Related

- Guide: [YouTube data without a Data API quota](https://apizap.com/blog/youtube-data-without-api-quota)
- Tool page: [apizap.com/tools/youtube-data-api](https://apizap.com/tools/youtube-data-api)

### First results of each run are free

The first 50 results in each run are free, so you can try this Actor on real data before you pay. This is applied automatically. There is no start fee. After the free allowance, the standard per-result price applies.

### If this Actor helped you

A short, honest review on this Store page helps other builders find the tool. Thank you — the Apizap team (<support@apizap.com>).

***

**Made by [Apizap](https://apizap.com)**, a product of Tapmont Technologies Pvt Ltd — small, reliable, pay-per-result data tools for developers and AI agents. See all tools at [apizap.com](https://apizap.com) or email <support@apizap.com> for custom data feeds.

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on YouTube, one per line. Results come in YouTube's own order.

## `searchType` (type: `string`):

Regular videos, Shorts only, or everything YouTube shows (videos and Shorts shelves).

## `sortBy` (type: `string`):

Same options as YouTube's search filters.

## `uploadDate` (type: `string`):

Only videos uploaded in this period.

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

Short = under 4 min, medium = 4–20 min, long = over 20 min.

## `channels` (type: `array`):

Channel handles (`@mkbhd`), channel URLs or channel IDs (`UC…`), one per line.

## `channelTabs` (type: `array`):

Which channel tabs to list: `videos`, `shorts`, `streams`.

## `channelSort` (type: `string`):

Order of channel videos.

## `includeChannelInfo` (type: `boolean`):

Add one item per channel with subscribers, video count, description, avatar and banner.

## `videoUrls` (type: `array`):

Video URLs, Shorts URLs or 11-character video IDs. Always returned with full details (likes, exact publish date, category, tags, description).

## `includeFullDetails` (type: `boolean`):

Adds like count, exact publish date, category, tags and the full description to every search and channel result. One extra request per video, billed as an add-on event.

## `maxResultsPerSource` (type: `integer`):

0 = no limit.

## `maxItems` (type: `integer`):

Hard cap on results and on your cost. 0 = no limit.

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

YouTube interface language code (affects text such as "2 days ago"). Keep `en` for parsed numbers and dates.

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

2-letter country code. YouTube localizes search results by country.

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

Not needed for normal use. Enable only if you hit rate limits on very large runs.

## Actor input object example

```json
{
  "searchQueries": [
    "python tutorial"
  ],
  "searchType": "videos",
  "sortBy": "relevance",
  "uploadDate": "any",
  "duration": "any",
  "channelTabs": [
    "videos"
  ],
  "channelSort": "newest",
  "includeChannelInfo": true,
  "includeFullDetails": false,
  "maxResultsPerSource": 50,
  "maxItems": 200,
  "language": "en",
  "country": "US",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Video, Short and channel items returned by the run.

# 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 = {
    "searchQueries": [
        "python tutorial"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apizap.com/youtube-data-api").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 = { "searchQueries": ["python tutorial"] }

# Run the Actor and wait for it to finish
run = client.actor("apizap.com/youtube-data-api").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 '{
  "searchQueries": [
    "python tutorial"
  ]
}' |
apify call apizap.com/youtube-data-api --silent --output-dataset

```

## MCP server setup

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

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/Cugixe6vZso9TbJHw/builds/Mpn9XsORoplwCbfJ0/openapi.json
