---
title: "Get Facebook Page demographics"
method: GET
path: "/v1/analytics/facebook/demographics"
tags: ["Analytics"]
---

# Get Facebook Page demographics

`GET /v1/analytics/facebook/demographics`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/analytics/facebook/demographics`
- Auth: HTTP bearer

Returns the follower breakdown of a connected Facebook Page by country and/or city, from Meta's latest daily snapshot.
Country keys are ISO 3166-1 alpha-2 codes; city keys are "City, Region, Country" strings as Meta returns them.
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. Requires the Analytics add-on.

## Query parameters

- `accountId` string, required
- `breakdown` string

## Response `200`

Follower demographics for the Page

- object
  - `success` boolean
  - `accountId` string
  - `platform` 'facebook'
  - `metric` 'follower_demographics'
  - `snapshotDate` string, date, nullable: Date of Meta's snapshot (YYYY-MM-DD), or null when Meta has no snapshot yet.
  - `demographics` object: Only the requested breakdowns are present. Entries are sorted by value, largest first.
    - `country` object[]
      - `dimension` string
      - `value` integer: Followers
    - `city` object[]
      - `dimension` string
      - `value` integer: Followers
  - `note` string

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `402`: Analytics access required. Legacy plans need the Analytics add-on; included by default on usage-based plans.
- `404`: Resource not found

## Changes

- **2026-10-06** `f8c8f34fb41a`: 2 warning
  - added the new `account` enum value to the `details/budgetScope` response property for the response status `400`
  - added the new `account` enum value to the `details/budgetScope` response property for the response status `401`
- **2026-10-05** `6b982878c177`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/analytics/facebook/demographics/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/4e74db179e73?raw)
