データツール

Facebook スクレイパー API

Facebook のページ投稿、グループ投稿、コメント、マーケットプレイスの出品、広告ライブラリの広告を JSON で。

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

Facebooklovelyjsoninput"urls": ["https://www.facebook…"count": 10

AI エージェントに任せる

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

Use the Lovely Router Facebook 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:
  - `facebook-posts`: Facebook ページの投稿を取得 ($0.0025 / post + $0.0015 / call)
  - `facebook-ads`: Facebook 広告ライブラリを検索 ($0.001125 / ad)
  - `facebook-groups`: Facebook グループの投稿を取得 ($0.001725 / post + $0.005 / call)
  - `facebook-comments`: Facebook のコメント一覧 ($0.00062 / comment + $0.0015 / call)
  - `facebook-marketplace`: Facebook マーケットプレイスを検索 ($0.00125 / listing + $0.02875 / 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/facebook-posts/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"input":{"urls":["https://www.facebook.com/humansofnewyork/"],"count":10},"max_results":10}'

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

よくある質問

Facebook からどんなデータを取得できますか?

5 種のツール:Facebook ページの投稿を取得, Facebook 広告ライブラリを検索, Facebook グループの投稿を取得, Facebook のコメント一覧, Facebook マーケットプレイスを検索。いずれも JSON を返し、入力項目と料金を載せた専用ページがあります。

これはFacebook スクレイピングですか?

はい。Facebook スクレイピング、Facebook ページ 投稿 取得、Facebook グループ 投稿 取得をお探しなら、これです:Facebook のページ投稿、グループ投稿、コメント、マーケットプレイスの出品、広告ライブラリの広告を JSON で。

Facebook のスクレイピング料金は?

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

Facebook のアカウントや API キーは必要ですか?

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

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

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

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

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

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