Reddit Historical Archive Scraper - Old Posts by Date
Reddit Historical Archive Scraper - Old Posts by Date — a Python client for the Apify Actor. Pull Reddit Historical Archive data at scale with no API-key hassle: thousands of clean, structured results you can export to JSON, CSV or Excel.
▶️ Run it on Apify: https://apify.com/logiover/reddit-historical-archive-scraper
Install
pip install apify-reddit-historical-archive-scraper
Usage
from reddit_historical_archive_scraper import scrape
items = scrape({}, token="YOUR_APIFY_TOKEN")
print(len(items), "results")
print(items[0])
Get your free Apify token at https://console.apify.com/account/integrations.
Input
| Field | Type | Description |
|---|---|---|
subreddits |
array | Subreddits |
postIds |
array | Post IDs |
usernames |
array | Usernames |
searchQueries |
array | Post Search Queries |
commentSearchQueries |
array | Comment Search Queries |
startUrls |
array | Reddit URLs (auto-detected) |
sort |
string | Sort |
afterDate |
string | After Date (ISO) |
beforeDate |
string | Before Date (ISO) |
minScore |
integer | Minimum Score |
userContent |
string | User Content Type |
maxItems |
integer | Max Items (Global) |
maxItemsPerTarget |
integer | Max Items Per Target |
requestDelayMs |
integer | Request Delay (ms) |
maxRetries |
integer | Max Retries on 429/5xx/timeout |
All fields optional — run with empty input {} for a broad default result set.
Output
Each result item includes fields such as: subreddit, author, title, score, upvoteRatio, numComments, createdUtc, permalink, url, body, depth, username, linkKarma, commentKarma, totalKarma, verified, isGold, isMod, displayNamePrefixed, subscribers.
Why use this
- ⚡ Thousands of results per run, auto-paginated
- 🔑 No Reddit Historical Archive login or reverse-engineering — just call the Actor
- 📦 Export to JSON, CSV, Excel, JSONL, XML
- ☁️ Runs on Apify cloud — schedule it, add webhooks, wire into Make / Zapier / n8n
FAQ
Do I need an API key?
Only a free Apify token (grab one at https://console.apify.com/account/integrations). No Reddit Historical Archive login and no scraping setup on your side.
How many results can I get?
Thousands per run. Raise the limit in the input to pull more — the Actor paginates for you.
What export formats are supported?
Results are plain JSON in code; from the Apify dataset you can export CSV, Excel, JSON, JSONL or XML.
Is this an official Reddit Historical Archive API?
No. It is an unofficial Reddit Historical Archive data client on the Apify platform — a maintained alternative when there is no official or affordable API.
Links
- ▶️ Run the Actor: https://apify.com/logiover/reddit-historical-archive-scraper
- 📚 Docs & examples: https://github.com/logiover/reddit-historical-archive-scraper
- 🧰 More scrapers by logiover: https://apify.com/logiover
MIT © 2026 logiover · Client library for the hosted Apify Actor. Not affiliated with Reddit Historical Archive.
Metadata
Release files for apify-reddit-historical-archive-scraper 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apify_reddit_historical_archive_scraper-1.0.0.tar.gz | 4.5 kB | Without provenance | Details for apify_reddit_historical_archive_scraper-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apify_reddit_historical_archive_scraper-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for apify_reddit_historical_archive_scraper-1.0.0-py3-none-any.whl |
Total release size: 9.4 kB
Release files / apify_reddit_historical_archive_scraper-1.0.0.tar.gz
| Download URL | apify_reddit_historical_archive_scraper-1.0.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08b07c248c239d897cf501451866906d61ece83ae5fece78fb8c1e45021ddd35
|
|
BLAKE2b-256 checksum How to use checksums |
63a00ce6ada9388a492c2159c4af06eaccdcd1dad8b3d87b8e0151de635e30ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / apify_reddit_historical_archive_scraper-1.0.0-py3-none-any.whl
| Download URL | apify_reddit_historical_archive_scraper-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54760236ccfaff2de0e3369f1683b796343e8d9c25072bfbb1a3b5584af313ee
|
|
BLAKE2b-256 checksum How to use checksums |
9fadf0d957e70192bf726052d3564056f5e78fe786ab6182ad7e2bf50e2e0609
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for apify-reddit-historical-archive-scraper 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.