One public Facebook post or reel by URL: text, author, likes, comments, shares, views, video URL and duration.
2 credits/ call
Never more than 7 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/facebook.post" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/reel/2166091230582141/"}'{
"output": {
"found": true,
"data": {
"likes": "<integer | null>",
"comments": "<integer | null>",
"shares": "<integer | null>",
"authorVerified": "<boolean | null>", …
}
},
"credits": 2
}Input and output
1 field
https://www.facebook.com/reel/216609123….18 fields
Good to know
Unknown URL? It comes back as not found, not as an error.
The same key and credits work for every API.