Get Facebook Page demographics
Returns the follower breakdown of a connected Facebook Page by country and/or city, from Meta's latest daily snapshot.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
The Zernio SocialAccount ID for the Facebook account
Comma-separated list of demographic dimensions: country, city. Defaults to both if omitted.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Keys
- Country keys are ISO 3166-1 alpha-2 codes.
- City keys are "City, Region, Country" strings as Meta returns them.
Limits
Meta removed age and gender demographics for Pages (page_fans_gender_age) on November 15 2025 with no replacement, so only country and city are available.
Meta reports small counts at a privacy floor, so the long tail can show identical low values.
Get an analytics dashboard
Everything an analytics dashboard needs in one call: window totals, follower growth, a per-day series, top posts, recent posts and, optionally, the same figures for the previous period. All dates are UTC days. ### Daily and total metrics Daily and total metrics use received attribution: each day holds the engagement that arrived that day, on any post. So `totals` is always the sum of `daily`. ### Post lists `topPosts` and `recentPosts` list posts published in the window with their lifetime metrics. A post cross-posted to several platforms appears once per platform.
List Google Analytics (GA4) dimensions and metrics
Every dimension and metric the connected GA4 property accepts in a report, including its custom definitions. Cached for one hour.