Reddit
GET /v1/reddit/search

Reddit Search API

Reddit site-wide post search — sort + timeframe + cursor, score/upvoteRatio, authorFullname. Flat 2 credits.

2 credits per request
TL;DR
Reddit site-wide post search — sort + timeframe + cursor, score/upvoteRatio, authorFullname. Flat 2 credits. The Reddit Search API (Reddit) is a single authenticated GET request to /v1/reddit/search that responds with clean JSON and costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Reddit Search API?

Pass a keyword and get matching public posts across Reddit as clean JSON. Sort with sort=relevance|new|top|hot|comments (alias comment_count); for top/comments use timeframe=hour|day|week|month|year|all (default all). The response echoes sort and timeframe. Each result includes id/name (t3_…), title, text, subreddit, author + authorFullname (t2_…), Reddit's authoritative score (not ups−downs), upvotes/downs/upvoteRatio, scoreHidden when Reddit hides the score, comments, subscriberCount, totalAwardsReceived, isVideo, ISO publishedAt, flair, nsfw, and thumbnail. Cursor pagination via nextCursor/hasMore. This endpoint returns posts only — not a comments[] or media[] search surface. Flat 2 credits. Pass cache=true for the 24h shared cache.

What you get

  • sort + timeframe echo (relevance/new/top/hot/comments × hour…all)
  • authorFullname (t2_…) + authoritative score + upvoteRatio + scoreHidden
  • isVideo + totalAwardsReceived; flair/nsfw/thumbnail; subscriberCount
  • Cursor pagination (nextCursor + hasMore); ISO publishedAt

Platform limits

Honest ceilings from the upstream platform surface — not Captapi bugs. Unexpected truncation here is usually the platform, not us.

  • Posts only (kind=t3). ScrapeCreators returns posts + comments[] + media[] from a richer search surface — comment brand listening needs a separate comments path (not this endpoint).
  • Public JSON almost always zeros downs. New posts with hide_score can show score/upvotes 0 while upvoteRatio is still set — use scoreHidden and do not treat score 0 as worthless until the hide window ends.

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/reddit/search?q=james%20webb" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

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

Example response

{
  "success": true,
  "data": {
    "query": "james webb",
    "sort": "relevance",
    "timeframe": null,
    "totalReturned": 5,
    "nextCursor": "t3_1s1neio",
    "hasMore": true,
    "results": [
      {
        "platform": "reddit",
        "id": "1rh4u8o",
        "name": "t3_1rh4u8o",
        "url": "https://www.reddit.com/r/todayilearned/comments/1rh4u8o/til_the_james_webb_space_telescope_has_found_over/",
        "title": "TIL the James Webb Space Telescope has found over 300 \"Little Red Dots\", objects that existed between 13.2 an 12.2 billion years ago, and whose nature is currently uncertain",
        "text": null,
        "subreddit": "todayilearned",
        "author": "brazzy42",
        "authorFullname": "t2_mh77j",
        "upvotes": 13637,
        "score": 13637,
        "downs": 0,
        "upvoteRatio": 0.98,
        "scoreHidden": false,
        "comments": 204,
        "subscriberCount": 41571692,
        "totalAwardsReceived": 0,
        "isVideo": false,
        "publishedAt": "2026-02-28T15:03:10.000Z",
        "flair": null,
        "nsfw": false,
        "thumbnail": "https://external-preview.redd.it/jv4EtU_QZlM0w1ZSlNWfvuzvkL-FJ00HGsTsl07LPss.jpeg?width=140&height=139&auto=webp&s=94311e1eec8a572c48b01d8b5cbae2f371396318"
      },
      {
        "platform": "reddit",
        "id": "1ucll2e",
        "name": "t3_1ucll2e",
        "url": "https://www.reddit.com/r/worldnews/comments/1ucll2e/james_webb_telescope_detects_galaxykilling_wind/",
        "title": "James Webb telescope detects 'galaxy-killing wind' near the dawn of time",
        "text": null,
        "subreddit": "worldnews",
        "author": "shdw_fght",
        "authorFullname": "t2_4zuqklab",
        "upvotes": 1472,
        "score": 1472,
        "downs": 0,
        "upvoteRatio": 0.97,
        "scoreHidden": false,
        "comments": 160,
        "subscriberCount": 47507091,
        "totalAwardsReceived": 0,
        "isVideo": false,
        "publishedAt": "2026-06-22T14:08:15.000Z",
        "flair": null,
        "nsfw": false,
        "thumbnail": "https://external-preview.redd.it/MvcbMbmZOw99iMdDsy1JbsvZKf_5VGs-WQ1y5lrYGwo.jpeg?width=140&height=78&auto=webp&s=ff7d6360b316c1006ac4c27398dfc41df784e772"
      }
    ]
  }
}

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:

Top-level fields

  • queryThe search query you sent.
  • sortSort. Example: "relevance".
  • timeframeTimeframe.
  • totalReturnedNumber of items returned in this response.
  • nextCursorCursor to pass for the next page of results. May be null when the platform does not expose deep pagination (e.g. some Facebook Ad Library searches).
  • hasMoreWhether more results are available beyond this page. When true, pass nextCursor to fetch the next page.

Results

Each item in results contains:

  • platformPlatform identifier for this response (matches the endpoint's platform).
  • idStable platform ID for the item.
  • nameName of the item or account. On profile endpoints: deprecated alias of displayName (one release).
  • urlCanonical URL of the item.
  • titleTitle of the item.
  • textText content.
  • subredditSubreddit the post belongs to.
  • authorAuthor name or handle.
  • authorFullnameStable Reddit account fullname (t2_…). Prefer this over author for joins.
  • upvotesReddit ups when present (usually equals score). Not a substitute for score when hide_score zeros both.
  • scoreReddit's authoritative post score field (not ups−downs). Public JSON almost always zeros downs; when scoreHidden is true Reddit may return 0 here while upvoteRatio is still set.
  • downsDownvote count when Reddit exposes it (almost always 0 on public JSON).
  • upvoteRatioUpvote ratio 0–1 when Reddit exposes it — useful controversy signal even when score is hidden.
  • scoreHiddentrue when Reddit hide_score is set (new posts). score/upvotes may be 0 until the hide window ends.
  • commentsComment count.
  • subscriberCountSubscriber count (channel, subreddit, or similar).
  • totalAwardsReceivedTotal awards received. Example: 0.
  • isVideoWhether the item is a video.
  • publishedAtPublish date (ISO 8601) when the platform exposes an absolute timestamp.
  • flairPost flair.
  • nsfwWhether the content is marked NSFW.
  • thumbnailThumbnail image URL.

Parameters

NameTypeRequiredDescription
qstringYesKeyword or phrase to search Reddit posts site-wide (min 2 characters).
sortstringNorelevance (default) | new | top | hot | comments (alias: comment_count).
timeframestringNoFor sort=top or comments: hour | day | week | month | year | all (default all).
limitintegerNoMax items to return (default 25, max 200). Flat 2 credits per call.
cursorstringNoPagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool reddit_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/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 Search API do?+

The Reddit Search API lets you search and return matching results from a public Reddit query using one GET request to /v1/reddit/search. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Reddit Search API cost?+

Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. 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, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Why can score be 0 when upvoteRatio is 0.36?+

score is Reddit's own score field — Captapi does not compute ups−downs (public JSON almost always sends downs: 0). New posts often have hide_score: score/upvotes stay 0 while upvoteRatio is still filled. Check scoreHidden; do not treat a zero score as worthless until the hide window ends.

Can I search comments, not just posts?+

Not on this endpoint — results are posts only (kind=t3). For discussion text under a known post, use Post Comments. Site-wide comment search (ScrapeCreators-style comments[]) is a separate surface on the backlog.

Is the Reddit Search API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More Reddit APIs

Ready to use the Reddit Search API?

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