Search Facebook pages by keyword, optionally near a place, and get page profiles with category, followers and contact fields.
6.25 credits/ result
At least 8 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/facebook.search_pages" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"coffee roasters","location":"Berlin","limit":3}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"items": [
{
"title": "<string | null>",
"followers": "<integer | null>",
"likes": "<integer | null>",
"verified": "<boolean | null>", …
}
]
}
},
"credits": 8
}Input and output
3 fields
coffee roasters.Berlin.3.18 fields
The same key and credits work for every API.