Reddit
GET /v1/reddit/subreddit-search

Reddit Subreddit Search API

Search Reddit programmatically and get structured, ranked results.

10 credits per request (0.4 per result)
TL;DR
Search Reddit programmatically and get structured, ranked results. The Reddit Subreddit Search API (Reddit) is a single authenticated GET request to /v1/reddit/subreddit-search that responds with clean JSON, costs 10 credits, and is cached for 24 hours (repeat calls are free). Start with 100 free credits — no credit card.

What is the Reddit Subreddit Search API?

The Reddit Subreddit Search API lets you search and return matching results from Reddit with a single REST call. No OAuth, no scraping infrastructure, and no platform SDKs — send the URL, get clean structured JSON back. Results are cached for 24 hours, so repeat lookups are instant and free.

What you get

  • Ranked, structured result list
  • Title, URL, author, and thumbnail per result
  • Engagement metrics where available
  • Configurable result limit

Try it

Fill in the parameters below and copy a ready-to-run request in your language of choice.

Parameters

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_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "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"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Result

  • totalNumber of results returned.

Each result

Each item in results contains:

  • titleResult title.
  • urlDirect URL to the content.
  • authorCreator handle.
  • viewsView count where available.

Parameters

NameTypeRequiredDescription
urlstringYesSubreddit 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.
qstringYesKeywords or search query (min 2 characters).
limitintegerNoMax items to return (default 25, max 200). Billed per result.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 10 credits — billed per result, so the exact amount scales with how many items you request. Repeat calls for the same request are served from cache for free (metrics refresh within ~1 hour).

Using an AI agent? This endpoint is the MCP tool reddit_subreddit_search via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/reddit/subreddit-search and parse the JSON response.

Use cases

Trend Discovery

Find trending content by keyword or hashtag.

Content Sourcing

Build feeds and playlists programmatically.

Monitoring

Track topics, brands, and competitors.

Research

Sample large sets of content for analysis.

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.

More Reddit APIs

Ready to use the Reddit Subreddit Search API?

Sign up, grab your key, and make your first call in 60 seconds.