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/successPelo preço do provedor
- Success rate
- 99,8%Last 30 days · 6.215 calls
- Latency p50
- 5.4 sp95 20 s
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffeePreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
cursor | string | Opcional | Pagination cursor for fetching the next set of results. | |
endDate | string | Opcional | End date for the search range (inclusive), formatted as yyyy-MM-dd. | |
keyword | string | Obrigatório | Keyword to search for in public posts. Supports basic text matching. | coffee |
startDate | string | Opcional | Start date for the search range (inclusive), formatted as yyyy-MM-dd. | |
- Parâmetros de consulta
cursorstringOpcionalPagination cursor for fetching the next set of results.
endDatestringOpcionalEnd date for the search range (inclusive), formatted as yyyy-MM-dd.
keywordstringObrigatórioKeyword to search for in public posts. Supports basic text matching.
Exemplo:
coffeestartDatestringOpcionalStart date for the search range (inclusive), formatted as yyyy-MM-dd.
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02952/success, incluindo a taxa de serviço.