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/successAt provider cost
- Success rate
- 99.8%Last 30 days · 6,215 calls
- Latency p50
- 5.4 sp95 20 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffeePreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
cursor | string | Optional | Pagination cursor for fetching the next set of results. | |
endDate | string | Optional | End date for the search range (inclusive), formatted as yyyy-MM-dd. | |
keyword | string | Required | Keyword to search for in public posts. Supports basic text matching. | coffee |
startDate | string | Optional | Start date for the search range (inclusive), formatted as yyyy-MM-dd. | |
- Query parameters
cursorstringOptionalPagination cursor for fetching the next set of results.
endDatestringOptionalEnd date for the search range (inclusive), formatted as yyyy-MM-dd.
keywordstringRequiredKeyword to search for in public posts. Supports basic text matching.
Example:
coffeestartDatestringOptionalStart date for the search range (inclusive), formatted as yyyy-MM-dd.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.02952/success, including the service fee.