# YouTube Data through toolfare

> Keyword search across YouTube videos, sorted by relevance, date, views or rating; the details of any video; and the videos a channel has published — asked from Claude, ChatGPT, Codex or Cursor. No Google Cloud project, API key or daily quota of your own: each call is quoted before it runs and paid from one toolfare balance.

Page: https://toolfare.ai/youtube-data

## Use it from your agent

Paste this into Claude Code, Codex, Cursor or any agent with a shell:

> Set up https://toolfare.ai/skill.md, then use toolfare to find the most-viewed YouTube videos about “cold email outreach” and tell me which channels made them

Apps without a terminal connect toolfare as an MCP server: https://toolfare.ai/docs#connect

## Use it from a script

```sh
mkdir -p ~/.local/bin
curl -fsSL 'https://toolfare.ai/toolfare/toolfare.mjs' -o ~/.local/bin/toolfare
chmod +x ~/.local/bin/toolfare
export PATH="$HOME/.local/bin:$PATH"
export TOOLFARE_MCP_URL='https://api.toolfare.ai/mcp'
toolfare login
```

Sign in once per machine; the CLI renews the sign-in itself. On a CI runner or another server,
create an API key in the toolfare console and set it as `TOOLFARE_API_KEY` instead of signing in.
Paid calls on one sign-in or key run one at a time. `--max-cost` refuses a call quoted above
that many credits (1,000 credits = $3).

## Tools

### Turn a channel link into its channel id

Tool: `youtube_data_channel_id`

Channel id resolved from a channel URL

Required parameters: channel_url

Cost: From $0.003

Ask:
- What is the channel id for youtube.com/@mkbhd?
- Look up this competitor’s YouTube channel so we can list its videos.

### What a channel has published

Tool: `youtube_data_channel_videos`

Videos published by a channel

Required parameters: channel_id

Optional parameters: limit

Cost: From $0.003

Ask:
- List the latest videos from this competitor’s YouTube channel.
- What topics does this channel cover in its recent uploads?

### What ranks on YouTube for a keyword

Tool: `youtube_data_search`

Videos matching a keyword

Required parameters: keyword

Optional parameters: limit, sort

Cost: From $0.006

Ask:
- What are the most-viewed YouTube videos about Notion templates?
- Find recent YouTube reviews of our product.
- Which videos rank for “best CRM for startups”?

### The details of one video

Tool: `youtube_data_video`

Details of a video

Required parameters: video_id

Cost: From $0.003

Ask:
- Pull the details of this YouTube video: dQw4w9WgXcQ.
- Who published this video, and what does its description say?
## Price

From $0.003 Quoted before each call; the final charge follows the returned usage. Pay per call from one balance.

Balances and top-ups are in US dollars. Quotes and `--max-cost` count credits: 1,000 credits = $3 ($0.003 each).

## Use it when

- You are researching video SEO: which videos and channels rank for a keyword.
- You want to see what a competitor’s channel has been publishing.
- You are shortlisting YouTube creators in a niche for sponsorships.
- You have a video link and want its details without leaving the chat.

## Look elsewhere when

- You need a video’s comments, captions or transcript. None of these tools return them.
- You want short-video data from TikTok instead.
- You want Google web results for the same keyword, not YouTube results.

## Limits

- Public videos and channels only.
- Channel uploads take a channel id starting with UC; resolve a channel URL first if you only have the link.
- Video details take the 11-character video id, not a full URL.
- Pay as you go from your toolfare balance, in US dollars; there is no subscription. A call runs when your balance covers its quote.
