---
title: "Summarize mentions"
---

> Documentation Index
> Fetch the complete documentation index at: https://api.whyviral.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Summarize mentions

Path: WhyViral API › Mentions

`GET /mentions/summary`

URL: `https://whyviral.ai/api/v1/mentions/summary`

How often a tracker was mentioned over a period: the count against the period before, views, creators, the splits and a per-day series. It counts the mentions WhyViral found, not every mention. Free.

## Authentication

Requires one of the following:

- `bearer`, http bearer, header `Authorization`
- `apiKeyHeader`, apiKey, in header, header `x-api-key`

## Query parameters

- `project` (`getMentionSummary.query.project`; string, optional) — A project’s id or exact name; case is ignored. Leave it out for the project active in the app.
- `tracker` (`getMentionSummary.query.tracker`; string, optional) — A tracker’s id or exact name, such as a competitor’s or `#yourtag`. Leave it out for the project’s own brand.
- `days` (`getMentionSummary.query.days`; integer, optional) — The period in days, ending now.
  - one of `7`, `30`, `90` · default: `7`
- `platform` (`getMentionSummary.query.platform`; string, optional) — Only this platform.
  - one of `"tiktok"`, `"instagram"`, `"youtube"`, `"x"`
- `kind` (`getMentionSummary.query.kind`; string, optional) — Only this kind. `own` is counted only when asked for.
  - one of `"organic"`, `"sponsored"`, `"own"`
- `where` (`getMentionSummary.query.where`; string, optional) — Only mentions said, shown or written.
  - one of `"said"`, `"shown"`, `"written"`
- `source` (`getMentionSummary.query.source`; string, optional) — Only mentions found by search, or only by watching.
  - one of `"search"`, `"watch"`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://whyviral.ai/api/v1/mentions/summary \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://whyviral.ai/api/v1/mentions/summary';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://whyviral.ai/api/v1/mentions/summary"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The summary.

#### Example

```json
{
  "object": "mention_summary",
  "project": {
    "id": "q17d3k9x2v8q1m4n6b0c5w7h2r9t3y8a",
    "name": "Crumbsheet"
  },
  "tracker": {
    "id": "t17e2m8x4c9v0b3n5q7w1r6t2y8u4i0o",
    "kind": "brand",
    "name": "Crumbsheet",
    "own": true
  },
  "period": {
    "days": 7,
    "from": "2026-11-10T10:00:00.000Z",
    "to": "2026-11-17T10:00:00.000Z"
  },
  "mentions": 14,
  "previous_mentions": 9,
  "change_pct": null,
  "change": 5,
  "views": 731000,
  "creators": 11,
  "by_where": {
    "said": 5,
    "shown": 3,
    "written": 6
  },
  "by_source": {
    "search": 6,
    "watch": 8
  },
  "by_kind": {
    "organic": 12,
    "sponsored": 2,
    "own": 4
  },
  "by_platform": [
    {
      "platform": "tiktok",
      "mentions": 9
    },
    {
      "platform": "youtube",
      "mentions": 3
    },
    {
      "platform": "instagram",
      "mentions": 2
    }
  ],
  "sentiments": {
    "positive": 6,
    "neutral": 5,
    "negative": 1
  },
  "series": [
    {
      "day": "2026-11-16",
      "organic": {
        "mentions": 3,
        "views": 251000
      },
      "sponsored": {
        "mentions": 0,
        "views": 0
      },
      "own": {
        "mentions": 1,
        "views": 9000
      }
    },
    {
      "day": "2026-11-17",
      "organic": {
        "mentions": 1,
        "views": 29000
      },
      "sponsored": {
        "mentions": 1,
        "views": 84000
      },
      "own": {
        "mentions": 0,
        "views": 0
      }
    }
  ],
  "posts_read": 1840,
  "videos_watched": 50
}
```

- `object` (`getMentionSummary.response.200.object`; string, required) — `"mention_summary"`.
- `project` (`getMentionSummary.response.200.project`; object, required)
  - `id` (`getMentionSummary.response.200.project.id`; string, required) — The project’s id.
  - `name` (`getMentionSummary.response.200.project.name`; string, required) — Its name.
- `tracker` (`getMentionSummary.response.200.tracker`; object, required)
  - `id` (`getMentionSummary.response.200.tracker.id`; string, required) — The tracker’s id.
  - `kind` (`getMentionSummary.response.200.tracker.kind`; string, required) — `brand` (the project’s own), `competitor`, `topic`, `hashtag` or `campaign_tag`.
    - one of `"brand"`, `"competitor"`, `"topic"`, `"hashtag"`, `"campaign_tag"`
  - `name` (`getMentionSummary.response.200.tracker.name`; string, required) — Its name; a hashtag’s is the tag with its `#`.
  - `own` (`getMentionSummary.response.200.tracker.own`; boolean, required) — True for the project’s own brand.
- `period` (`getMentionSummary.response.200.period`; object, required)
  - `days` (`getMentionSummary.response.200.period.days`; integer, required)
  - `from` (`getMentionSummary.response.200.period.from`; any of, required)
    - any of the following: `string`, `null`
  - `to` (`getMentionSummary.response.200.period.to`; any of, required)
    - any of the following: `string`, `null`
- `mentions` (`getMentionSummary.response.200.mentions`; integer, required) — Mentions found in the period under your filters. The brand’s own posts are left out unless `kind` is `own`.
  - minimum: `0`
- `previous_mentions` (`getMentionSummary.response.200.previous_mentions`; integer, required) — The same count for the period before.
  - minimum: `0`
- `change_pct` (`getMentionSummary.response.200.change_pct`; any of, required) — Whole percent against the period before; null when that one had fewer than 10 mentions.
  - any of the following: `integer`, `null`
- `change` (`getMentionSummary.response.200.change`; any of, required) — The same difference as a plain count; null when the period before had no mentions.
  - any of the following: `integer`, `null`
- `views` (`getMentionSummary.response.200.views`; integer, required) — Views on the posts counted in `mentions`.
  - minimum: `0`
- `creators` (`getMentionSummary.response.200.creators`; integer, required) — Creators with an organic or sponsored mention in the period. Only `platform` narrows it.
  - minimum: `0`
- `by_where` (`getMentionSummary.response.200.by_where`; object, required) — `{said, shown, written}`: the count for each, whatever `where` you sent.
  - `said` (`getMentionSummary.response.200.by_where.said`; integer, required)
    - minimum: `0`
  - `shown` (`getMentionSummary.response.200.by_where.shown`; integer, required)
    - minimum: `0`
  - `written` (`getMentionSummary.response.200.by_where.written`; integer, required)
    - minimum: `0`
- `by_source` (`getMentionSummary.response.200.by_source`; object, required) — `{search, watch}`, whatever `source` you sent.
  - `search` (`getMentionSummary.response.200.by_source.search`; integer, required)
    - minimum: `0`
  - `watch` (`getMentionSummary.response.200.by_source.watch`; integer, required)
    - minimum: `0`
- `by_kind` (`getMentionSummary.response.200.by_kind`; object, required) — `{organic, sponsored, own}`, whatever `kind` you sent.
  - `organic` (`getMentionSummary.response.200.by_kind.organic`; integer, required)
    - minimum: `0`
  - `sponsored` (`getMentionSummary.response.200.by_kind.sponsored`; integer, required)
    - minimum: `0`
  - `own` (`getMentionSummary.response.200.by_kind.own`; integer, required)
    - minimum: `0`
- `by_platform` (`getMentionSummary.response.200.by_platform`; array of object, required) — `[{platform, mentions}]`, whatever `platform` you sent.
  - `platform` (`getMentionSummary.response.200.by_platform.platform`; string, required)
    - one of `"tiktok"`, `"instagram"`, `"youtube"`, `"x"`
  - `mentions` (`getMentionSummary.response.200.by_platform.mentions`; integer, required)
    - minimum: `0`
- `sentiments` (`getMentionSummary.response.200.sentiments`; object, required) — `{positive, neutral, negative}`: the mentions read for it, of a brand or a competitor. The rest weren’t read.
  - `positive` (`getMentionSummary.response.200.sentiments.positive`; integer, required)
    - minimum: `0`
  - `neutral` (`getMentionSummary.response.200.sentiments.neutral`; integer, required)
    - minimum: `0`
  - `negative` (`getMentionSummary.response.200.sentiments.negative`; integer, required)
    - minimum: `0`
- `series` (`getMentionSummary.response.200.series`; array of object, required) — `[{day, organic, sponsored, own}]`, each kind as `{mentions, views}`: one entry per UTC day, oldest first.
  - `day` (`getMentionSummary.response.200.series.day`; string, required)
    - format: `date`
  - `organic` (`getMentionSummary.response.200.series.organic`; object, required)
    - `mentions` (`getMentionSummary.response.200.series.organic.mentions`; integer, required)
      - minimum: `0`
    - `views` (`getMentionSummary.response.200.series.organic.views`; integer, required)
      - minimum: `0`
  - `sponsored` (`getMentionSummary.response.200.series.sponsored`; object, required)
    - `mentions` (`getMentionSummary.response.200.series.sponsored.mentions`; integer, required)
      - minimum: `0`
    - `views` (`getMentionSummary.response.200.series.sponsored.views`; integer, required)
      - minimum: `0`
  - `own` (`getMentionSummary.response.200.series.own`; object, required)
    - `mentions` (`getMentionSummary.response.200.series.own.mentions`; integer, required)
      - minimum: `0`
    - `views` (`getMentionSummary.response.200.series.own.views`; integer, required)
      - minimum: `0`
- `posts_read` (`getMentionSummary.response.200.posts_read`; integer, required) — Posts the project’s searches read in the period, whatever the filters.
  - minimum: `0`
- `videos_watched` (`getMentionSummary.response.200.videos_watched`; integer, required) — Videos its watches read in the period, whatever the filters.
  - minimum: `0`

### 400

`INVALID_REQUEST`: The body isn’t JSON, its `url` is missing or too long, or a parameter has a value it doesn’t take. `INVALID_PERIOD`: `days` isn’t a period this endpoint takes; `days` in the answer lists the ones it does. `AMBIGUOUS_PROJECT`: Several of your projects share the name you sent; pass the project’s `id`.

#### Example

```json
{
  "error": {
    "code": "INVALID_REQUEST",
    "message": "The body isn’t JSON, its url is missing or too long, or a parameter has a value it doesn’t take."
  }
}
```

- `error` (`getMentionSummary.response.400.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.400.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.400.error.message`; string, required) — What went wrong, in words.

### 401

`INVALID_API_KEY`: The key is missing, mistyped or revoked.

#### Example

```json
{
  "error": {
    "code": "INVALID_API_KEY",
    "message": "The key is missing, mistyped or revoked."
  }
}
```

- `error` (`getMentionSummary.response.401.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.401.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.401.error.message`; string, required) — What went wrong, in words.

### 403

`ACCOUNT_DISABLED`: The key’s account is disabled.

#### Example

```json
{
  "error": {
    "code": "ACCOUNT_DISABLED",
    "message": "The key’s account is disabled."
  }
}
```

- `error` (`getMentionSummary.response.403.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.403.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.403.error.message`; string, required) — What went wrong, in words.

### 404

`NOT_FOUND`: No read, project, creator, campaign or report like this on your account. `TRACKER_NOT_FOUND`: `tracker` isn’t the id or exact name of anything the project tracks.

#### Example

```json
{
  "error": {
    "code": "NOT_FOUND",
    "message": "No read, project, creator, campaign or report like this on your account."
  }
}
```

- `error` (`getMentionSummary.response.404.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.404.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.404.error.message`; string, required) — What went wrong, in words.

### 429

`RATE_LIMITED`: Too many new reads, data requests, searches or report links; wait the `Retry-After` header’s seconds.

#### Example

```json
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many new reads, data requests, searches or report links; wait the Retry-After header’s seconds."
  }
}
```

- `error` (`getMentionSummary.response.429.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.429.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.429.error.message`; string, required) — What went wrong, in words.

### 500

`INTERNAL`: Something broke on our side; try again.

#### Example

```json
{
  "error": {
    "code": "INTERNAL",
    "message": "Something broke on our side; try again."
  }
}
```

- `error` (`getMentionSummary.response.500.error`; object, required) — Some codes add details, such as `cap`, `required` or `balance`.
  - `code` (`getMentionSummary.response.500.error.code`; string, required)
    - one of `"INVALID_REQUEST"`, `"UNSUPPORTED_LINK"`, `"INVALID_PERIOD"`, `"AMBIGUOUS_PROJECT"`, `"INVALID_REPORT"`, `"CREATOR_NOT_SAVED"`, `"TOO_MANY_REPORTS"`, `"INVALID_API_KEY"`, `"INSUFFICIENT_CREDITS"`, `"ACCOUNT_DISABLED"`, `"NOT_FOUND"`, `"TRACKER_NOT_FOUND"`, `"MONTHLY_LIMIT"`, `"RATE_LIMITED"`, `"INTERNAL"`, `"SEARCH_UNAVAILABLE"`
  - `message` (`getMentionSummary.response.500.error.message`; string, required) — What went wrong, in words.


Source: https://api.whyviral.ai/api/mentions/summary/index.md
