データツール

X (Twitter) スクレイパー API

X(Twitter)の投稿検索、プロフィール、返信を JSON で。

API キー 1 つで、REST でも MCP でも。プリペイド残高から成果課金で、失敗した実行は届いた分だけ支払います。

X (Twitter)lovelyjsoninput"searchTerms": ["\"gemini argon\" min…"maxItems": 20"queryType": "Top"

AI エージェントに任せる

このプロンプトを Claude Code、Cursor、Codex などのコーディングエージェントに貼り付けてください。ドキュメントの場所と API キーの使い方をエージェントに伝えます。

Use the Lovely Router X (Twitter) 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:
  - `x-search`: X(Twitter)の投稿を検索 ($0.000388 / tweet)
  - `x-profile`: X(Twitter)のプロフィールを取得 ($0.000375 / profile)
  - `x-replies`: X(Twitter)の返信を取得 ($0.000375 / reply + $0.00075 / 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/x-search/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"input":{"searchTerms":["\"gemini argon\" min_faves:50 -filter:replies since:2026-10-01 lang:en"],"maxItems":20,"queryType":"Top"},"max_results":10}'

各ツールのページに入力項目と入力例があります。エージェントは MCP ですべてのツールを使えます: MCP サーバー

よくある質問

X (Twitter) からどんなデータを取得できますか?

3 種のツール:X(Twitter)の投稿を検索, X(Twitter)のプロフィールを取得, X(Twitter)の返信を取得。いずれも JSON を返し、入力項目と料金を載せた専用ページがあります。

これはX ポスト 検索 APIですか?

はい。X ポスト 検索 API、Twitter スクレイピング、ツイート 取得をお探しなら、これです:X(Twitter)の投稿検索、プロフィール、返信を JSON で。

X (Twitter) のスクレイピング料金は?

ツールごとに 1 件あたりの料金があり、最安 $0.00038 から。届いた結果の分だけをプリペイド残高から支払い、サブスクリプションはありません。

X (Twitter) のアカウントや API キーは必要ですか?

不要です。Lovely Router の API キーでツールを呼び出すと JSON が返ります。X (Twitter) 側の設定は何もいりません。

AI エージェントはこれらのツールを使えますか?

はい。Claude Code・Cursor などの MCP クライアントを Lovely Router の MCP サーバーにつなぐと、エージェントが suggest_tools で適切なツールを選び、run_tool で実行します。

データは自由に使えますか?

データを合法的に使う責任はお客様にあり、個人データを含む場合はプライバシー法も守る必要があります。利用規定をご覧ください。

利用規定 · ユースケース · 料金