status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Crosspost page; null with error.code not_found. |
data.source_post | object | The post asked about, with Reddit’s totals crossposts_count and shared_link_count (null when Reddit did not answer them); first page only, null on later pages. Never counted in items. |
data.source_post.post_id | string | Post fullname, e.g. t3_z1c9z. |
data.source_post.title | string | Post title; null when Reddit shows only its removal placeholder ([ Removed by moderator ]…). |
data.source_post.type | string | text, link, image, gif, gallery, video, poll, crosspost, embed, game. A text post with inline images is text (its images in body_media). Only with with_details=true on /post/batch and /answers. |
data.source_post.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.source_post.post_url | string | Absolute link of the post’s Reddit thread (https://www.reddit.com + permalink), ready to open. |
data.source_post.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.source_post.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.source_post.subreddit | string | Subreddit name without r/. |
data.source_post.subreddit_id | string | Subreddit id (t5_…). |
data.source_post.subreddit_type | string | Community type: public, restricted, private, user (a post on a profile)…; null when this endpoint does not carry it. Only with with_details=true on /post/batch and /answers (always on /post/search). Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity and /user/insights. |
data.source_post.subreddit_icon_url | string | Community icon URL; null when this endpoint does not carry it. Only with with_details=true on /post/batch, /domain/posts and /answers. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.is_subreddit_nsfw | boolean | The community is 18+ (a post can be safe for work in an 18+ community); null when this endpoint does not carry it. Only with with_details=true on /post/batch, /domain/posts and /answers. Left out on /subreddit/multi-posts. |
data.source_post.is_subreddit_quarantined | boolean | The community is quarantined; null when this endpoint does not carry it. Only with with_details=true on /post/batch, /domain/posts and /answers. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.author | string | Author username; [deleted] is reported as null with is_author_deleted true. Only with with_details=true on /post/batch and /answers. |
data.source_post.is_author_deleted | boolean | The author’s account is deleted (the post may remain). |
data.source_post.author_id | string | Author account id (t2_…). Only with with_details=true on /post/batch and /answers. |
data.source_post.author_avatar_url | string | Author avatar URL. Only with with_details=true on the routes that have it; left out on /media/search and /subreddit/multi-posts. |
data.source_post.author_type | string | user or app (an app account that posts games or bot content); null when this endpoint does not carry it. Only with with_details=true on the routes that have it. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.is_author_nsfw | boolean | The author’s profile is marked 18+; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.author_flair | object / null | Author’s flair in this subreddit; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. Left out on /subreddit/multi-posts and the listing-card routes (/subreddit/posts, /feed/best, /feed/popular, /content/stories, /content/viral-media, /user/activity, /user/insights). |
data.source_post.flair | object | Post flair. Only with with_details=true on /post/batch and /answers (always on /post/search). On the listing-card routes (/subreddit/posts, the feeds, /content/*, /user/activity and /user/insights posts) it holds text and background_color only. |
data.source_post.flair.text | string | Flair text (emoji shortcodes kept, e.g. :phx-2: Suns). |
data.source_post.flair.rich_text | array of objects | Rich-text flair as parts in display order (text, and emoji with their image URL); null for a plain-text flair or when this endpoint does not carry it. |
data.source_post.flair.rich_text[].type | string | text or emoji. |
data.source_post.flair.rich_text[].text | string | The text, or the emoji’s short code (e.g. :nba-1:). |
data.source_post.flair.rich_text[].url | string / null | Emoji image URL (emoji parts only). |
data.source_post.flair.background_color | string | Hex background colour (#0079D3) or null when the flair has no colour. |
data.source_post.flair.text_color | string | light or dark text on the flair pill. |
data.source_post.flair.flair_id | string | Flair template id, the same as flair_id on /subreddit/flairs. A reference id, not an input of this API; null when this endpoint does not carry it. |
data.source_post.score | integer | Net upvotes at fetch time. |
data.source_post.upvote_ratio | float | Upvote share 0–1, 4 decimals (e.g. 0.8218). Only with with_details=true on the routes that have it. Left out on /subreddit/multi-posts. Left out on /media/search. |
data.source_post.comments_count | integer | Comment count reported by Reddit. |
data.source_post.shares_count | integer | Times the post was shared, as Reddit counts it; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.crossposts_count | integer | Number of crossposts; null when Reddit sends no count (it sends none, not 0, for most posts never crossposted) or this endpoint does not carry it. Only with with_details=true on /post/batch and /answers (always on /post/search). Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity and /user/insights. On the /post/crossposts source_post: Reddit’s total of crossposts of the post. |
data.source_post.shared_link_count | integer | Number of other posts that submitted the same link (not crossposts), Reddit’s total. Only on the /post/crossposts source_post; left out elsewhere. |
data.source_post.created_at | string | ISO-8601 UTC creation time, microsecond precision. Left out on /media/search and on /answers without with_details. |
data.source_post.is_nsfw | boolean | Marked NSFW. |
data.source_post.is_spoiler | boolean | Marked spoiler. Only with with_details=true on /post/batch and /answers. |
data.source_post.is_stickied | boolean | Pinned in the feed (feeds and listings only). Only with with_details=true on /post/batch and /answers (always on /post/search). Left out on /media/search. |
data.source_post.is_locked | boolean | Comments locked. Only with with_details=true on /post/batch and /answers (always on /post/search). Left out on /media/search. |
data.source_post.is_archived | boolean | Archived (no new votes or comments). Only with with_details=true on the routes that have it (always on /post/search). Left out on /media/search. |
data.source_post.is_crosspost | boolean | The post is a crosspost. Only with with_details=true on the routes that have it. Left out on /media/search. |
data.source_post.crosspost_parent_id | string / null | Id of the original post (t3_…) this crosspost shares; null unless is_crosspost and the endpoint carries it. Pass it to /post/details. Only with with_details=true on /post/batch and /answers (always on /post/search). |
data.source_post.crosspost_parent_subreddit | string / null | Subreddit of the original post, without r/; null unless is_crosspost. Only with with_details=true on /post/batch and /answers (always on /post/search). |
data.source_post.is_brand_affiliate | boolean | Reddit’s paid-partnership disclosure is set on the post; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. Left out on /subreddit/posts, /feed/best, /feed/popular, /feed/games, /content/stories, /content/viral-media, /media/search, /user/activity, /user/insights and /subreddit/multi-posts. |
data.source_post.distinguished | string / null | moderator or admin when the post is distinguished; else null. Only with with_details=true on the routes that have it. |
data.source_post.removed_by | string / null | Who removed the post: moderator, author, automod, spam, reddit or other; null when live or when this endpoint does not carry it. Only with with_details=true on the routes that have it. |
data.source_post.removal_category | string / null | Reddit’s removal reason as sent, e.g. moderator or automod_filtered; null when live. Only with with_details=true on the routes that have it. |
data.source_post.position | integer / null | Rank in the feed or the search results, 1-based and counted across pages (feeds keep Reddit’s gaps where ads were). |
data.source_post.thumbnail_url | string | Thumbnail URL. |
data.source_post.thumbnail_width | integer | Thumbnail pixel width; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. |
data.source_post.thumbnail_height | integer | Thumbnail pixel height; null when this endpoint does not carry it. Only with with_details=true on the routes that have it. |
data.source_post.body_media | array | Images and videos embedded in the text body, in order; empty when none or when this endpoint does not carry them. Only with with_details=true on the routes that have it. |
data.source_post.poll | object / null | Poll options and totals (poll posts only). Only with with_details=true on the routes that have it. |
data.source_post.media | object | Images, video renditions, gallery, embed. Only with with_details=true on the routes that have it (always on /post/search). |
data.source_post.media.type | string / null | Media kind: image, video, gif, gallery, embed or null. |
data.source_post.media.preview_url | string | Largest still preview URL. |
data.source_post.media.preview_width | integer | Preview pixel width. |
data.source_post.media.preview_height | integer | Preview pixel height. |
data.source_post.media.preview_variants | array of objects | Every size Reddit renders of the preview image, smallest first; empty when this endpoint does not carry them. |
data.source_post.media.preview_variants[].size | string | thumbnail (108 px wide), compact, medium (320), large (640), extra_large (1080) or full (the original size). |
data.source_post.media.preview_variants[].url | string | Image URL at that size. |
data.source_post.media.preview_variants[].width | integer | Pixel width. |
data.source_post.media.preview_variants[].height | integer | Pixel height. |
data.source_post.media.alt_text | string / null | Image description the author set for screen readers; null when none. |
data.source_post.media.hls_url | string / null | HLS playlist (.m3u8) for hosted video. |
data.source_post.media.video_url | string / null | Player URL of a third-party embed (YouTube, Streamable…), or the downloadable MP4 of a Reddit-hosted video (signed, expires within about a day). Null when the source of the route does not carry it (a hosted video on a listing card: use renditions). |
data.source_post.media.poster_url | string / null | Video poster image. |
data.source_post.media.captions_url | string / null | WebVTT captions URL when available. |
data.source_post.media.duration_seconds | integer / null | Video duration in seconds. |
data.source_post.media.width | integer / null | Video pixel width (a hosted video’s full size, or the embed player’s size). |
data.source_post.media.height | integer / null | Video pixel height (a hosted video’s full size, or the embed player’s size). |
data.source_post.media.renditions | array | MP4 renditions with bitrate and size (hosted video only). |
data.source_post.media.embed_html | string / null | oEmbed iframe HTML for third-party embeds (YouTube, Streamable…). |
data.source_post.media.embed_provider | string / null | Embed provider name, e.g. YouTube or Streamable; null on Reddit-hosted media. |
data.source_post.media.gallery | array | Gallery images in page order. |
data.items | array | Crossposts and other posts of the same link, in Reddit’s search order (most comments or newest first), 1-based position counted across pages. |
data.has_next_page | boolean | More crossposts available. |
data.next_page_token | string / null | Token for the next page; null at the end. |
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 |