Quote an ingest
quoteFree. Expand YouTube URLs exactly as an ingest would and return the price, the per-video lines and the per-source rejections. Maps to POST /v1/quote. $0.01/min standard, $0.03/min whisper by default, 1-minute minimum per video. The quote_id is valid for 15 minutes; pass it to transcribe or add_sources to be charged exactly this price. Pass collection_id to price against an existing collection (videos already in it are free). At least one of url, urls, channel_url, channel_urls. Requires the key's read scope. Prices are the service defaults; quote returns the exact price.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | One YouTube URL (video, @handle, /channel/UC…, or playlist). | |
| urls | No | Several YouTube URLs. | |
| quality | No | Transcription quality (default standard). | |
| language | No | Optional BCP-47 hint for transcription, e.g. en. | |
| channel_url | No | `https://www.youtube.com/@handle`, `/channel/UC…`, or a playlist URL. | |
| channel_urls | No | Several channel or playlist URLs. | |
| collection_id | No | Price against this collection (videos already in it are free). | |
| exclude_shorts | No | Skip videos of 3 minutes or less when expanding a channel or playlist (default true); explicit video URLs are never skipped. | |
| min_duration_seconds | No | Skip expanded videos shorter than this many seconds. | |
| max_videos_per_channel | No | Newest-first cap on eligible videos per channel or playlist (default 25); Shorts and videos below min_duration_seconds are skipped before the cap. |