YouTube の動画を検索
YouTubeキーワード検索、または YouTube のリンク(検索結果・チャンネル・再生リスト・動画の URL)から YouTube 動画を取得:タイトル、再生数、高評価、コメント数、長さ、チャンネル、日付。
YouTube の文字起こしを取得
YouTubeYouTube 動画の字幕全文(タイムスタンプ付き):動画リンクごとに 1 件、動画にあれば指定した言語で。
YouTube のコメント一覧
YouTubeYouTube 動画またはショートのコメント:本文、高評価、返信数、投稿者、日付。人気順または新しい順。
YouTube チャンネルの動画を取得
YouTubeYouTube チャンネルの動画(@MrBeast のようなハンドルまたはチャンネル URL):タイトル、再生数、高評価、コメント数、長さ、日付。
YouTube ショートを取得
YouTubeYouTube チャンネルのショート:タイトル、再生数、高評価、コメント、日付。
AI エージェントに任せる
このプロンプトを Claude Code、Cursor、Codex などのコーディングエージェントに貼り付けてください。ドキュメントの場所と API キーの使い方をエージェントに伝えます。
Use the Lovely Router YouTube data tools to get data for me. They return JSON and are billed per result.
- Docs (read first): https://lovelyrouter.com/docs/tools.md and https://lovelyrouter.com/docs/tools/run.md and https://lovelyrouter.com/docs/api/tools.md
- Tools for this:
- `youtube-search`: YouTube の動画を検索 ($0.00125 / video)
- `youtube-transcript`: YouTube の文字起こしを取得 ($0.002475 / transcript)
- `youtube-comments`: YouTube のコメント一覧 ($0.00125 / comment + $0.0025 / call)
- `youtube-channel`: YouTube チャンネルの動画を取得 ($0.00125 / video)
- `youtube-shorts`: YouTube ショートを取得 ($0.00125 / short)
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Each tool takes its own input fields: read them with GET https://lovelyrouter.com/v1/tools/<id> (public, no key needed) before the first run.
- If you support MCP, you can instead connect the server https://lovelyrouter.com/mcp (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.
My task: <describe the data you need and the output format>コードから実行
実行・ポーリング・課金の仕組み →curl https://lovelyrouter.com/v1/tools/youtube-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{"input":{"keywords":["espresso tutorial"],"maxItems":5},"max_results":10}'各ツールのページに入力項目と入力例があります。エージェントは MCP ですべてのツールを使えます: MCP サーバー
よくある質問
YouTube からどんなデータを取得できますか?
5 種のツール:YouTube の動画を検索, YouTube の文字起こしを取得, YouTube のコメント一覧, YouTube チャンネルの動画を取得, YouTube ショートを取得。いずれも JSON を返し、入力項目と料金を載せた専用ページがあります。
これはYouTube 文字起こし APIですか?
はい。YouTube 文字起こし API、YouTube スクレイピング、YouTube データ 取得をお探しなら、これです:YouTube の検索結果、チャンネル動画、ショート、コメント、文字起こしを JSON で。
YouTube のスクレイピング料金は?
ツールごとに 1 件あたりの料金があり、最安 $0.0013 から。届いた結果の分だけをプリペイド残高から支払い、サブスクリプションはありません。
YouTube のアカウントや API キーは必要ですか?
不要です。Lovely Router の API キーでツールを呼び出すと JSON が返ります。YouTube 側の設定は何もいりません。
AI エージェントはこれらのツールを使えますか?
はい。Claude Code・Cursor などの MCP クライアントを Lovely Router の MCP サーバーにつなぐと、エージェントが suggest_tools で適切なツールを選び、run_tool で実行します。
データは自由に使えますか?
データを合法的に使う責任はお客様にあり、個人データを含む場合はプライバシー法も守る必要があります。利用規定をご覧ください。