Get Instagram account insights summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/instagram/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/instagram/accounts/{id}/summary', 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/instagram/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"accounts_engaged": 123,
"display_name": "<string>",
"follower_count": 123,
"following_count": 123,
"interactions": 123,
"media_count": 123,
"net_follows": 123,
"period_end": "<string>",
"period_start": "<string>",
"picture_url": "<string>",
"reach": 123,
"username": "<string>",
"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": {}
}
}Instagram
Get Instagram account insights summary
Returns live profile counts plus trailing-30-day insight totals (reach, views, interactions, engaged accounts, net follower change) for a connected Instagram account. The totals need the analytics.read permission. An account without it returns 403 account.permission_missing: add analytics.read to the account’s permissions or reconnect the account. If Instagram itself has withdrawn the insights access, the next call can return 403 platform.instagram.insights_scope_missing instead: reconnect the account.
GET
/
platforms
/
instagram
/
accounts
/
{id}
/
summary
Get Instagram account insights summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/instagram/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/instagram/accounts/{id}/summary', 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/instagram/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"accounts_engaged": 123,
"display_name": "<string>",
"follower_count": 123,
"following_count": 123,
"interactions": 123,
"media_count": 123,
"net_follows": 123,
"period_end": "<string>",
"period_start": "<string>",
"picture_url": "<string>",
"reach": 123,
"username": "<string>",
"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": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Connected account ID