Skip to content

Scroll by Keyword

POST/v2/organizations/{organizationId}/keywords/{keywordId}/mentions/scroll

Returns a paginated list of mentions for a specific keyword. Use this endpoint to retrieve and page through mentions scoped to a single keyword rather than the entire organization.

100 req/60s

Parameters

Path Parameters

organizationIdinteger (int64)requiredpath

The unique identifier of the organization.

keywordIdinteger (int32)requiredpath

The unique identifier of the keyword to scroll mentions for.

Request Body

The request body is a ScrollRequest containing a query, pagination settings, and optional flags:

FieldTypeDescription
queryobjectA FeedsSearchQueryRequest defining the search criteria (see below).
pagedobjectPagination and sorting settings.
paged.countinteger (int32)Number of mentions to return per page.
paged.sortedobjectSorting configuration with direction (ASC or DESC) and property (sort field).
scrollTokenstringToken from a previous response to fetch the next page of results. Omit on the first request.

Sort Properties

PUBLISHED_TIME, FEED_TIME, REACH, VIRALITY, INTERACTIONS, INFLUENCE, ENGAGEMENT

Query Object (FeedsSearchQueryRequest)

FieldTypeDescription
query.feedsarrayArray of feed objects with groupId (int64) and keywordId (int64) to scope the search. Optional -- omit to search all feeds.
query.feedTimeobjectTime range filter based on when the mention entered the feed. Use relative (enum) for preset ranges, or from/to (ISO datetime) for custom ranges.
query.publishedTimeobjectTime range filter based on when the mention was published. Same structure as feedTime.
query.mentionFilterobjectFilter criteria for narrowing mentions.

Relative Time Period Values

TODAY, YESTERDAY, LAST_24_HOURS, LAST_7_DAYS, LAST_30_DAYS, LAST_90_DAYS, THIS_MONTH, THIS_WEEK, LAST_WEEK, LAST_MONTH

Mention Filters

Each filter field uses a FilterClause pattern with optional any, all, must, and not sub-fields:

Filter FieldTypeDescription
mentionTypeFilterClauseFilter by source type. Values: WEB, FACEBOOK, TWITTER, FORUM, COMMENT, YOUTUBE, INSTAGRAM, REDDIT, TIKTOK, PRINT, RADIO, TV, BLUESKY
sentimentFilterClauseFilter by sentiment. Values: POSITIVE, NEUTRAL, NEGATIVE, UNDEFINED

Try it

Parameters

Organization ID

Keyword ID

Time Range

Filters

Filter by source type

Filter by sentiment

Pagination

Mentions per page

For next page

Response

json
{
  "mentions": [
    {
      "id": 987654321,
      "type": "WEB",
      "title": "Tesla announces new factory",
      "mention": "Tesla has announced plans to build a new factory...",
      "url": "https://example.com/article/tesla-factory",
      "author": "TechNews",
      "reach": 50000,
      "virality": 0.85,
      "interaction": 1200,
      "influenceScore": 78,
      "autoSentiment": "POSITIVE",
      "languages": ["en"],
      "locations": ["US"],
      "insertTime": 1705312800000,
      "keywords": ["Tesla"]
    }
  ],
  "scrollToken": "eyJzZWFyY2hBZnRlciI6..."
}

Response Fields

FieldTypeDescription
mentionsarrayList of mention objects matching the query for this keyword.
scrollTokenstringOpaque token to pass in the next request to retrieve the following page of results.

Mention Object

FieldTypeDescription
idinteger (int64)Unique identifier for the mention
typestringSource type (e.g. WEB, TWITTER, FACEBOOK, YOUTUBE)
titlestringTitle of the mention, if available
mentionstringText snippet of the mention content
urlstringURL where the original mention can be found
authorstringName or handle of the mention author
influencerstringInfluencer associated with the mention, if any
reachinteger (int32)Estimated audience reach
viralitynumber (double)Virality score of the mention
interactioninteger (int64)Total number of interactions (likes, shares, comments, etc.)
influenceScoreinteger (int64)Influence score of the source
autoSentimentstringAutomatically detected sentiment (POSITIVE, NEUTRAL, NEGATIVE, UNDEFINED)
languagesarray of stringDetected languages of the mention
locationsarray of stringDetected geographic locations
insertTimeinteger (int64)Unix timestamp (milliseconds) when the mention was ingested
databaseInsertTimeinteger (int64)Unix timestamp (milliseconds) when the mention was stored in the database
imagestringURL of an associated image, if available
keywordsarray of stringKeywords that matched this mention

Pagination

The scroll endpoint uses token-based pagination for efficient retrieval of large result sets.

  1. First request -- Send your query without a scrollToken. The response includes the first page of results and a scrollToken.

  2. Subsequent requests -- Include the scrollToken from the previous response in your next request body. The server returns the next page of results along with a new scrollToken.

  3. End of results -- When there are no more results, the scrollToken will be absent or null in the response.

TIP

Always pass the same query and paged parameters across paginated requests. Only add or update the scrollToken field.

Built by Determ — Media Monitoring & Analytics