Reddit の投稿を検索
Redditクエリまたはサブレディットで Reddit の投稿を取得:タイトル、本文、スコア、コメント数、投稿者、日付。
Reddit のコメントを取得
RedditURL で指定した Reddit スレッドの投稿とコメント。
AI エージェントに任せる
このプロンプトを Claude Code、Cursor、Codex などのコーディングエージェントに貼り付けてください。ドキュメントの場所と API キーの使い方をエージェントに伝えます。
Use the Lovely Router Reddit 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:
- `reddit-search`: Reddit の投稿を検索 ($0.0057 / post)
- `reddit-comments`: Reddit のコメントを取得 ($0.00125 / item + $0.01 / call)
- 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/reddit-search/run \
-H "Authorization: Bearer $LOVELY_API_KEY" \
-H "content-type: application/json" \
-d '{"input":{"queries":["best budget mechanical keyboard"],"maxPosts":10,"timeframe":"year"},"max_results":10}'各ツールのページに入力項目と入力例があります。エージェントは MCP ですべてのツールを使えます: MCP サーバー
よくある質問
Reddit からどんなデータを取得できますか?
2 種のツール:Reddit の投稿を検索, Reddit のコメントを取得。いずれも JSON を返し、入力項目と料金を載せた専用ページがあります。
これはReddit 検索 APIですか?
はい。Reddit 検索 API、Reddit スクレイピング、Reddit データ 取得をお探しなら、これです:Reddit の投稿検索とコメントスレッドを JSON で。
Reddit のスクレイピング料金は?
ツールごとに 1 件あたりの料金があり、最安 $0.0013 から。届いた結果の分だけをプリペイド残高から支払い、サブスクリプションはありません。
Reddit のアカウントや API キーは必要ですか?
不要です。Lovely Router の API キーでツールを呼び出すと JSON が返ります。Reddit 側の設定は何もいりません。
AI エージェントはこれらのツールを使えますか?
はい。Claude Code・Cursor などの MCP クライアントを Lovely Router の MCP サーバーにつなぐと、エージェントが suggest_tools で適切なツールを選び、run_tool で実行します。
データは自由に使えますか?
データを合法的に使う責任はお客様にあり、個人データを含む場合はプライバシー法も守る必要があります。利用規定をご覧ください。