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/search1 credit

Search posts or comments by `q` and/or `subreddit`/`author`. Returns results[].

Working example
Parameters

Search text. Provide `q` and/or `subreddit`/`author`.

Limit the search to one subreddit (optional).

Limit to one author's content (optional).

Search posts or comments.

Result ordering.

How many results (1–100). (1–100)

Only results AFTER this unix time (optional).

Only results BEFORE this unix time (optional).

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/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"subreddit":"python","limit":"10"}'

Hit Send to run this endpoint live.