# YouTube

Best for: Video research and creator analytics. Category: Apps and video.

YouTube search split into videos, Shorts, channels and playlists; one video's metadata, counts and chapters; its transcript as timed segments; a page of comments or replies; and a channel with its latest videos. No Data API quota.

- Look up by: Query, video id or URL, or channel
- Coverage: Worldwide
- Cost: 2 credits a call; failed and empty calls are free
- Answers: Search, Details, Reviews

## Endpoints

- `POST /v1/youtube/search`: YouTube search, 2 credits. https://scrapercompany.com/docs/reference/youtube-search
- `POST /v1/youtube/video`: YouTube video, 2 credits. https://scrapercompany.com/docs/reference/youtube-video
- `POST /v1/youtube/transcript`: YouTube transcript, 2 credits. https://scrapercompany.com/docs/reference/youtube-transcript
- `POST /v1/youtube/comments`: YouTube comments, 2 credits. https://scrapercompany.com/docs/reference/youtube-comments
- `POST /v1/youtube/channel`: YouTube channel, 2 credits. https://scrapercompany.com/docs/reference/youtube-channel

## Example

YouTube search (`POST /v1/youtube/search`):

```bash
curl -X POST "https://api.scrapercompany.com/v1/youtube/search" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "q": "python tutorial"
  }'
```

## Good to know

- Empty answers and unknown or private videos are free.

- [All data sources](https://scrapercompany.com/docs/data-sources)
