Reddit Collector
EN

REDDIT COLLECTOR · JSON · REST

Collect Reddit records with a documented scope

A Reddit data collection API for a bounded AskSocialScience study: define the question, inspect three posts and document selection across two weeks.

  • GET
  • JSON
  • HTTPS
  • UTC
Conceptual illustration, not a screenshot or measured result.

What counts as a research question?

Suppose your team wants to examine how people frame research questions in AskSocialScience across two weeks. The unit is an opening post, not every reply beneath it. Before collecting, write what qualifies: a question asking for social-science evidence, for example, rather than a link shared without a question. Reddit Collector is a Reddit data collection API for reading an independent historical archive. It is not an official Reddit service and does not supply live data. The useful output of this exercise is a bounded set of received posts with documented selection decisions; it is not a population estimate.

A collection brief records the community, unit of analysis, intended period, inclusion rules and stopping rule. Decide whether you are studying posts, comments or relationships visible among received records. Document why a keyword or minimum score belongs in your selection. Those choices can exclude relevant material; neither a score threshold nor a small first page is a random or representative sample.

The archive does not guarantee complete coverage, immutable results, a fixed schema or permanent access to a record. Keep the responses you actually use alongside your brief and local processing notes. A saved copy supports revisiting your own analysis; repeating the remote query does not guarantee an identical collection. Missing records remain a limitation to report, not evidence that a discussion never happened.

Conceptual illustration, not a screenshot or measured result.

Read three posts before extending the collection

02 / 03

Use GET https://api.redditcollector.com/v1/posts?subreddit=AskSocialScience&limit=3. The posts route restricts content to posts, subreddit selects AskSocialScience and limit requests up to three records. Page one is the default. Authenticate server-side with X-API-Key: <key> or Authorization: Bearer <key>; either header is supported. Keep the secret out of shared notebooks and public collection logs.

Illustrative synthetic fragment, not a real response: {"data":[],"pagination":{"page":1,"limit":3,"total":0,"relation":"eq"},"credits":{"cost":1,"balance":99}}. The balance is fictional. This successful empty first page costs one credit and supplies no posts to code. It does not establish the community's historical posting volume. The displayed request has no date bounds: add from and to before using it for a period-specific study.

Inspect received data before extracting quotations or coding themes locally. from and to use YYYY-MM-DD in UTC against created_utc, with the complete to day included. Internal _doc order is not chronology, relevance, score or random selection. A date condition controls inclusion separately from order. Fields may be missing; record how you handle an unavailable timestamp or conversation link instead of supplying an invented value.

Conceptual illustration, not a screenshot or measured result.

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 --get --fail-with-body 'https://api.redditcollector.com/v1/posts' \
  -H "Authorization: Bearer ${REDDIT_API_KEY}" \
  --data-urlencode 'subreddit=AskSocialScience' \
  --data-urlencode 'limit=3'

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
  }
}

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.

MethodAPIUse
GET/v1/searchSearch posts and comments
GET/v1/postsPosts only
GET/v1/commentsComments only
GET/v1/itemOne known record id
GET/v1/subredditsCommunity names by prefix
GET/v1/statusService 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.

ParameterMeaning
qText in title and text
subredditExact community spelling
authorExact author value
kindpost or comment
from / toYYYY-MM-DD, UTC; end day included
min_scoreMinimum score, not sorting
limit / pageBoth range from 1 to 100
prefix / idRoute-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.

ParameterMeaning
idKeep the source identifier
kindInspect the record kind
subredditPreserve the returned community name
title / textTreat missing, null and empty separately
created_utc / scoreCheck numeric values before conversion
parent_id / link_idOptional 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.

UseResponse
Available historical recordsSupported read-only routes
Live feed and new activityNot provided
Publishing, editing and votingNot provided
Complete conversation treesNot provided; optional local grouping

Request costs you can account for

$5

Eligible new accounts, once across the network

$1

Per 1,000 successful requests, including empty results

$50

Minimum top-up for 50,000 credits

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.

Conceptual illustration, not a screenshot or measured result.

About the service and its limits

Reddit Collector 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.

Continue with the reference and implementation guide

Questions before your first request

What is Reddit Collector?

Reddit Collector 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 Collector 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.

How do I get an API key?

Create an account with email and password, or continue with Google in a popup. Eligible new accounts receive $5 (5,000 credits) once across this site network. Your API key is available at the top of the account after sign-in and is stored encrypted. Keep it on your server.

How do I set rules for comparing two selections?

Use a concrete exploratory question: how are requests for social-science evidence framed in AskSocialScience during two adjacent weeks? Treat the opening post as the unit and decide whether a question without an explicit research citation still qualifies. This decision belongs in the collection brief before anyone sees the results. It prevents the team from quietly changing the meaning of a case after finding a striking example in one week.

What should I save alongside the retrieved records?

Keep the brief beside the saved responses: community, dates, unit, exclusions and stopping rule. The guide develops this into two UTC windows; documentation explains the parameters. Prepare access on the API-key page. Successful requests cost $1 per 1000, including empty results; a minimum $50 paid top-up adds 50000 credits. Budget requests separately from the number of posts accepted for analysis.

Which filters can I use to search Reddit records?

Use q for analyzed text search and combine it with subreddit, author, kind, from, to or min_score. Multiple search words use AND semantics; this is not a semantic-search or arbitrary-query-DSL endpoint. Dates use YYYY-MM-DD in UTC, with the to date including the whole day. Start with documented parameters in the reference.

Does Reddit Collector provide live Reddit access?

No. This service reads a historical archive, not a live Reddit feed. It cannot publish posts, vote, send private messages or perform Reddit OAuth actions. The public /v1/status route describes the service scope; it does not prove archive health, complete coverage or current availability of an original Reddit page.

Can I export every record that matches a search?

Not necessarily. A request returns up to 100 records, and page ranges from 1 to 100. Read total together with pagination.relation: exact, lower bound or unknown. Results follow archive order rather than guaranteed chronological or relevance order. Reaching the last accessible page does not prove that a saved sample is exhaustive.

Can I reuse the same key on another domain?

No. Accounts, API keys and credit balances are separated by site. Use the key issued for this domain with its own HTTPS API hostname. Keep that key in server-side configuration, not in browser JavaScript, public repositories or shared logs. A key from another site is not a substitute for a local account. Google sign-in is shared across the network; API keys and balances remain separate for each site.

Which request should I try first?

Start with /v1/posts, q=open source, subreddit=opensource, limit=3 and page=1. This small request lets you inspect available fields before writing import or interface logic. It still costs one credit when successful, including an empty result. Adjust the topic and community for your task; the example is not a promise of a fixed record count.

How do I define the UTC boundaries of a week?

Start with GET https://api.redditcollector.com/v1/posts?subreddit=AskSocialScience&limit=3, then add &from=2025-03-01&to=2025-03-07 for the first illustrative window. Use from=2025-03-08&to=2025-03-14 for the second and restart at page=1. These dates specify a proposed exercise, not known archive coverage. Both filters use YYYY-MM-DD in UTC and include the entire to day. The homepage request alone has no date restriction. Keep the route, community and inclusion rule constant while changing the two date bounds.

How do I keep my annotations separate from the source?

First inspect wording without q or min_score. If the protocol later requires q, remember that it searches title and text: the terms must match together within a matching field, not be split between title and body. min_score only filters by a threshold; it does not rank by merit or recency. Keep a local column for your research code and a separate reason for exclusion. Neither is a label supplied by the archive.

What should make this collection run stop?

Content limit and page each run from 1 to 100, with one page per request. _doc is an internal document order, not chronological or relevance sorting. Advancing a page therefore does not advance a time watermark. Predetermine a request budget and stopping rule. Splitting dates or locally removing repeated identifiers helps organize a collection but does not guarantee an exhaustive or unique set of records.

What should the final handover explain?

Write the final account of collection around decisions: why these two weeks, why opening posts, which filters were used and why the run stopped. Keep received counts separate from accepted cases and report missing timestamps or context. Equal date lengths and equal request budgets do not make either set representative. A difference in retrieved themes is a finding about the material examined, not proof of a change in the whole community.

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.

Choose what you are willing to leave out

03 / 03

Keep the first inspection broad enough to discover how the community words its questions. A keyword may miss a post that describes a study without naming your term. A score threshold may exclude an unfamiliar or unpopular question. Decide whether those exclusions answer your research question before adding q or min_score. Record a revised rule as a new collection version so colleagues can tell which posts were selected under which conditions.

For a comparison between weeks, use the same inclusion rule and a declared request allowance for each period. Equal allowances do not create equal coverage. If one period reaches a page boundary and the other produces little material, report that difference in what you could retrieve. Do not turn an uneven collection into a claim that one week contained less discussion.