Skip to content
Esc

Popular

  • QuickstartFrom an API key to your campaigns, a campaign's summary, its posts, its audience and its sentiment.Get started
  • Search posts by keywordGET /v1/search/keywordSearch
  • List a post's commentsGET /v1/posts/{id}/commentsPosts & Comments
  • Formats taking offGET /v1/trendsTrends
  • Get a campaign summaryGET /v1/campaigns/{id}Campaigns
  • MCP for Claude and ChatGPTConnect Claude, ChatGPT or any MCP client to your Sonder workspace at https://sonderlabs.co.uk/mcp. Live today.MCP
Workspace exportsAudience 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.

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

SplitSegmentsHow it's known
genderfemale, maleKept only when read with at least 70% confidence; everyone else is unknown.
age_band13-17, 18-24, 25-34, 35-44, 45+Self-reported (a stated age, birthday, school year) or inferred from the public profile.
age_group13-17, 18-24, 25+The same people grouped wider, plus those placed in a group with confidence.
countryISO 3166-1 alpha-2 codes (GB, US, …)From the public profile and what people write.
age_mix_corrected13-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.

campaign_id, campaign_namestring
The campaign.
scopestring
all (the window), week or post.
scope_keystring
The week's Monday (YYYY-MM-DD, UTC; undated when a comment has no date) or the post id.
scope_labelstring
The post's public link (post rows).
dimension, segmentstring
The split and its segment (above).
commentersnumber
People in the segment; empty when withheld.
share_of_knownnumber
0 to 1; empty when withheld or nobody is known.
share_low, share_highnumber
The 90% range (corrected age mix only).
known_commentersnumber
People with a known value on this split (for the corrected mix: the sample size).
total_commentersnumber
People in the row (for the corrected mix: the campaign's commenters).
coveragenumber
known_commenters ÷ total_commenters; empty with no commenters.
withheldboolean
True when the segment has fewer than 5 commenters.
notestring
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, 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.

JSON, or the same as CSV
GET https://{workspace}.sonderlabs.co.uk/api/campaigns/{id}/audience/splits
GET https://{workspace}.sonderlabs.co.uk/api/campaigns/{id}/audience/splits.csv
ParameterWhat it does
postOnly comments on these posts (ids, comma-separated or repeated).
episodeOnly one episode of a recurring show.
from, toOnly comments written on these days (YYYY-MM-DD, UTC, inclusive).
byweek adds a row per week (from Monday); post a row per post.
Response (abridged)
{
  "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": []
}
Audience splits export · Sonder APIs