The playground
Try any of 1042 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Playground demo key · api.reefapi.com
post/reddit/v1/subreddit_posts1 credit
Posts in a subreddit, ranked by `sort`. Returns title/author/score/comment-count.
Working example
Parameters
Subreddit name (without 'r/').
How posts are ranked.
Time window — applies ONLY when sort = top or controversial.
How many posts to return (1–100). (1–100)
Which Reddit data source to use — 'auto' picks the best source automatically.
Page number (easy paging: 1, 2, 3…). (1–)
Next page: pass the previous response's meta.pagination.next_cursor (the 'Next' button does this automatically).
request preview
curl -X POST https://api.reefapi.com/reddit/v1/subreddit_posts \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"subreddit":"python","limit":"10"}'Hit Send to run this endpoint live.