> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Mention

> Social listening: the alerts on your Mention account, the web and social mentions each alert collected, and their statistics.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/mention.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=5c55486191548e3a58c854aa786770e1)

[Web Catalog · Social](https://docs.webrouter.net/data-apis.md?category=social)

Needs&#x20;

`MENTION_API_KEY`

Endpoints

7

Auth

Key in header

[Vendor docs](https://dev.mention.com/current/)

&#x20;·&#x20;

[Pricing](https://mention.com/en/pricing/)

## Setup

| Variable | | What it is |
| - | - | - |
| `MENTION_API_KEY` | required | A Mention access token. For your own account, the token shown at the bottom of your API app's settings page works without the OAuth flow. Sent as a Bearer token. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Every call is scoped to an account id: call mention.account.me first to read yours, then mention.alerts.list for the alert ids.
* Dates are ISO 8601 with an offset, e.g. 2024-11-16T19:20:30+01:00.
* Some resources are rate limited, with limits that vary by resource and method; a 429 carries X-Rate-Limit-Reset, a Unix time.
* Alert, tag, share and task changes, and marking mentions read or favorite, are writes and are not in this entry.

## Endpoints

GET

Get my account

The account the token belongs to: id, name, email, language and permissions.

[Open](#mention-account-me)

GET

List alerts

The alerts (monitored queries) of an account, with their ids and settings.

[Open](#mention-alerts-list)

GET

List an alert's mentions

Mentions an alert collected, filterable by folder, tone, language, country, source and keyword query.

[Open](#mention-mentions-list)

GET

Get a mention

One mention of an alert, with its source, author, tone and reach.

[Open](#mention-mentions-get)

GET

List a mention's children

The child mentions (replies, comments) under one mention.

[Open](#mention-mentions-children)

GET

List an alert's tags

The tags defined on an alert, for filtering statistics by tag.

[Open](#mention-tags-list)

GET

Get mention statistics

Mention counts and reach per alert over time, with optional breakdowns by weekday, hour, country and top influencers.

[Open](#mention-stats-get)

### Get my account

GET

`/accounts/me`

`mention.account.me`

The account the token belongs to: id, name, email, language and permissions.

Input

No inputs.

[Vendor docs](https://dev.mention.com/current/src/account/GetAccountMe.html)

```python Python theme={null}
router.call_data_api("mention.account.me")
```

```text MCP theme={null}
call_data_api(endpoint="mention.account.me")
```

> [!NOTE]
>
> * account.id is the account\_id every other call takes.

### List alerts

GET

`/accounts/{account_id}/alerts`

`mention.alerts.list`

The alerts (monitored queries) of an account, with their ids and settings.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id, from mention.account.me.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Alerts to return; all by default.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Paging cursor the previous answer gave.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/alert/GetAlerts.html) · Same job: [Opoint](https://docs.webrouter.net/data-apis/opoint.md#opoint-storedsearch-list)

### List an alert's mentions

GET

`/accounts/{account_id}/alerts/{alert_id}/mentions`

`mention.mentions.list`

Mentions an alert collected, filterable by folder, tone, language, country, source and keyword query.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id, from mention.account.me.
      </td>
    </tr>

    <tr>
      <td>
        `alert_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Alert id, from mention.alerts.list.
      </td>
    </tr>

    <tr>
      <td>
        `since_id`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Only mentions with a higher id (found later), ordered by id. Not with before\_date, not\_before\_date or cursor.
      </td>
    </tr>

    <tr>
      <td>
        `before_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only mentions published before this datetime, ordered by publication date.
      </td>
    </tr>

    <tr>
      <td>
        `not_before_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Skip mentions older than this datetime; only together with before\_date.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Mentions per page, default 20, max 1000; smaller is faster.
      </td>
    </tr>

    <tr><td>`source`</td><td>string</td><td>query</td><td>One source, e.g. web. Plans with search access only. Example `web`</td></tr>

    <tr>
      <td>
        `unread`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Set to 1 for unread mentions only. Not with favorite, q or tone.
      </td>
    </tr>

    <tr>
      <td>
        `favorite`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Set to 1 for favorite mentions only. With folder only when folder is inbox or archive.
      </td>
    </tr>

    <tr><td>`folder`</td><td>string</td><td>query</td><td>Folder to read; spam and trash include child mentions by default. One of `inbox`, `archive`, `spam`, `trash`</td></tr>
    <tr><td>`tone`</td><td>integer</td><td>query</td><td>Tone to keep: -1 negative, 0 neutral, 1 positive. One of `-1`, `0`, `1`</td></tr>

    <tr>
      <td>
        `countries`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Country code, e.g. US.
      </td>
    </tr>

    <tr>
      <td>
        `include_children`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Set to 1 to include child mentions (replies and the like).
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Sort order. Plans with search access only. One of `published_at`, `author_influence.score`, `direct_reach`, `cumulative_reach`, `domain_reach`</td></tr>

    <tr>
      <td>
        `languages`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Language code, e.g. en.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Time zone name used to read dates inside q, e.g. America/New\_York.
      </td>
    </tr>

    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Keyword query with filters such as source:, tone:, language:, is:favorite and published\_at:\[...]. Plans with search access only.
      </td>
    </tr>

    <tr>
      <td>
        `cursor`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Paging cursor; not with since\_id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/alert/mention/GetMentions.html) · Same job: [Opoint](https://docs.webrouter.net/data-apis/opoint.md#opoint-storedsearch-feed)

> [!NOTE]
>
> * Paging: follow \_links.more.href for older mentions and \_links.pull.href for newer ones.
> * The q filter syntax can combine filters the plain parameters refuse to combine; is:unread in q needs an alert on index version 2 or later.

### Get a mention

GET

`/accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}`

`mention.mentions.get`

One mention of an alert, with its source, author, tone and reach.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id.
      </td>
    </tr>

    <tr>
      <td>
        `alert_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Alert id.
      </td>
    </tr>

    <tr>
      <td>
        `mention_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Mention id, from mention.mentions.list.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/alert/mention/GetMention.html) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

### List a mention's children

GET

`/accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}/children`

`mention.mentions.children`

The child mentions (replies, comments) under one mention.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id.
      </td>
    </tr>

    <tr>
      <td>
        `alert_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Alert id.
      </td>
    </tr>

    <tr>
      <td>
        `mention_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Parent mention id.
      </td>
    </tr>

    <tr>
      <td>
        `before_date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only children older than this datetime.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Children per page, default 20, max 100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/alert/mention/GetMentionChildren.html) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-comments), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-comments-list), [Fetchin](https://docs.webrouter.net/data-apis/fetchinio.md#fetchinio-post-comments), [HarvestAPI](https://docs.webrouter.net/data-apis/harvestapi.md#harvestapi-linkedin-profile-comments), [Hacker News Search (Algolia)](https://docs.webrouter.net/data-apis/hn-algolia.md#hn-algolia-item-get), [Influencers Club](https://docs.webrouter.net/data-apis/influencersclub.md#influencersclub-posts-details)

### List an alert's tags

GET

`/accounts/{account_id}/alerts/{alert_id}/tags`

`mention.tags.list`

The tags defined on an alert, for filtering statistics by tag.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id.
      </td>
    </tr>

    <tr>
      <td>
        `alert_id`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        path
      </td>

      <td>
        Alert id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/alert/tag/GetTags.html) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-lists-list), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-lists-list), [Exa](https://docs.webrouter.net/data-apis/exa.md#exa-websets-list), [Happenstance](https://docs.webrouter.net/data-apis/happenstance.md#happenstance-groups-list), [Origami](https://docs.webrouter.net/data-apis/origami.md#origami-lists-list), [Sprout Social](https://docs.webrouter.net/data-apis/sprout-social.md#sprout-social-metadata-groups)

### Get mention statistics

GET

`/accounts/{account_id}/stats`

`mention.stats.get`

Mention counts and reach per alert over time, with optional breakdowns by weekday, hour, country and top influencers.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Account id.
      </td>
    </tr>

    <tr>
      <td>
        `alerts`

        required
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Alert ids to report on.
      </td>
    </tr>

    <tr>
      <td>
        `from`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Start datetime, e.g. 2015-03-27T00:00:00.0.
      </td>
    </tr>

    <tr>
      <td>
        `to`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        End datetime.
      </td>
    </tr>

    <tr>
      <td>
        `timezone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Time zone for from and to, e.g. Europe/Berlin.
      </td>
    </tr>

    <tr><td>`interval`</td><td>string</td><td>query</td><td>Bucket size: daily, weekly or monthly. One of `P1D`, `P1W`, `P1M`</td></tr>

    <tr>
      <td>
        `favorite`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Only favorite mentions; combinable with important.
      </td>
    </tr>

    <tr>
      <td>
        `important`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Only important mentions; combinable with favorite.
      </td>
    </tr>

    <tr>
      <td>
        `tones`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tone values to keep.
      </td>
    </tr>

    <tr>
      <td>
        `languages`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Language codes to keep.
      </td>
    </tr>

    <tr>
      <td>
        `sources`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Source codes to keep.
      </td>
    </tr>

    <tr>
      <td>
        `countries`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Country codes to keep.
      </td>
    </tr>

    <tr>
      <td>
        `tags`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Tag names to keep.
      </td>
    </tr>

    <tr>
      <td>
        `week_day_stats`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add counts by weekday; not with week\_day\_by\_hour\_stats.
      </td>
    </tr>

    <tr>
      <td>
        `week_day_by_hour_stats`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add counts by weekday and hour; not with week\_day\_stats.
      </td>
    </tr>

    <tr>
      <td>
        `country_stats`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Number of top countries to add, default 0.
      </td>
    </tr>

    <tr>
      <td>
        `influencers`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add the top 10 web and Twitter influencers per alert.
      </td>
    </tr>

    <tr>
      <td>
        `reach_per_interval_stats`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Add reach per interval.
      </td>
    </tr>

    <tr>
      <td>
        `author_influence_score`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Author influence range min:max, both ends optional and inclusive, e.g. 50: or 0:100.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://dev.mention.com/current/src/account/stats/GetStats.html) · Same job: [Postiz](https://docs.webrouter.net/data-apis/postiz.md#postiz-analytics-channel), [Sprout Social](https://docs.webrouter.net/data-apis/sprout-social.md#sprout-social-analytics-profiles)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.