Audience Analytics
Retrieve the available audience breakdowns for one account.
Retrieve the available audience breakdowns for one account.
/api/v1/analytics/audienceReturn the available audience breakdowns for one account.
Audience breakdowns are currently available for Facebook and Instagram accounts.
| Parameter | Type | Default | Description |
|---|---|---|---|
accountId | string | required | Account in the authenticated workspace |
metric | string | followerDemographics | Audience metric |
dimension | string | — | age, city, country, gender, or locale |
timeframe | string | — | day, this_week, or this_month |
days or dates | — | 30 | Visible observation range |
curl 'https://dopost.co/api/v1/analytics/audience?accountId=acc_123&metric=followerDemographics&dimension=country' \
--header 'x-api-key: <apiKey>'curl 'https://dopost.co/api/v1/analytics/audience?accountId=acc_123&metric=followerDemographics&dimension=country' \
--header 'x-api-key: <apiKey>'{
"audience": {
"accountId": "acc_123",
"platform": "INSTAGRAM",
"metric": "followerDemographics",
"snapshots": [
{
"observedAt": "2026-08-22",
"timeframe": "this_month",
"dimension": "country",
"availability": "available",
"values": [{ "label": "US", "value": 180 }]
}
]
},
"meta": { "dataThrough": "2026-08-22" }
}{
"audience": {
"accountId": "acc_123",
"platform": "INSTAGRAM",
"metric": "followerDemographics",
"snapshots": [
{
"observedAt": "2026-08-22",
"timeframe": "this_month",
"dimension": "country",
"availability": "available",
"values": [{ "label": "US", "value": 180 }]
}
]
},
"meta": { "dataThrough": "2026-08-22" }
}Dimensions without available data are omitted or marked as unavailable. An account outside the authenticated workspace returns 404.
400 audience analytics are not supported for the account platform; 404 the account is outside the workspace; 401 invalid key; 403 missing scope or plan.