Keyword search over public Facebook posts, optionally by date range and place, with post text, author and engagement counts.
3.24 credits/ result
At least 4 credits a call, never more than 6 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/facebook.search_posts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"product launch","limit":5}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"items": [
{
"reactionCount": "<integer | null>",
"commentCount": "<integer | null>",
"shareCount": "<integer | null>",
"imagesCount": "<integer | null>", …
}
]
}
},
"credits": 4
}Input and output
5 fields
product launch.5.16 fields
The same key and credits work for every API.