GET /content/viral-media

Viral Media

Top videos, images, GIFs and galleries from viral-media communities. Reddit Scraper API endpoint /content/viral-media: parameters, JSON response fields and code examples.

The most upvoted videos, images, GIFs and galleries of time from the communities in subreddits (or a list of viral-media communities); text posts, links and embedded players never qualify. Each post adds a ready-to-use media block: video files in several sizes with duration and poster, image preview, GIF or gallery images; video links expire within about a day. One list ordered by score (upvotes); continue with next_page_token. Billed 1 request per 5 communities read, on every page (minimum 1).

HTTP Request

GET /content/viral-media

Cost (in requests): 1 per 5 communities read. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
subredditsstringNo-Comma-separated subreddit names, r/name, or t5_ ids, 1–25 (case-insensitive). Omit to use the viral-media communities nextfuckinglevel, oddlysatisfying, interestingasfuck, funny, BeAmazed, Damnthatsinteresting, aww, MadeMeSmile, Unexpected, PublicFreakout (echoed in default_subreddits).
page_tokenstringNo-Opaque page token from a previous response’s next_page_token. Omit for the first page.
per_pageintegerNo25Results per page, 1–25 (default 25). One page is billed 1 request.
timestringNodayWindow of the top listing: day (default), week, month, year, all.
media_typestringNoallvideo, image, gif or gallery. Embedded players such as YouTube links are never returned. all (default) = no filter, every kind.
include_nsfwbooleanNotrueDefault true: adult content included (posts from, or communities marked, NSFW); pass false to exclude it.
include_htmlbooleanNofalseAdds body_html (the rendered HTML body) to every post and comment. Default: left out; body_text carries the same text.
translate_tostringNononeReddit’s own machine translation of post titles and bodies (stories: the story text) into this language (default none: original language). Availability varies by post and page: check is_translated on each row. See the allowed values in the API overview .

Response

Real response to GET /content/viral-media (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
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
  "status": true,
  "request_id": "73a1bee2-0c3a-22b7-282b-fd52435c",
  "data": {
    "items": [
      {
        "post_id": "t3_1y45ks8",
        "title": "Grandpa thought his grandson wanted his headphones, but all he really wanted was a warm hug. ❤️",
        "type": "video",
        "permalink": "/r/MadeMeSmile/comments/1y45ks8/grandpa_thought_his_grandson_wanted_his/",
        "post_url": "https://www.reddit.com/r/MadeMeSmile/comments/1y45ks8/grandpa_thought_his_grandson_wanted_his/",
        "url": "https://v.redd.it/ezb7hozc3i3i1",
        "domain": "v.redd.it",
        "subreddit": "MadeMeSmile",
        "subreddit_id": "t5_2uqcm",
        "is_subreddit_nsfw": false,
        "author": "JhonathanwickEx",
        "is_author_deleted": false,
        "author_id": "t2_1vnjpbskql",
        "author_avatar_url": "https://styles.redditmedia.com/t5_f67cb1/styles/profileIcon_wwcmjf8yc91i1.png?width=64&height=64&frame=1&auto=webp&crop=64%3A64%2Csmart&s=c087bcc4d00678ca84ab1f9407687334035d0229",
        "flair": {
          "text": ":snoo_hearteyes: Wholesome Moments :snoo_simple_smile:",
          "background_color": "#AAD2FB"
        },
        "language": "en",
        "is_translated": false,
        "translated_to": null,
        "score": 49433,
        "upvote_ratio": 0.9693,
        "comments_count": 217,
        "awards_count": 18,
        "top_award_id": "award_free_heartwarming",
        "top_award_icon_url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Heartwarming_40.png",
        "created_at": "2026-11-24T06:00:13.539000+00:00",
        "edited_at": null,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_locked": false,
        "is_archived": false,
        "is_crosspost": false,
        "crosspost_parent_id": null,
        "crosspost_parent_subreddit": null,
        "is_highlighted": false,
        "is_ama": false,
        "ama_state": null,
        "ama_starts_at": null,
        "ama_ends_at": null,
        "distinguished": null,
        "removed_by": null,
        "removal_category": null,
        "position": 1,
        "thumbnail_url": null,
        "thumbnail_width": null,
        "thumbnail_height": null,
        "body_text": null,
        "body_media": [],
        "word_count": 0,
        "read_time_seconds": 0,
        "poll": null,
        "media": {
          "type": "video",
          "preview_url": "https://external-preview.redd.it/grandpa-thought-his-grandson-wanted-his-headphones-but-all-v0-NGFhYXdqdGMzaTNpMQE8L3WXG-PD-LT-1ExMhrvCSjiamZJedDZ33y_sNBxu.png?format=pjpg&auto=webp&s=246ca776010c151bae355ad987657fe04e551c32",
          "preview_width": null,
          "preview_height": null,
          "preview_variants": [],
          "alt_text": null,
          "hls_url": "https://v.redd.it/ezb7hozc3i3i1/HLSPlaylist.m3u8?f=sd%2CsubsAll%2ChlsSpecOrder&v=1&a=1798145906%2CNWJkNzUxOTExMTQ3OWUxOWM0ZjI0Y2FkMzczMDBjZjYxOWExZDkzZTcxMWExZWM3MGI4MWY3MTUwM2I5NTUyMQ%3D%3D",
          "video_url": null,
          "poster_url": "https://external-preview.redd.it/grandpa-thought-his-grandson-wanted-his-headphones-but-all-v0-NGFhYXdqdGMzaTNpMQE8L3WXG-PD-LT-1ExMhrvCSjiamZJedDZ33y_sNBxu.png?format=pjpg&auto=webp&s=246ca776010c151bae355ad987657fe04e551c32",
          "captions_url": "https://v.redd.it/ezb7hozc3i3i1/wh_ben_en.vtt",
          "duration_seconds": 24,
          "width": 720,
          "height": 1280,
          "renditions": [
            {
              "url": "https://packaged-media.redd.it/ezb7hozc3i3i1/pb/m2-res_392p.mp4?m=DASHPlaylist.mpd&c=wh_ben_en&var=sgpssan&v=1&e=1795568400&s=75d7c98fb8887a6af834ae71dca4dfa7dbb19b89",
              "width": 220,
              "height": 392,
              "bitrate_bps": 234820,
              "codec": "h264"
            },
            {
              "url": "https://packaged-media.redd.it/ezb7hozc3i3i1/pb/m2-res_480p.mp4?m=DASHPlaylist.mpd&c=wh_ben_en&var=sgpssan&v=1&e=1795568400&s=03bb9b902904b7d8f06d7ffc2297b699bc40f191",
              "width": 270,
              "height": 480,
              "bitrate_bps": 445926,
              "codec": "h264"
            }
          ],
          "embed_html": null,
          "embed_provider": null,
          "gallery": []
        }
      },
      {
        "post_id": "t3_1y4f1q8",
        "title": "Cheetah cubs after a meal",
        "type": "gallery",
        "permalink": "/r/interestingasfuck/comments/1y4f1q8/cheetah_cubs_after_a_meal/",
        "post_url": "https://www.reddit.com/r/interestingasfuck/comments/1y4f1q8/cheetah_cubs_after_a_meal/",
        "url": "https://www.reddit.com/gallery/1y4f1q8",
        "domain": "reddit.com",
        "subreddit": "interestingasfuck",
        "subreddit_id": "t5_2qhsa",
        "is_subreddit_nsfw": false,
        "author": "_404_LogicNotFound_",
        "is_author_deleted": false,
        "author_id": "t2_1rba2vowqb",
        "author_avatar_url": "https://preview.redd.it/snoovatar/avatars/86d6121c-92cf-4192-b90f-6fc6ebe73f3c-headshot.png?width=64&height=64&crop=smart&auto=webp&s=750375ed208d8b34a9addf0085625de13dea4017",
        "flair": null,
        "language": "en",
        "is_translated": false,
        "translated_to": null,
        "score": 46342,
        "upvote_ratio": 0.9767,
        "comments_count": 589,
        "awards_count": 16,
        "top_award_id": "award_free_heartwarming",
        "top_award_icon_url": "https://i.redd.it/snoovatar/snoo_assets/marketing/Heartwarming_40.png",
        "created_at": "2026-11-24T14:45:04.296000+00:00",
        "edited_at": null,
        "is_nsfw": false,
        "is_spoiler": false,
        "is_stickied": false,
        "is_locked": false,
        "is_archived": false,
        "is_crosspost": false,
        "crosspost_parent_id": null,
        "crosspost_parent_subreddit": null,
        "is_highlighted": false,
        "is_ama": false,
        "ama_state": null,
        "ama_starts_at": null,
        "ama_ends_at": null,
        "distinguished": null,
        "removed_by": null,
        "removal_category": null,
        "position": 2,
        "thumbnail_url": null,
        "thumbnail_width": null,
        "thumbnail_height": null,
        "body_text": null,
        "body_media": [],
        "word_count": 0,
        "read_time_seconds": 0,
        "poll": null,
        "media": {
          "type": "gallery",
          "preview_url": "https://preview.redd.it/cheetah-cubs-after-a-meal-v0-rjwqns80pk3i1.png?width=640&crop=smart&auto=webp&s=4889ecca0c552f6ae390d0b32150a41e1bee2bc6",
          "preview_width": null,
          "preview_height": null,
          "preview_variants": [],
          "alt_text": null,
          "hls_url": null,
          "video_url": null,
          "poster_url": null,
          "captions_url": null,
          "duration_seconds": null,
          "width": null,
          "height": null,
          "renditions": [],
          "embed_html": null,
          "embed_provider": null,
          "gallery": [
            {
              "url": "https://i.redd.it/rjwqns80pk3i1.png",
              "caption": null,
              "width": 688,
              "height": 688,
              "mime_type": null,
              "outbound_url": null,
              "preview_variants": []
            },
            {
              "url": "https://i.redd.it/uodyyrf0pk3i1.jpeg",
              "caption": null,
              "width": 972,
              "height": 972,
              "mime_type": null,
              "outbound_url": null,
              "preview_variants": []
            }
          ]
        }
      }
    ],
    "has_next_page": true,
    "next_page_token": "eyJ2IjoxLCJraW5kIjoib2Zmc2V0Iiwic2siOiJjb250ZW50X3ZpcmFsX21lZGlhOjU2NzkyM2JlMTUiLCJvIjoyNSwicSI6bnVsbCwidHMiOjE3OTU1NTM5MDZ9",
    "resolved_filters": {
      "subreddits": [
        {
          "input": null,
          "resolved": "nextfuckinglevel",
          "source": "default"
        },
        {
          "input": null,
          "resolved": "oddlysatisfying",
          "source": "default"
        }
      ],
      "time": "day",
      "include_nsfw": true
    },
    "default_subreddits": [
      "nextfuckinglevel",
      "oddlysatisfying"
    ],
    "computed_at": "2026-11-24T20:58:27.003594+00:00",
    "billed_requests": 2
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectViral media page; null on an input answer.
data.itemsarray of objectsMedia posts ordered by score across the requested communities.
data.items[].post_idstringPost fullname, e.g. t3_z1c9z.
data.items[].titlestringPost title; null when Reddit shows only its removal placeholder ([ Removed by moderator ]…).
data.items[].typestringtext, 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.items[].permalinkstringReddit 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.items[].post_urlstringAbsolute link of the post’s Reddit thread (https://www.reddit.com + permalink), ready to open.
data.items[].urlstringWhere 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.items[].domainstringLink 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.items[].subredditstringSubreddit name without r/.
data.items[].subreddit_idstringSubreddit id (t5_…).
data.items[].is_subreddit_nsfwbooleanThe 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.items[].authorstringAuthor username; [deleted] is reported as null with is_author_deleted true. Only with with_details=true on /post/batch and /answers.
data.items[].is_author_deletedbooleanThe author’s account is deleted (the post may remain).
data.items[].author_idstringAuthor account id (t2_…). Only with with_details=true on /post/batch and /answers.
data.items[].author_avatar_urlstringAuthor avatar URL. Only with with_details=true on the routes that have it; left out on /media/search and /subreddit/multi-posts.
data.items[].flairobjectPost 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.items[].flair.textstringFlair text (emoji shortcodes kept, e.g. :phx-2: Suns).
data.items[].flair.background_colorstringHex background colour (#0079D3) or null when the flair has no colour.
data.items[].languagestringPost language code (listings only). Left out on the routes without a translate_to parameter.
data.items[].is_translatedbooleanReddit machine-translated the title and body (asked with translate_to); null when this endpoint does not report it. Left out on the routes without a translate_to parameter.
data.items[].translated_tostring / nullLanguage code of the translation when is_translated; else null. language stays the original language. Left out on the routes without a translate_to parameter.
data.items[].scoreintegerNet upvotes at fetch time.
data.items[].upvote_ratiofloatUpvote 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.items[].comments_countintegerComment count reported by Reddit.
data.items[].awards_countintegerNumber of awards; present only when the post has awards.
data.items[].top_award_idstringId of the top award, e.g. award_sad_2; present only when the post has awards. For reference; not an input of this API.
data.items[].top_award_icon_urlstringIcon URL of the top award; present only when the post has awards.
data.items[].created_atstringISO-8601 UTC creation time, microsecond precision. Left out on /media/search and on /answers without with_details.
data.items[].edited_atstring / nullISO-8601 UTC last edit; null when never edited. Filled on /post/details; never on /post/batch; the post embedded in /post/comments, /post/export, /post/summary and the other single-post routes leaves it out (read it on /post/details).
data.items[].is_nsfwbooleanMarked NSFW.
data.items[].is_spoilerbooleanMarked spoiler. Only with with_details=true on /post/batch and /answers.
data.items[].is_stickiedbooleanPinned 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.items[].is_lockedbooleanComments locked. Only with with_details=true on /post/batch and /answers (always on /post/search). Left out on /media/search.
data.items[].is_archivedbooleanArchived (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.items[].is_crosspostbooleanThe post is a crosspost. Only with with_details=true on the routes that have it. Left out on /media/search.
data.items[].crosspost_parent_idstring / nullId 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.items[].crosspost_parent_subredditstring / nullSubreddit 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.items[].is_highlightedbooleanHighlighted by the moderators. Served on the listing routes and on /post/details; the post embedded in /post/comments, /post/export, /post/summary and the other single-post routes leaves it out (read it on /post/details), as do the routes that do not have it.
data.items[].is_amabooleanAMA post. Served on the listing routes (subreddit posts, feeds, user activity, content); left out on other routes, such as /post/details, /post/comments, /post/search and /post/batch.
data.items[].ama_statestring / nullState of a scheduled AMA as Reddit reports it; null when the post is not a scheduled AMA. Served on the listing routes (subreddit posts, feeds, user activity, content); left out on other routes, such as /post/details, /post/comments, /post/search and /post/batch.
data.items[].ama_starts_atstring / nullISO-8601 UTC start of a scheduled AMA; else null. Served on the listing routes (subreddit posts, feeds, user activity, content); left out on other routes, such as /post/details, /post/comments, /post/search and /post/batch.
data.items[].ama_ends_atstring / nullISO-8601 UTC end of a scheduled AMA; else null. Served on the listing routes (subreddit posts, feeds, user activity, content); left out on other routes, such as /post/details, /post/comments, /post/search and /post/batch.
data.items[].distinguishedstring / nullmoderator or admin when the post is distinguished; else null. Only with with_details=true on the routes that have it.
data.items[].removed_bystring / nullWho 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.items[].removal_categorystring / nullReddit’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.items[].positioninteger1-based rank across all pages of this result.
data.items[].thumbnail_urlstring / nullThumbnail URL.
data.items[].thumbnail_widthinteger / nullThumbnail pixel width; null when this endpoint does not carry it. Only with with_details=true on the routes that have it.
data.items[].thumbnail_heightinteger / nullThumbnail pixel height; null when this endpoint does not carry it. Only with with_details=true on the routes that have it.
data.items[].body_textstring / nullSelf text as plain text. Only with with_details=true on the routes that have it. Left out on /post/crossposts, /post/by-url and /subreddit/multi-posts. Left out on /media/search.
data.items[].body_mediaarrayImages 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.items[].word_countintegerWords in the post body (0 without a body). Present only on the community listings, the Reddit-wide feeds and the content endpoints.
data.items[].read_time_secondsintegerReading time of the body at 230 words per minute. Present with word_count.
data.items[].pollobject / nullPoll options and totals (poll posts only). Only with with_details=true on the routes that have it.
data.items[].mediaobjectMedia renditions and URLs. Hosted-video URLs are signed and expire within about a day: download promptly.
data.items[].media.typestringMedia kind: image, video, gif, gallery, embed or null.
data.items[].media.preview_urlstringLargest still preview URL.
data.items[].media.preview_widthinteger / nullPreview pixel width.
data.items[].media.preview_heightinteger / nullPreview pixel height.
data.items[].media.preview_variantsarrayEvery size Reddit renders of the preview image, smallest first; empty when this endpoint does not carry them.
data.items[].media.alt_textstring / nullImage description the author set for screen readers; null when none.
data.items[].media.hls_urlstringHLS playlist (.m3u8) for hosted video.
data.items[].media.video_urlstring / nullPlayer 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.items[].media.poster_urlstringVideo poster image.
data.items[].media.captions_urlstringWebVTT captions URL when available.
data.items[].media.duration_secondsintegerVideo duration in seconds.
data.items[].media.widthintegerVideo pixel width (a hosted video’s full size, or the embed player’s size).
data.items[].media.heightintegerVideo pixel height (a hosted video’s full size, or the embed player’s size).
data.items[].media.renditionsarray of objectsMP4 renditions with bitrate and size (hosted video only).
data.items[].media.renditions[].urlstringSigned MP4 URL (expires in about a day — never cache).
data.items[].media.renditions[].widthintegerPixel width.
data.items[].media.renditions[].heightintegerPixel height.
data.items[].media.renditions[].bitrate_bpsintegerBitrate in bits per second.
data.items[].media.renditions[].codecstringVideo codec (e.g. h264).
data.items[].media.embed_htmlstring / nulloEmbed iframe HTML for third-party embeds (YouTube, Streamable…).
data.items[].media.embed_providerstring / nullEmbed provider name, e.g. YouTube or Streamable; null on Reddit-hosted media.
data.items[].media.galleryarrayGallery images in page order.
data.has_next_pagebooleanMore posts available.
data.next_page_tokenstringToken for the next page; null at the end.
data.resolved_filtersobjectFilters as applied.
data.resolved_filters.subredditsarray of objectsOne entry per requested community, in the order given; source is param, default (maintained list) or not_found/the community state when skipped. resolved: null with source param/default means the community was skipped this time.
data.resolved_filters.subreddits[].inputstring / nullWhat the caller sent.
data.resolved_filters.subreddits[].resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.subreddits[].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.timestringWindow applied.
data.resolved_filters.include_nsfwbooleanWhether NSFW posts were kept.
data.default_subredditsarray of stringThe maintained default list, present only when subreddits was omitted.
data.computed_atstringWhen this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache.
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).
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
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later
200 with status: falseBad page tokenerror.code is invalid_page_token: pass next_page_token from the previous answer unchanged

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/content/viral-media"

params = {

}

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"]

for item in data["items"]:
    print(item["title"], item["subreddit"])
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/content/viral-media";

const params = new URLSearchParams({

});

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();
data.items.forEach((item) => console.log(item.title, item.subreddit));
1
2
3
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/content/viral-media" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  • Stories : Long-form text stories from story communities, ready to narrate
Start building today

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

Get Your API Key on RapidAPI