Pushshift API Python: what still works in 2026
Pushshift API Python guide: who can still use it, what to call instead for Reddit history, working requests code for Arctic Shift and live search, checked 2026-11-13.
Piyushh · November 13, 2026 · 3 min read

The Pushshift API in Python only works if you're a Reddit moderator. Pushshift's own site (checked 2026-11-13) says access is limited to registered Reddit users who moderate, and you authenticate with OAuth to get a bearer token that lasts 24 hours. A normal script on a normal account won't get in. If you're here for a Pushshift Python example to pull old Reddit data, two routes still work, and this post has code for both.
Pushshift vs PullPush vs Arctic Shift, checked 2026-10-14, covers the archive question at length, including PullPush and the data dumps. This post is the code-first follow-up.
Why old Pushshift code stopped working
Python code written against Pushshift's old public search endpoints, wrappers like PSAW included, assumed anyone could call them. Nobody can now. We did not run PSAW, so we make no claim about its internals. All we know is that the service it targeted is now moderator-only. Check a tutorial's date before you copy its code.
Route 1: Arctic Shift for history
Arctic Shift is a free archive of Reddit posts and comments with a public API. On 2026-11-13 we asked it for the newest r/python post and got back one created that same day, so it was live when we wrote this. Its docs make no promises about uptime or performance. Treat it as best effort, and use the monthly dumps for anything big. The comparison post and the Arctic Shift page cover its status and risks.
import requests
r = requests.get(
"https://arctic-shift.photon-reddit.com/api/posts/search",
params={"subreddit": "python", "limit": 5},
timeout=60,
)
r.raise_for_status()
for p in r.json()["data"]:
print(p["created_utc"], p["title"][:70])
That response included created_utc, title and subreddit among its fields. We didn't map the rest, so print one full row and read its keys before you build on it. The filters for author, keyword and dates are listed in Arctic Shift's API readme.
This route makes sense when you need posts that may have been deleted, or history older than live search reaches. The trade-off is that archives can lag, and nothing guarantees they're complete.
Route 2: Live search for posts that exist
If the posts you want are still on Reddit, a live search is simpler and gives fresher results. In ChatterAPI, reddit.search takes a query, an optional subreddit and a time window of hour, day, week, month, year or all.
import os
import requests
r = requests.get(
"https://api.chatterapi.com/v1/reddit/search",
params={"q": "pushshift", "subreddit": "redditdev", "time": "year", "sort": "new"},
headers={"Authorization": f"Bearer {os.environ['CHATTERAPI_KEY']}"},
timeout=60,
)
r.raise_for_status()
for p in r.json()["data"]:
print(p["createdAt"][:10], p["score"], p["title"][:70])
Each page returns about 25 posts and costs 2 credits. Rows carry createdAt, score, numComments, author and permalink. To get an exact date range, filter on createdAt in code. Reddit API search by date shows the pattern. For the wider Python picture, including threads and comments, read the Reddit API Python guide.
Which route to pick
| You need | Use |
|---|---|
| Posts that may have been deleted | Arctic Shift or the dumps |
| Posts from years ago, in bulk | The monthly dumps |
| Fresh posts and comments, by keyword | Live search |
| Reddit data inside an agent | The hosted MCP server, see Reddit MCP server |
No live API can recover removed content. Reddit now hides moderator-removed comments from profiles, so no live tool can show them.
What to avoid
- Copying a Pushshift tutorial without checking its date. The endpoints it uses may be closed to you.
- Hammering a free archive, which has no uptime guarantee. Use dumps when you need volume.
- Treating archive data as a complete record. You only get what the archive happened to capture.
Search Reddit posts now
Test a query in the free Reddit post search before you write the loop.