Reddit API Cloud · GET · JSON
From an archived feedback sample to a SaaS research feature

Questions about this page
What should count as an accepted integration?
A teammate can open a research view, request archived SideProject examples about feedback, and save a note about what to investigate next.
Which decisions belong on my backend?
Authorize the teammate in your own backend before issuing the retrieval.
Why start with a deliberately small request?
Use https://api.redditapicloud.com/v1/search?q=feedback&subreddit=SideProject&limit=3.
How do I keep my annotations separate from the source?
Validate data before reading optional title and text fields, render them as text and retain the query alongside the received material if your feature saves it.
How should I budget additional requests?
Content limit and page range from 1 to 100, with one page per request.
Which behaviors should I test before releasing the feature?
Try an authorized and an unauthorized user, an empty result, missing fields and an interrupted response.
What is Reddit API Cloud?
Reddit API Cloud is an independent read-only service for retrieving available archived Reddit posts and comments as JSON. Authenticate with the key for this site and choose a documented search or lookup route. It is not official Reddit, live access or a complete export of a community.
How much does Reddit API Cloud cost?
The price is $1 per 1,000 successful requests. The minimum top-up is $50 for 50,000 credits. Each successful request uses one credit, even when it returns no matching records. Invalid requests are not charged; upstream failures trigger a refund, which can require reconciliation. A timeout alone does not establish the final billing outcome.
Write the acceptance sentence first
A teammate can open a research view, request archived SideProject examples about feedback, and save a note about what to investigate next. That is a useful acceptance sentence because it describes observable product behavior. It does not promise representative market research, current opinions or an automatically generated product roadmap.
This service provides an independent historical Reddit archive accessible via a REST API, distinct from official Reddit services. It does not operate as a live stream nor does it hold any formal endorsement from Reddit, Inc. The data is pre-indexed and stored, allowing teams to search historical posts and comments without maintaining their own Elasticsearch cluster infrastructure.
Keep a user action between the browser and the archive
Authorize the teammate in your own backend before issuing the retrieval. The archive account authenticates your server, not each customer of your SaaS. Retrieve the saved domain-specific key from server configuration and use either Authorization: Bearer <key> or X-API-Key: <key>. Do not send it to the browser alongside the records.
Decide whether opening a saved note should display the response you retained or trigger another paid search. Implementing a local saved view is your application work; the hosted archive does not provide workspace permissions, storage for those notes or a dedicated cluster for your product.
Test the exact question with three records
Use https://api.redditapicloud.com/v1/search?q=feedback&subreddit=SideProject&limit=3. The homepage explains the parameters and shows a synthetic empty response. Search may return posts and comments when kind is omitted. q searches title and text; multiple terms use AND within a matching field. It is not a phrase, semantic-similarity or sentiment interface.
For a date-bounded feature, from and to use YYYY-MM-DD in UTC on created_utc and include the full final day. They do not describe ingestion time. min_score filters a numeric threshold without sorting or assessing advice quality. Internal _doc order is not chronology, relevance or score. Your local sort only reorders what arrived and cannot recover absent records.
Separate source material from a teammate's conclusion
Validate data before reading optional title and text fields, render them as text and retain the query alongside the received material if your feature saves it. Flat records can be grouped locally when parent_id or link_id is present; gaps remain gaps, without a promise of complete conversations. A label such as a product theme is your team's interpretation, not a classification supplied by the archive.
Give an empty result its own display and preserve the distinction from a failed request. If the teammate changes the question, record the new query instead of silently merging samples into one supposedly representative result. Repeated retrieval need not return identical records.
Put a ceiling on the action, including retries
Content limit and page range from 1 to 100, with one page per request. One click in your product can cause several separately charged requests if you build automatic paging or context lookups. Define your own maximum calls and delayed retry policy. These are controls you implement, not per-customer quotas supplied by the archive. Smaller date windows do not establish complete coverage or unique records.
Read total with relation: eq means an exact query total, gte a lower bound and unknown an unreliable or null total. An empty deeper page can have unknown rather than zero. Preserve has_more and window_exhausted and stop at supported page boundaries. Neither an exact total nor an exhausted local job proves that every matching historical record has been retrieved.
Every successful request, including an empty page, costs one credit at $1 per 1000. If the client loses a response after server success, the credit may still be spent; a successful retry spends another. Invalid requests do not debit and upstream failures refund the reservation. Reprocessing a saved response locally avoids another retrieval, but does not undo the original charge.
Release after behavior checks, not a green status alone
Try an authorized and an unauthorized user, an empty result, missing fields and an interrupted response. Check 400 for parameters, 401 for the key, 402 for balance and 429 for rate limits; use bounded delays where a retry is appropriate. Public /v1/status reports static scope and application responsiveness, not upstream search health.
Review whether the pilot genuinely helps the planning discussion before exposing it more widely. Keep your own server, retention decisions and customer permissions in the release plan. Use the key page for credentials and the pricing page for a $50 minimum top-up; neither account creation nor payment establishes that this research feature is ready.
Make your first authenticated request
Create an account, copy the key shown at the top of the account page, and put it in a server environment variable. The three examples below request the same small page. Inspect the HTTP status before using the JSON; keep credentials out of browser bundles, shared notebooks and request logs.
cURL
curl --get --fail-with-body 'https://api.redditapicloud.com/v1/search' \
-H "Authorization: Bearer ${REDDIT_API_KEY}" \
--data-urlencode 'q=feedback' \
--data-urlencode 'subreddit=SideProject' \
--data-urlencode 'limit=3'Python
import json
import os
from urllib.parse import urlencode
from urllib.request import Request, urlopen
params = urlencode({"q":"feedback","subreddit":"SideProject","limit":"3"})
request = Request(
"https://api.redditapicloud.com/v1/search?" + params,
headers={"Authorization": "Bearer " + os.environ["REDDIT_API_KEY"]},
)
with urlopen(request, timeout=20) as response:
payload = json.load(response)
print(payload["pagination"])
print(payload["data"])Node.js 18+
// Node.js 18+ · example.mjs
const parameters = new URLSearchParams({"q":"feedback","subreddit":"SideProject","limit":"3"});
const response = await fetch(
"https://api.redditapicloud.com/v1/search?" + parameters,
{headers: {Authorization: "Bearer " + process.env.REDDIT_API_KEY}}
);
if (!response.ok) throw new Error("HTTP " + response.status);
const payload = await response.json();
console.log(payload.pagination);
console.log(payload.data);Read the response before building a table
This is an illustrative empty successful response, not a live query result. An empty page still costs one credit. Read data, pagination and credits separately; a total must always be interpreted with relation. The balance shown is an example after one eligible trial request.
{
"data": [],
"pagination": {
"page": 1,
"limit": 3,
"total": 0,
"relation": "eq",
"has_more": false,
"window_exhausted": false,
"truncated": false
},
"credits": {
"cost": 1,
"balance": 4999
}
}Response
Inspect the actual objects before assuming a column exists. Keep omitted values, null and empty strings distinct. Relationship fields, when returned, may help with local grouping; they do not establish a complete thread. Preserve the raw response so a revised mapping can be tested without paying to fetch it again.
Combine ordinary text with an exact community and a UTC date window. Keep the nonsecret query parameters with the saved response. Limit controls the page size, page selects a bounded offset, and min_score is a filter rather than a sorting option. A page order is not a chronological or relevance ranking.
Six routes, one read-only API contract
Choose the route for the object you need. Search selects posts and comments; posts and comments constrain the record kind. Item looks up a known id. Subreddits returns matching community names rather than a complete community dataset. Status is an uncharged service-scope response and does not test search availability.
| Method | API | Use |
|---|---|---|
GET | /v1/search | Search posts and comments |
GET | /v1/posts | Posts only |
GET | /v1/comments | Comments only |
GET | /v1/item | One known record id |
GET | /v1/subreddits | Community names by prefix |
GET | /v1/status | Service scope; no charge |
Set the boundaries of a collection job
Combine ordinary text with an exact community and a UTC date window. Keep the nonsecret query parameters with the saved response. Limit controls the page size, page selects a bounded offset, and min_score is a filter rather than a sorting option. A page order is not a chronological or relevance ranking.
| Parameter | Meaning |
|---|---|
q | Text in title and text |
subreddit | Exact community spelling |
author | Exact author value |
kind | post or comment |
from / to | YYYY-MM-DD, UTC; end day included |
min_score | Minimum score, not sorting |
limit / page | Both range from 1 to 100 |
prefix / id | Route-specific name prefix or known id |
Map observed fields deliberately
Inspect the actual objects before assuming a column exists. Keep omitted values, null and empty strings distinct. Relationship fields, when returned, may help with local grouping; they do not establish a complete thread. Preserve the raw response so a revised mapping can be tested without paying to fetch it again.
| Parameter | Meaning |
|---|---|
id | Keep the source identifier |
kind | Inspect the record kind |
subreddit | Preserve the returned community name |
title / text | Treat missing, null and empty separately |
created_utc / score | Check numeric values before conversion |
parent_id / link_id | Optional links; group locally if present |
Where this archive API fits
Use this service when your task starts with reading available historical records. A live feed, posting, editing, voting or a server-built thread requires a different integration. Direct page scraping and official Reddit access have their own behaviour and requirements; this endpoint does not impersonate either interface or promise their coverage.
How do search, posts and comments differ?
Use /v1/search for the supported search across record kinds. /v1/posts and /v1/comments add a post or comment constraint. They share the documented search filters; /v1/item is the separate route for a known id. None of these routes creates, edits or deletes Reddit content.
How is this different from scraping Reddit pages?
You request structured historical records through the documented routes instead of downloading current HTML and extracting page elements. This avoids making your loader depend on page markup. It does not provide a live proxy, browser session, official OAuth compatibility or a promise of complete historical coverage.
Documentation
Protected reads and the public status exception
Protected reads use GET under https://api.redditapicloud.com with X-API-Key: <key> or Authorization: Bearer <key>. Both alternatives carry this domain's archive key, not a Reddit OAuth token. Keep the secret server-side. The account panel's Secure HttpOnly session cookie is separate from retrieval authentication. Your product's user sessions and permission checks remain your application's responsibility.
/v1/search searches posts and comments. /v1/posts constrains results to posts and /v1/comments to comments. All three accept q, subreddit, author, kind, from, to, min_score, limit and page, not id. kind accepts post or comment; omit it to allow both through search. q is text search, without arbitrary query DSL, sentiment classification or server-side custom analytics.
/v1/item?id=... requires id only and looks for one archived record, which may be absent. It does not walk parents or replies. /v1/subreddits accepts prefix and limit only for community-name discovery, without page traversal or guaranteed globally exact counts. /v1/status is public and uncharged: its static scope disclosure confirms that the HTTP application responds, without checking search availability, record freshness, key validity or balance.
Date filters and records your feature can display
from and to accept YYYY-MM-DD in UTC and filter created_utc, not when a record entered the archive. The complete final to day is included. These are day filters, not intraday cursor values. If you divide work by date, record the actual bounds and distinguish your job's processing time from source creation time. Such partitioning does not prove exhaustive retrieval or a schedule of archive updates.
min_score sets a numeric score threshold without sorting or assessing advice quality. Retrieval follows internal _doc order, not chronology, relevance or score. Reordering received records locally is an application decision and does not establish full coverage or stable results. Keep source fields separate from labels or scores calculated by your own research feature.
Responses return flat records rather than pre-assembled thread trees. When parent_id or link_id fields exist in the data, your client can optionally group them locally to reconstruct conversations, but the server does not guarantee complete ancestry or a full thread hierarchy. Responses contain data, pagination and credits. Individual fields may be missing or vary. Your application must validate what arrived rather than assuming a fixed schema or complete context.
Page boundaries, totals and failure handling
Content routes accept limit and page from 1 to 100, one page per request. A series of calls does not guarantee 10000 distinct records or a complete dataset. There is no page=101 for the same query. A product action can trigger several paid calls if your application adds paging or lookups. Bound those calls yourself; the archive does not supply your SaaS customer roles or spending policy.
Read pagination.total with relation: eq means an exact query total, gte a lower bound and unknown no reliable total, possibly null. An empty page after page one can return unknown rather than a count of zero. An exact total does not prove that all matches were downloaded or that the archive contains all history. Preserve returned has_more and window_exhausted as boundary signals, not unlimited-export tokens.
HTTP 400 concerns invalid parameters, 401 a missing or invalid key, 402 insufficient credits and 429 a frequency limit. Invalid requests do not debit; upstream failures refund reservations. Every successful retrieval costs one credit, even empty or repeated. Response loss may conceal a billed success, and a local processing failure does not refund it. Save the received response before advancing local progress and budget successful retries separately.
Keeping and replacing your key
API key
Your API key is stored encrypted and is available after sign-in. Keep it private.
Keep the key on your server. Regeneration immediately disables the previous key. Your credits and account remain available.
Recovering account access
Save this one-time code privately. You need your email and this code to reset a forgotten password. A new code replaces the previous one.
Continue with Google
An existing account can be linked when Google establishes authoritative ownership of the email. Other email addresses require confirmation with the existing account password.
Request records and local copies
Request activity · last 30 days
Detailed request records, including client IP and user agent, are kept for 30 days.
Summaries cover the selected period. IP, response and latency details are available only for logged requests and expire after 30 days. Older records may lack these fields.
Requests
The export contains the currently displayed page and filters. Times use your browser timezone; chart days use UTC.
Reddit Data API is an independent historical archive service, not an official Reddit product or a live mirror. Availability of a record, time range or optional field is not guaranteed. Record the scope and retrieval time of your own batch, review the terms and privacy information, and avoid presenting a bounded archive sample as all activity on Reddit. The account exposes request costs, statuses and available client details; older requests may lack IP or latency fields.
Request costs you can account for
$1 / 1,000
A successful retrieval costs one credit, including an empty result: $1 per 1,000 successes. Eligible new accounts receive $5 = 5,000 credits once across the network. The minimum paid top-up is $50 = 50,000 credits. Invalid requests are not charged; upstream failures refund the reservation, sometimes after reconciliation. A successful retry is a new paid retrieval, so rerun local transformations from saved inputs first.
$5 / 5,000
Welcome credit: $5 · 5,000 credits
$50 / 50,000
Create an invoice before sending. Send exactly the displayed amount using the displayed token and network. Credit is added only after blockchain confirmation.