Get daily Facebook Page insights
curl --request GET \
--url https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"date": "2026-09-27",
"followers": 123,
"interactions": 123,
"reach": 123,
"views": 123
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Facebook
Get daily Facebook Page insights
Returns one point per day for one Page of a connected Facebook account: followers at the end of the day, plus that day’s views, reach and post engagements. Days with no data are omitted. Same permission errors as the Page insights summary.
GET
/
platforms
/
facebook
/
accounts
/
{id}
/
insights
/
daily
Get daily Facebook Page insights
curl --request GET \
--url https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/facebook/accounts/{id}/insights/daily"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"date": "2026-09-27",
"followers": 123,
"interactions": 123,
"reach": 123,
"views": 123
}
]
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Connected account ID
Query Parameters
Page to report on, the id from GET /accounts/{id}/pages. Defaults to the account's default Page.
Trailing days to return, 1 to 365. Defaults to 365.
Response
Daily Page insights, oldest first
Show child attributes
Show child attributes