Public profile of a Facebook page by URL or handle: name, category, intro, followers, likes, website and Ad Library page id.
2 credits/ call
Never more than 11 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/facebook.profile" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/nike"}'{
"output": {
"found": true,
"data": {
"name": "<string | null>",
"followers": "<integer | null>",
"likes": "<integer | null>",
"pageActive": "<boolean | null>", …
}
},
"credits": 2
}Input and output
2 fields
https://www.facebook.com/nike.17 fields
Good to know
Facebook pages only (not personal profiles).
Image URLs expire. Image URLs are expiring CDN links. Save the file if you need to keep it.
The same key and credits work for every API.