---
title: "Sentiment and comment themes"
description: "How people feel about a campaign: positive, neutral and negative shares, why, and the themes they talk about, with quotes."
url: https://docs.sonderlabs.co.uk/audience/sentiment
---

# Sentiment and comment themes

How people feel about a campaign: positive, neutral and negative shares, why, and the themes they talk about, with quotes.

`GET /v1/campaigns/{id}/sentiment` (live)

> **Live:** served today at `https://{workspace}.sonderlabs.co.uk/v1/campaigns/{id}/sentiment` with an API key from your workspace. See [Authentication](https://docs.sonderlabs.co.uk/authentication).

`comments` counts the checked comments about the campaign; `posts` the posts themselves. `neutral` includes mixed. `shares` are 0 to 1, and `null` when there is nothing to count. `summary` is `null` until there is enough to say why.

Quotes are only comments Sonder has screened as fit to forward to a client; one not screened yet is held back and shows on a later read. `enabled` is `false`, with empty figures, when sentiment is switched off for the campaign.

## Platform support

- TikTok: Live
- Instagram: Live
- YouTube: Live
- Facebook: Live
- X: Limited. Replies can be incomplete, so the mix rests on fewer comments.
- Threads: Live
- Reddit: Live
- Snapchat: Limited. Spotlights only.

## Parameters

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The campaign id. |

## Example

cURL:

```bash
curl https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/sentiment \
  -H "Authorization: Bearer $SONDER_API_KEY"
```

JavaScript:

```js
const res = await fetch("https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/sentiment", {
  headers: {
    Authorization: `Bearer ${process.env.SONDER_API_KEY}`,
  },
});
const data = await res.json();
```

Python:

```python
import os, requests

res = requests.get(
    "https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/sentiment",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
)
data = res.json()
```

Response:

```json
{
  "campaign": {
    "id": "red-bull-rampage-2026",
    "name": "Red Bull Rampage 2026"
  },
  "enabled": true,
  "comments": {
    "positive": 3120,
    "neutral": 1460,
    "negative": 420,
    "total": 5000,
    "shares": {
      "positive": 0.624,
      "neutral": 0.292,
      "negative": 0.084
    }
  },
  "posts": {
    "positive": 402,
    "neutral": 171,
    "negative": 25,
    "total": 598,
    "shares": {
      "positive": 0.672,
      "neutral": 0.286,
      "negative": 0.042
    }
  },
  "summary": "People loved the riders' lines and the aerial shots; the complaints were about wind holds and judging.",
  "positiveDrivers": [
    "The riders' biggest drops and the aerial footage of them."
  ],
  "negativeDrivers": [
    "Long wind holds on finals day."
  ],
  "themes": [
    {
      "label": "The judging",
      "summary": "Viewers argue over whose run should have won.",
      "comments": 640,
      "mix": {
        "positive": 0.31,
        "neutral": 0.29,
        "negative": 0.4
      },
      "quotes": [
        {
          "text": "That last run deserved the top spot.",
          "postId": "47dd2af11e2fe0f075d88ad970eb737c"
        }
      ]
    }
  ],
  "keywords": [
    {
      "term": "aerial shot",
      "count": 212
    }
  ]
}
```
