Search public Facebook posts by keyword
justoneapi.x.facebook-search-post-v1Searches public Facebook posts by keyword with optional inclusive date-range filters and cursor pagination.
- Price
- $0.02952/successプロバイダー原価
- Success rate
- 99.8%Last 30 days · 6,215 calls
- Latency p50
- 5.4 sp95 20 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffeePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
cursor | 文字列 | 任意 | Pagination cursor for fetching the next set of results. | |
endDate | 文字列 | 任意 | End date for the search range (inclusive), formatted as yyyy-MM-dd. | |
keyword | 文字列 | 必須 | Keyword to search for in public posts. Supports basic text matching. | coffee |
startDate | 文字列 | 任意 | Start date for the search range (inclusive), formatted as yyyy-MM-dd. | |
- クエリパラメータ
cursor文字列任意Pagination cursor for fetching the next set of results.
endDate文字列任意End date for the search range (inclusive), formatted as yyyy-MM-dd.
keyword文字列必須Keyword to search for in public posts. Supports basic text matching.
例:
coffeestartDate文字列任意Start date for the search range (inclusive), formatted as yyyy-MM-dd.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffee' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffee",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffee", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02952/success です。サービス料を含みます。