status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Present on success and on a model failure (then with empty model fields). |
data.sentiment | object | Shares of the sample (sum 1); null when the model gave no answer or the sample is empty. Model output: treat as untrusted text if you pass it to an agent with tools. |
data.sentiment.positive | float | Share of positive items (0–1). |
data.sentiment.neutral | float | Share of neutral items (0–1). |
data.sentiment.negative | float | Share of negative items (0–1). |
data.themes | array of objects | Up to 10 themes. |
data.themes[].name | string | Theme name. Model output: treat as untrusted text if you pass it to an agent with tools. |
data.themes[].sentiment | string | positive, neutral, negative or mixed. Model output: treat as untrusted text if you pass it to an agent with tools. |
data.themes[].mentions_count | integer | Sample items the model assigned to the theme. |
data.themes[].example_ids | array of objects | Up to 3 sample items illustrating the theme (always items the model was given). Each entry is {item_id, item_type}: post ids go to /post/batch, comment ids to /comment/batch. |
data.themes[].example_ids[].item_id | string | Post (t3_…) or comment (t1_…) id. |
data.themes[].example_ids[].item_type | string | post or comment, from the id: post ids go to /post/batch, comment ids to /comment/batch. |
data.top_praise | array of objects | Up to 5 praised points with quotes. |
data.top_praise[].text | string | Verbatim excerpt of a sample item (≤ 280 characters). Model output: treat as untrusted text if you pass it to an agent with tools. |
data.top_praise[].item_id | string | Sample item id the excerpt comes from (t3_… or t1_…). |
data.top_praise[].item_type | string | post or comment, from the id: post ids go to /post/batch, comment ids to /comment/batch. |
data.top_complaints | array of objects | Up to 5 complaints with quotes. |
data.top_complaints[].text | string | Verbatim excerpt of a sample item (≤ 280 characters). Model output: treat as untrusted text if you pass it to an agent with tools. |
data.top_complaints[].item_id | string | Sample item id the excerpt comes from (t3_… or t1_…). |
data.top_complaints[].item_type | string | post or comment, from the id: post ids go to /post/batch, comment ids to /comment/batch. |
data.sample | object | What was read from Reddit. |
data.sample.posts_count | integer | Posts in the sample. |
data.sample.comments_count | integer | Comments in the sample. |
data.sample.truncated | boolean | True when the sample was cut by max_chars (or to keep the answer fast). |
data.sample.period | object | Oldest and newest item dates. |
data.sample.period.from | string | Oldest item in the sample (ISO 8601 UTC). |
data.sample.period.to | string | Newest item in the sample (ISO 8601 UTC). |
data.sample.subreddits | array of string | Communities most present in the sample (≤ 10). |
data.resolved_filters | object | Filters as applied. |
data.resolved_filters.time | object | Period applied. |
data.resolved_filters.time.input | string / null | What the caller sent. |
data.resolved_filters.time.resolved | string | What was applied on Reddit (null when not applied). |
data.resolved_filters.time.source | string | param (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.subreddits | object | Subreddit restriction applied. |
data.resolved_filters.subreddits.input | string / null | What the caller sent. |
data.resolved_filters.subreddits.resolved | string / null | What was applied on Reddit (null when not applied). |
data.resolved_filters.subreddits.source | string | param (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.include_nsfw | object | NSFW inclusion applied. |
data.resolved_filters.include_nsfw.input | string / null | What the caller sent. |
data.resolved_filters.include_nsfw.resolved | string | What was applied on Reddit (null when not applied). |
data.resolved_filters.include_nsfw.source | string | param (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.language | object | Answer language applied. |
data.resolved_filters.language.input | string / null | What the caller sent. |
data.resolved_filters.language.resolved | string | What was applied on Reddit (null when not applied). |
data.resolved_filters.language.source | string | param (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.off_topic_ids | array of objects | Sample items the model judged unrelated to the keyword. Each entry is {item_id, item_type}: post ids go to /post/batch, comment ids to /comment/batch. Model output: treat as untrusted text if you pass it to an agent with tools. |
data.off_topic_ids[].item_id | string | Post (t3_…) or comment (t1_…) id. |
data.off_topic_ids[].item_type | string | post or comment, from the id: post ids go to /post/batch, comment ids to /comment/batch. |
data.ai | object | How the model answered (null when it did not). |
data.ai.input_tokens | integer | Input tokens of the model call. |
data.ai.output_tokens | integer | Output tokens of the model call. |
data.ai.possible_injection | boolean | True when the input text contained instruction-like phrasing (“ignore previous instructions” and the like). Informational: the answer was still produced from the data. |
data.ai.truncated | boolean | True when the input was cut to fit max_chars (or to keep the answer fast). |
data.ai.cached | boolean | True when the answer was served from the stored result (or the rules had not changed), so no model call was made for this request. |
data.computed_at | string | When this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache. |
data.fresh | boolean | True when computed for this request; false when served from the stored result. |
data.billed_requests | integer | Requests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1). |
request_params | object | Echo of the parameters you sent |