GET /monitor/mentions

Monitor Mentions

New Reddit mentions of a phrase or website since the last poll. Reddit Scraper API endpoint /monitor/mentions: parameters, JSON response fields and code examples.

New posts and comments that mention a phrase, newest first, plus new posts linking to watched websites. Nothing is stored on our side: poll with the same q and since set to the previous next_since, and an item is never delivered twice. classify=true adds an AI label per new mention. Billed 1 request per poll, plus 1 per 5 subreddits / domains watched (a first poll without since is 1), plus 1 AI unit when the model classified it.

HTTP Request

GET /monitor/mentions

Cost (in requests): 1 + 1 per 5 subreddits/domains; +1 AI units classify. Every successful answer reports its cost in data.billed_requests. AI endpoints need a paid plan.

Parameters

ParameterTypeRequiredDefaultDescription
qstringYes-Phrase to watch, matched exactly (several words are searched as one phrase, e.g. red hat; your own quotes are kept). -word excludes a word.
subredditsstringNo-Restrict to these communities (comma list, up to 10).
typestringNoallposts, comments or all (default). Allowed: posts, comments, all.
domainsstringNo-Also report new posts linking to these hostnames (comma list, up to 5).
sincestringNo-next_since from the previous poll, an ISO-8601 UTC timestamp or Unix epoch seconds (e.g. 1761386400); at most 7 days back. Omitted = now (an empty first poll that gives you the token, billed 1 request); a first call with since set to an ISO time up to 7 days back returns the mentions since then right away.
max_mentionsintegerNo100Most mentions per poll, 1–200 (default 100); truncated is true when the cap stopped the poll.
classifybooleanNofalseAdds an AI classification to each mention: sentiment, intent, stance towards the watched phrase, relevance score and a one-line reason. Costs 1 AI unit per poll that classifies at least one new mention.
promptstringNo-What counts as relevant for you, in plain words (e.g. people choosing a password manager for a small team), at most 1,000 characters. Used only with classify=true; without it, relevance means: the mention is about the watched phrase and not a homonym.
include_htmlbooleanNofalseAdds body_html (the rendered HTML body) to every post and comment. Default: left out; body_text carries the same text.

Response

Real response to GET /monitor/mentions?q=fastapi (arrays trimmed to 2 items, long texts cut with …).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "status": true,
  "request_id": "c02a696b-9433-08ef-187e-2fd85853",
  "data": {
    "next_since": "eyJ2IjoxLCJraW5kIjoibW9uaXRvcl9zaW5jZSIsInRzIjoxNzk1NTUzOTA5LjE3OTkyMiwiaWRzIjpbXX0",
    "truncated": false,
    "skipped_older_than": null,
    "resolved_filters": {
      "q": {
        "input": "fastapi",
        "resolved": "fastapi",
        "source": "param"
      },
      "type": {
        "input": "all",
        "resolved": "all",
        "source": "param"
      },
      "subreddits": [],
      "domains": []
    },
    "ai": null,
    "billed_requests": 1,
    "items": []
  },
  "request_params": {
    "q": "fastapi"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectPoll result; null with error.code invalid_page_token (bad since) or not_found (unknown community).
data.next_sincestringPass as since on the next poll.
data.truncatedbooleanTrue when max_mentions stopped the poll. Nothing is lost: the rest comes on the next poll.
data.skipped_older_thanstring / nullISO-8601 UTC. When a source had more new items than one poll reads, mentions older than this time and newer than your previous poll were skipped and will not be delivered later; poll more often or narrow the query. Null when nothing was skipped.
data.resolved_filtersobjectWatch definition as applied.
data.resolved_filters.qobjectPhrase as applied.
data.resolved_filters.q.inputstringWhat the caller sent.
data.resolved_filters.q.resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.q.sourcestringparam (applied as given), default, not_found (the value does not exist on Reddit), private / banned / quarantined (a community in the scope that cannot be read: skipped), or not_available (translate_to only: Reddit had no translated listing, the rows are served in their original language).
data.resolved_filters.typeobjectposts / comments / all as applied.
data.resolved_filters.type.inputstringWhat the caller sent.
data.resolved_filters.type.resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.type.sourcestringparam (applied as given), default, not_found (the value does not exist on Reddit), private / banned / quarantined (a community in the scope that cannot be read: skipped), or not_available (translate_to only: Reddit had no translated listing, the rows are served in their original language).
data.resolved_filters.subredditsarrayCommunities as applied; ones with source not_found, private, banned or quarantined were skipped.
data.resolved_filters.domainsarrayHostnames as applied.
data.aiobject / nullHow the classification model answered (classify=true): null without classify or when there was nothing new to classify; cached true when every classification came from the stored ones; error set when the model call failed (the mentions are still delivered, without classification).
data.billed_requestsintegerRequests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1).
data.itemsarrayNew mentions, newest first.
request_paramsobjectEcho of the parameters you sent

Error Responses

Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:

1
{ "status": false, "request_id": "99a1e6cd-2e57-9e8f-4e44-2dea7f6d", "error": "Invalid parameter 'post_id': must be a post id such as z1c9z or t3_z1c9z", "request_params": { "post_id": "!!" } }
Status CodeCauseDescription
400Invalid or missing parameterPlain-English message per field. Not billed
503 with error.codeAI model failedllm_timeout, llm_error or invalid_output. The Reddit data read so far is still in data. Not billed, retry
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
import requests

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/monitor/mentions"

params = {
    "q": "fastapi",
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()["data"]

print(data["next_since"])
print(data["truncated"])
print("Billed requests:", data["billed_requests"])
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
const url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/monitor/mentions";

const params = new URLSearchParams({
  q: "fastapi",
});

const response = await fetch(`${url}?${params}`, {
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  }
});

const { data } = await response.json();
console.log(data.next_since, data.truncated);
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/monitor/mentions" \
  --data-urlencode "q=fastapi" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI