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/successAl precio del proveedor
- Success rate
- 99,8 %Last 30 days · 6215 calls
- Latency p50
- 5.4 sp95 20 s
- Last verified
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.facebook-search-post-v1?cursor=0&keyword=coffeePreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
cursor | cadena | Opcional | Pagination cursor for fetching the next set of results. | |
endDate | cadena | Opcional | End date for the search range (inclusive), formatted as yyyy-MM-dd. | |
keyword | cadena | Obligatorio | Keyword to search for in public posts. Supports basic text matching. | coffee |
startDate | cadena | Opcional | Start date for the search range (inclusive), formatted as yyyy-MM-dd. | |
- Parámetros de consulta
cursorcadenaOpcionalPagination cursor for fetching the next set of results.
endDatecadenaOpcionalEnd date for the search range (inclusive), formatted as yyyy-MM-dd.
keywordcadenaObligatorioKeyword to search for in public posts. Supports basic text matching.
Ejemplo:
coffeestartDatecadenaOpcionalStart date for the search range (inclusive), formatted as yyyy-MM-dd.
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.02952/success, incluida la tarifa de servicio.