---
title: "Audience splits export"
description: "Who comments on a campaign, as totals: gender, age and country with how much of the audience each split covers. CSV, MCP and workspace endpoint. Live today."
url: https://docs.sonderlabs.co.uk/audience-splits
---

# Audience splits export

Who comments on a campaign, as totals: gender, age and country with how much of the audience each split covers. CSV, MCP and workspace endpoint. Live today.

> **Live:** Available in every Sonder workspace with audience demographics on: the campaign's **Export CSV** menu, the [MCP](https://docs.sonderlabs.co.uk/mcp) tool `audience_splits`, the API's [`GET /v1/campaigns/{id}/audience`](https://docs.sonderlabs.co.uk/audience/demographics) and the workspace endpoint below.

Audience splits count the people commenting on a campaign's posts by gender, age band, age group and country, plus the campaign's corrected age mix. Every split says how much of the audience it covers. You get it for the whole campaign or a window of it (some posts, one episode, a date range), and optionally one row per week or per post.

## Totals only

- Only aggregate counts and shares leave Sonder: never a commenter's name, handle, profile or comment.
- A group of fewer than 5 commenters is withheld: its count and share are left empty, so no one can be singled out.
- Empty (or `null`) always means unknown or withheld. It is never a 0.

## What's in it

| Split | Segments | How it's known |
| --- | --- | --- |
| `gender` | `female`, `male` | Kept only when read with at least 70% confidence; everyone else is unknown. |
| `age_band` | `13-17`, `18-24`, `25-34`, `35-44`, `45+` | Self-reported (a stated age, birthday, school year) or inferred from the public profile. |
| `age_group` | `13-17`, `18-24`, `25+` | The same people grouped wider, plus those placed in a group with confidence. |
| `country` | ISO 3166-1 alpha-2 codes (`GB`, `US`, …) | From the public profile and what people write. |
| `age_mix_corrected` | `13-17`, `18-24`, `25+` | The campaign's statistically corrected age mix: a sample of its commenters, calibrated on people whose age is known and adjusted to this audience, with a 90% range (`share_low`, `share_high`). Campaign-wide only, so it's empty on a window, week or post, and empty when the sample is too thin to read as a split. |

## How to read it

- `commenters` counts distinct people. A person counts once per row, so week or post rows don't add up to the total.
- `share_of_known` is a segment's share of the people whose value is known on that split.
- `coverage` is how many of the row's commenters have a known value (known ÷ all). Read a share together with its coverage.

## Download the CSV

On a campaign, open **Export CSV** and choose **Audience splits**. You get the campaign total and one row per week, in long format: one line per segment.

| Field | Type | Description |
| --- | --- | --- |
| `campaign_id, campaign_name` | string | The campaign. |
| `scope` | string | `all` (the window), `week` or `post`. |
| `scope_key` | string | The week's Monday (YYYY-MM-DD, UTC; `undated` when a comment has no date) or the post id. |
| `scope_label` | string | The post's public link (post rows). |
| `dimension, segment` | string | The split and its segment (above). |
| `commenters` | number | People in the segment; empty when withheld. |
| `share_of_known` | number | 0 to 1; empty when withheld or nobody is known. |
| `share_low, share_high` | number | The 90% range (corrected age mix only). |
| `known_commenters` | number | People with a known value on this split (for the corrected mix: the sample size). |
| `total_commenters` | number | People in the row (for the corrected mix: the campaign's commenters). |
| `coverage` | number | `known_commenters` ÷ `total_commenters`; empty with no commenters. |
| `withheld` | boolean | True when the segment has fewer than 5 commenters. |
| `note` | string | Why a figure is empty: withheld, nobody known, or a corrected mix too uncertain to read as a split. |

## In Claude or ChatGPT

With the [Sonder connector](https://docs.sonderlabs.co.uk/mcp), ask for it in plain words ("what's the age and gender split of the people commenting on Celebrity Traitors, by week?"). The `audience_splits` tool takes `campaign`, and optionally `posts`, `episode`, `from`, `to` and `by` (`week` or `post`).

## Workspace endpoint

The export reads the workspace endpoint below, signed in as a workspace member (the same session and permissions as the dashboard; a member of another workspace gets nothing). With an API key, the same figures come from [`GET /v1/campaigns/{id}/audience`](https://docs.sonderlabs.co.uk/audience/demographics).

JSON, or the same as CSV:

```http
GET https://{workspace}.sonderlabs.co.uk/api/campaigns/{id}/audience/splits
GET https://{workspace}.sonderlabs.co.uk/api/campaigns/{id}/audience/splits.csv
```

| Parameter | What it does |
| --- | --- |
| `post` | Only comments on these posts (ids, comma-separated or repeated). |
| `episode` | Only one episode of a recurring show. |
| `from`, `to` | Only comments written on these days (YYYY-MM-DD, UTC, inclusive). |
| `by` | `week` adds a row per week (from Monday); `post` a row per post. |

Response (abridged):

```json
{
  "campaign": {
    "id": "celebrity-traitors",
    "name": "Celebrity Traitors"
  },
  "enabled": true,
  "minCell": 5,
  "total": {
    "scope": "all",
    "commenters": "…",
    "gender": {
      "known": "…",
      "coverage": "…",
      "segments": [
        {
          "segment": "female",
          "commenters": "…",
          "share": "…"
        },
        {
          "segment": "male",
          "commenters": "…",
          "share": "…"
        }
      ]
    },
    "ageBand": {
      "known": "…",
      "coverage": "…",
      "segments": [
        "…"
      ]
    },
    "ageGroup": {
      "known": "…",
      "coverage": "…",
      "segments": [
        "…"
      ]
    },
    "country": {
      "known": "…",
      "coverage": "…",
      "segments": [
        {
          "segment": "GB",
          "commenters": "…",
          "share": "…"
        },
        "…"
      ]
    },
    "correctedAgeMix": {
      "shown": true,
      "thin": false,
      "sample": "…",
      "campaignCommenters": "…",
      "coverage": "…",
      "groups": [
        {
          "group": "18-24",
          "share": "…",
          "low": "…",
          "high": "…"
        },
        "…"
      ]
    }
  },
  "rows": []
}
```
