arctic-shift
Installation
SKILL.md
Arctic Shift
Arctic Shift is a public archive of Reddit with a JSON API. Use it instead of fetching reddit.com, old.reddit.com, or .json URLs, which fail for automated clients.
Base URL: https://arctic-shift.photon-reddit.com (no auth). Docs: https://github.com/ArthurHeitmann/arctic_shift/tree/master/api. Status: https://status.arctic-shift.photon-reddit.com.
When to use
- Read a Reddit thread or a user's history when direct access is blocked.
- Find what a community says about a topic, over time or in a window.
- Build a dataset of posts or comments from a subreddit.
- Resolve a Reddit short link, or look up subreddit rules and wikis.
Steps
- Pick the endpoint. Known post or comment IDs:
/api/posts/ids,/api/comments/ids. Whole thread:/api/comments/tree. Keyword or filter search:/api/posts/search,/api/comments/search. Counts and rankings: the/aggregatevariants or/api/time_series. Full parameter tables:references/endpoints.md. - Always scope searches with
subreddit,author,link_id, orparent_id. Keyword params (title,selftext,body,query) need at least one of these and fail on very active subreddits or users. - Always pass
fields=to cut payload and latency. Posts:id,title,selftext,score,created_utc,author,num_comments. Comments:id,body,score,created_utc,author,link_id,parent_id. - Fetch with
curl -sor any HTTP client and read thedataarray. Errors come back as{"data":null,"error":"..."}. - Paginate by date, not by offset. Use
sort=asc,limit=100, and set the nextafterto the last row'screated_utc. Stop on an emptydata.limit=autoreturns 100 to 1000 rows per call depending on server load.