How to run a Reddit subreddit search
GET request to /v1/reddit/subreddit-search with your input. You get clean JSON back in seconds for 10 credits per call — no OAuth, scraping or platform SDKs. Search Reddit programmatically and get structured, ranked results.How to run a Reddit subreddit search (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Reddit Subreddit Search API
Send an authenticated GET request to /v1/reddit/subreddit-search with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Results are cached for 24 hours, so repeat calls are free.
Code example
curl "https://api.captapi.com/v1/reddit/subreddit-search?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Ftechnology%2F&q=skincare" \
-H "Authorization: Bearer capt_live_..."What the response looks like
{
"success": true,
"cached": false,
"creditsUsed": 10,
"data": {
"subreddit": "space",
"query": "moon",
"totalReturned": 5,
"results": [
{
"platform": "reddit",
"id": "1shxxxy",
"url": "https://www.reddit.com/r/space/comments/1shxxxy/artemis_ii_is_returning_home_today_join_us_in_our/",
"title": "Artemis II is returning home today. Join us in our live r/space megathread (pinned to the top of our sub) as the crew re-enters Earth and splashes down in less than 4 hours from now, concluding their historic Moon mission",
"text": "The above is a real live pic as Orion speeds up in its return to a beautiful looking Earth. The Artemis II crew is estimated to splash down at 5:07 PM P.T.. Join us over on our live megathread! - [https://www.reddit.com/r/space/comments/1s9qfc7/megathread\\_artemis\\_ii\\_launch\\_to\\_the\\_moon/](https://www.reddit.com/r/space/comments/1s9qfc7/megathread_artemis_ii_launch_to_the_moon/)",
"subreddit": "space",
"author": "ChiefLeef22",
"upvotes": 6308,
"comments": 29,
"publishedAt": "2026-04-10T20:18:09.000Z",
"flair": "image/gif",
"nsfw": false,
"thumbnail": "https://preview.redd.it/x1ap8ibj8fug1.png?width=140&height=85&auto=webp&s=8ba84f4914a2409ca8f596f07eef17c7be7c3f9c"
},
{
"platform": "reddit",
"id": "1se3g83",
"url": "https://www.reddit.com/r/space/comments/1se3g83/reminder_in_just_1_hour_from_now_nasa_coverage_of/",
"title": "REMINDER: In just 1 hour from now, NASA coverage of Artemis II's historic Moon Flyby will begin. Join us all live in our r/space Artemis II MEGATHREAD (pinned at the top of the subreddit) to share in the discussion and excitement of this monumental occasion!",
"text": "Yes - the above is a real picture from just the last hour! \n \nIn just under an hour from now (1 PM Eastern Time), NASA will begin live coverage of the historic lunar flyby of Artemis II - and the farthest humans have ever gone in space (breaking Apollo 13's record).\n\nMake sure to join in as everyone follows and discusses this historic event live in our Artemis II MEGATHREAD - [https://www.reddit.com/r/space/comments/1s9qfc7/megathread\\_artemis\\_ii\\_launch\\_to\\_the\\_moon/](https://www.reddit.com/r/space/comments/1s9qfc7/megathread_artemis_ii_launch_to_the_moon/)",
"subreddit": "space",
"author": "ChiefLeef22",
"upvotes": 4964,
"comments": 24,
"publishedAt": "2026-04-06T16:17:09.000Z",
"flair": "image/gif",
"nsfw": false,
"thumbnail": "https://preview.redd.it/nd5tgjbzgltg1.png?width=140&height=70&auto=webp&s=799a1cabcc9b8fed2d7337bd280a521ff1a2e753"
},
{
"platform": "reddit",
"id": "3g2k8a",
"url": "https://www.reddit.com/r/space/comments/3g2k8a/a_photo_of_fallen_astronaut_an_aluminium/",
"title": "A photo of 'Fallen Astronaut' - an aluminium sculpture placed on the moon in 1971, to commemorate those who fell in the pursuit of the exploration of space. [X-post from /r/UnusualArt]",
"text": null,
"subreddit": "space",
"author": "KarmaNeutrino",
"upvotes": 8908,
"comments": 480,
"publishedAt": "2015-08-07T00:11:44.000Z",
"flair": "/r/all",
"nsfw": false,
"thumbnail": "https://b.thumbs.redditmedia.com/98wCjzuhn8VtpWkGnIM2CpE-vpRMEhAq-mUcLZZm8cs.jpg"
},
{
"platform": "reddit",
"id": "1s9qfc7",
"url": "https://www.reddit.com/r/space/comments/1s9qfc7/megathread_artemis_ii_launch_to_the_moon/",
"title": "[MEGATHREAD] Artemis II Launch To The Moon",
"text": "This is the official r/space live megathread for NASA's Artemis II mission - **the first crewed launch of NASA’s SLS (Space Launch System) rocket and Orion spacecraft.**\n\nFor the first time in more than 50 years, humans will travel around the moon to test deep-space life-support systems.\n\nLIVE VIEWING FEEDS:\n\n\\[OFFICIAL NASA\\] [ NASA’s Artemis II Crew Comes Home (Official Broadcast) ](https://m.youtube.com/watch?v=nfhDuOHMp0A)\n\n\\[NASASpaceflight\\] [ Artemis II Astronauts Return To Earth - Re-entry and Splashdown ](https://m.youtube.com/watch?v=_veRvxj-5VQ&pp=ygUPbmFzYXNwYWNlZmxpZ2h0)\n\n\\[SKY NEWS\\] [No Commentary Broadcast](https://www.youtube.com/watch?v=yByKVNdBDBw)\n\n\\---------------------\n\n**NOTE:** This thread will contain links to multiple different live viewing channels. The sub will remain in manual approval mode during the mission to limit spam. As such, you are welcome to redirect anything you want to post separately in this time period to the comment section in this megathread.\n\n\\---------------------\n\nARTEMIS LIVE TRACKER - [https://www.reddit.com/r/space/s/ROkGU4c5SD](https://www.reddit.com/r/space/s/ROkGU4c5SD) (courtesy of u/theneiljohnson)\n\n**MISSION INFO:** At 6:24pm EDT (22:24 GMT) on Wednesday, a two-hour window will open for the Artemis II mission to lift off from the Kennedy Space Center in Florida. The launch window will remain open until April 6 for two hours each day after sunset. The mission can launch only when the moon, orbital paths, weather and Earth’s rotation line up safely.\n\nThis is the third launch attempt for Artemis II, after the first attempt was scrubbed due to a liquid hydrogen leak during a practice countdown in early February, and the second attempt was cancelled when engineers discovered a helium flow issue in the rocket’s upper stage in early March\n\nThe four-person crew will not land on the moon but rather perform a lunar flyby, looping around the moon’s far side before returning to Earth. At its core, Artemis II is a systems validation mission. NASA will use the flight to test the Orion spacecraft’s life support systems, navigation, communication links and overall performance in deep space with a crew on board – conditions that cannot be fully replicated on Earth. If successful, Artemis II will pave the way for Artemis III, a crewed low Earth orbit mission; then Artemis IV, which aims to land astronauts on the moon; and future missions that could establish a sustained human presence beyond Earth.\n\n\\---------------------\n\n# UPDATES:\n\nT-1 hour 14 minutes: They have fixed an issue at the flight termination system, the range is a go!\n\nT-10 minutes: After some hold, it looks like its still a go!\n\nT-0: LIFTOFF! YOU WERE HERE! HISTORY IN THE MAKING\n\nLow earth orbit insertion successful! Happy monitoring to everyone over this 10 day journey\n\nNEXT UP: **Perigee Raise Burn**\n\nAfter a four-hour nap, the Artemis II crew will be awakened at 7 a.m. EDT on Thursday, April 2, to prepare for the perigee raise burn. This burn will lift the lowest point of Orion’s orbit around Earth. Together with the apogee raise burn completed earlier, these burns shape the spacecraft’s initial orbit and prepare it for later translunar operations. The crew then will resume their sleep period around 9:40 a.m.\n\n\\---PRB is now complete. Translunar Injection will begin no earlier than **7PM EDT**\n\n\\----TLI Is now also complete - we're on the way to moon!\n\nNext up - Lunar Flyby on Monday....\n\n\\----- Lunar flyby complete! What a monumental day in history. Apollo 13's distance record broken, and the dawn of a new era of space exploration\n\nOrion is set to splash down at 5:07 PM P.T., today\n\n\\---The crew are safely back home! A historic mission concludes. It feels a little surreal to think we could all witness this journey live, and this megathread has been an amazing example of that.",
"subreddit": "space",
"author": "ChiefLeef22",
"upvotes": 10319,
"comments": 17491,
"publishedAt": "2026-04-01T17:00:55.000Z",
"flair": "LIVE MEGATHREAD",
"nsfw": false,
"thumbnail": null
},
{
"platform": "reddit",
"id": "1f4quhp",
"url": "https://www.reddit.com/r/Damnthatsinteresting/comments/1f4quhp/japans_ispace_hakutor_lander_captured_this_photo/",
"title": "Japan’s iSpace HAKUTO-R lander captured this photo from the Moon while a solar eclipse was occurring.",
"text": "If you look closely at Earth you can see the Moon’s shadow passing over Australia .",
"subreddit": "Damnthatsinteresting",
"author": "Same_Investigator_46",
"upvotes": 5002,
"comments": 57,
"publishedAt": "2024-08-30T09:18:02.000Z",
"flair": "Image",
"nsfw": false,
"thumbnail": "https://b.thumbs.redditmedia.com/So_ZpczWkTOMv2noNJLqPFrB1Op1wXuT5blK1oOHCuU.jpg"
}
]
}
}Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Subreddit URL, r/name, or bare name, e.g. r/technology. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| q | string | Yes | Keywords or search query (min 2 characters). |
| limit | integer | No | Max items to return (default 25, max 200). Billed per result. |
Frequently asked questions
What does the Reddit Subreddit Search API do?
The Reddit Subreddit Search API lets you search and return matching results from a public Reddit query using one GET request to /v1/reddit/subreddit-search. It returns clean JSON — no OAuth or scraping setup required.
How many credits does the Reddit Subreddit Search API cost?
Each successful call costs 10 credits. Responses are cached for 24 hours, and cached results cost 0 credits. Failed or empty results are never charged.
Do I need a Reddit API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, and Rumble. We handle proxies, rate limits, retries, and authentication for you.
Is the Reddit Subreddit Search API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON, automatic retries, and a shared 24-hour cache. Use it for RAG pipelines, analytics, monitoring, and content automation.
Ready to run a Reddit subreddit search?
Start free with 100 credits — no credit card required.
Get your free API key