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
AudienceAudience demographics

Estimated audience demographics

GET/v1/campaigns/{id}/audienceLive

Who comments on a campaign, as estimated totals: gender, age and country, each with how much of the audience it covers.

The same figures as the workspace's audience splits export, labelled as estimates (estimate: true). Totals only: never a commenter's name, handle or comment. A group of fewer than 5 commenters is withheld and its figures are null.

Read each share together with its coverage: how many of the commenters have a known value. enabled is false when audience figures are switched off for the campaign.

Platform support

  • TikTok: Live
  • Instagram: Live
  • YouTube: Live
  • Facebook: Limited
  • X: Limited
  • Threads: Limited
  • Reddit: Limited
  • Snapchat: Limited
Facebook (Limited)
Placed from names and comment text only, not profiles.
X (Limited)
Placed from names and comment text only, not profiles.
Threads (Limited)
Placed from names and comment text only, not profiles.
Reddit (Limited)
Placed from names and comment text only, not profiles.
Snapchat (Limited)
Placed from names and comment text only, not profiles.

Parameters

Path parameters

idstringRequired
The campaign id.

Query parameters

fromdate
Only comments written on or after this day (YYYY-MM-DD, UTC).
todate
Only comments written on or before this day (YYYY-MM-DD, UTC).
bystring
week adds a row per week (from Monday); post a row per post.
  • The same splits are in the app as a CSV download and through the MCP tool audience_splits. See Audience splits export.
  • coverage counts the commenters each estimate rests on. Age is only given where it can be read with confidence, so it often covers far fewer people than gender or country. Every response carries estimate: true.
Request
curl https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/audience \
  -H "Authorization: Bearer $SONDER_API_KEY"
Response
{
  "estimate": true,
  "note": "Estimates about groups of commenters, never about a person. Groups under 5 people are withheld (null). Read each share with its coverage.",
  "campaign": {
    "id": "red-bull-rampage-2026",
    "name": "Red Bull Rampage 2026"
  },
  "enabled": true,
  "minCell": 5,
  "total": {
    "scope": "all",
    "commenters": 18240,
    "gender": {
      "known": 12310,
      "coverage": 0.67,
      "segments": [
        {
          "segment": "female",
          "commenters": 2216,
          "share": 0.18
        },
        {
          "segment": "male",
          "commenters": 10094,
          "share": 0.82
        }
      ]
    },
    "ageBand": {
      "known": 5120,
      "coverage": 0.28,
      "segments": [
        {
          "segment": "18-24",
          "commenters": 1997,
          "share": 0.39
        },
        "…"
      ]
    },
    "ageGroup": {
      "known": 6020,
      "coverage": 0.33,
      "segments": [
        "…"
      ]
    },
    "country": {
      "known": 9400,
      "coverage": 0.52,
      "segments": [
        {
          "segment": "US",
          "commenters": 4136,
          "share": 0.44
        },
        "…"
      ]
    },
    "correctedAgeMix": {
      "shown": true,
      "thin": false,
      "sample": 1200,
      "campaignCommenters": 18240,
      "coverage": 0.07,
      "groups": [
        {
          "group": "18-24",
          "share": 0.41,
          "low": 0.36,
          "high": 0.46
        },
        "…"
      ]
    }
  },
  "rows": []
}
Estimated audience demographics · Sonder APIs