# YouTube Video Search Results for Web Scraping

**Use case:** 

Harness the power of YouTube search results to gather essential data for your projects. This configuration retrieves up to 200 video results for the keyword 'web scraping', including titles, URLs, and channel details. Ideal for data analysis, content research, and understanding current trends in the web scraping space.

## Input

```json
{
  "search_query": "web scraping",
  "result_type": "video",
  "sort_by": "relevance",
  "upload_date": "all",
  "duration": "all",
  "features": [],
  "results_wanted": 200,
  "max_pages": 10,
  "fetch_video_details": false
}
```

## Output

```json
{
  "result_type": {
    "label": "Type",
    "format": "text"
  },
  "result_rank": {
    "label": "Rank",
    "format": "number"
  },
  "search_query": {
    "label": "Query",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "channel_title": {
    "label": "Channel",
    "format": "text"
  },
  "channel_handle": {
    "label": "Handle",
    "format": "text"
  },
  "video_id": {
    "label": "Video ID",
    "format": "text"
  },
  "playlist_id": {
    "label": "Playlist ID",
    "format": "text"
  },
  "published_text": {
    "label": "Published",
    "format": "text"
  },
  "view_count_text": {
    "label": "Views",
    "format": "text"
  },
  "view_count": {
    "label": "Numeric views",
    "format": "number"
  },
  "duration_text": {
    "label": "Duration",
    "format": "text"
  },
  "duration_seconds": {
    "label": "Duration seconds",
    "format": "number"
  },
  "playlist_video_count": {
    "label": "Playlist videos",
    "format": "text"
  },
  "like_count": {
    "label": "Likes",
    "format": "number"
  },
  "comment_count": {
    "label": "Comments",
    "format": "number"
  },
  "category": {
    "label": "Category",
    "format": "text"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "thumbnail_url": {
    "label": "Thumbnail",
    "format": "image"
  },
  "is_live": {
    "label": "Live",
    "format": "boolean"
  },
  "is_upcoming": {
    "label": "Upcoming",
    "format": "boolean"
  },
  "is_premiere": {
    "label": "Premiere",
    "format": "boolean"
  },
  "has_captions": {
    "label": "Captions",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Search Scraper API](https://apify.com/shahidirfan/youtube-search-scraper-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/shahidirfan/youtube-search-scraper-api.md) to learn more, explore other use cases, and run it yourself.


## 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.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

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

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