Ask Reddit Answers a question in plain language: Reddit’s summary of what redditors say, points grouped under headings with the posts and comments they quote, the cited posts, source communities, images and suggested follow_ups (send one as q with the conversation_id). An answer takes 5-10 seconds and is cached 30 minutes. Billed 1 request per call, +1 per cited post detailed with with_details=true, plus 1 AI unit per model answer (none on a stored answer).
HTTP Request
GET /answers
Cost (in requests): 1 + 1 AI units (new answer); +1 per cited post detailed. Every successful answer reports its cost in data.billed_requests. AI endpoints need a paid plan.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q | string | Yes | - | Question to ask Reddit, in plain language (e.g. best electric cars 2026). |
conversation_id | string | No | - | Conversation id from a previous answer, to ask one of its follow_ups in context. Omit to start a new conversation. |
with_details | boolean | No | false | Adds these fields to the first 25 cited posts (left out without it): author, author_id, type, upvote_ratio, flair, body_text, body_media, media, poll, subreddit_type, author_flair, author_type, author_avatar_url, is_author_nsfw, is_brand_affiliate, distinguished, is_locked, is_archived, is_stickied, is_crosspost, crosspost_parent_id, crosspost_parent_subreddit, crossposts_count, shares_count, removed_by, removal_category, thumbnail_width, thumbnail_height, is_spoiler, is_subreddit_nsfw, is_subreddit_quarantined, subreddit_icon_url. Billed: +1 request per cited post detailed. |
include_html | boolean | No | false | Adds 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 /answers?q=best python web framework for beginners (arrays trimmed to 2 items, long texts cut with …).
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Reddit’s answer. |
data.conversation_id | string | Conversation id; pass it back with a follow_ups question to continue. |
data.summary | string | The opening summary sentence(s). |
data.follow_ups | array of string | Suggested follow-up questions. |
data.subreddits | array of objects | Communities Reddit drew the answer from. |
data.subreddits[].name | string | Subreddit name without r/. |
data.subreddits[].subreddit_id | string | Subreddit id (t5_…). |
data.subreddits[].icon_url | string | Community icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check. |
data.bullets | array | The answer’s points with their citations, in order. |
data.sources | array of objects | Cited posts with title, score, comment count and link (full cards with with_details). |
data.sources[].post_id | string | Post fullname, e.g. t3_z1c9z. |
data.sources[].title | string | Post title; null when Reddit shows only its removal placeholder ([ Removed by moderator ]…). |
data.sources[].permalink | string | Reddit path, e.g. /r/IAmA/comments/z1c9z/i_am_barack_obama/ (Reddit’s relative value; post_url is the same thread as a full link). Either form can be passed back as url. |
data.sources[].post_url | string | Absolute link of the post’s Reddit thread (https://www.reddit.com + permalink), ready to open. |
data.sources[].url | string | Where the post points (Reddit’s own url): the outside page for link posts, the image or video file for media posts (https://i.redd.it/…, https://v.redd.it/…), the original post for crossposts, the thread itself for text posts. The post’s own thread is post_url. |
data.sources[].domain | string | Link domain (arstechnica.com). For a text post Reddit fills the placeholder self.{subreddit}, which is not a link domain: /domain/posts refuses it; list text posts with /subreddit/posts?post_type=text. |
data.sources[].subreddit | string | Subreddit name without r/. |
data.sources[].subreddit_id | string | Subreddit id (t5_…). |
data.sources[].is_author_deleted | boolean | The author’s account is deleted (the post may remain). |
data.sources[].score | integer | Net upvotes at fetch time. |
data.sources[].comments_count | integer | Comment count reported by Reddit. |
data.sources[].is_nsfw | boolean | Marked NSFW. |
data.sources[].thumbnail_url | string / null | Thumbnail URL. |
data.images | array | Related images Reddit attached. |
data.answer_text | string | Reddit’s whole answer as plain text (summary, sections and points). |
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 answered for this request; false when served from the 30-minute store. |
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 |
Error Responses
Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Invalid or missing parameter | Plain-English message per field. Not billed |
503 with error.code | AI model failed | llm_timeout, llm_error or invalid_output. The Reddit data read so far is still in data. Not billed, retry |
| 503 | Reddit temporarily unreachable | "error": "Service temporarily unavailable". Not billed, retry later |
Code Examples
| |
| |
| |