Search Reddit posts
Searches posts across Reddit by text, sorted by relevance, hot, top, new or comments, with a timeframe. Paginate with `cursor`.
Pricing — $ · min $0.003
Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.
Authorization
bearerAuth UnifAPI API key. Provider credentials are managed by UnifAPI.
In: header
Query Parameters
Search query text for public Reddit posts.
1 <= length <= 512Optional sort order for search results. comment-count puts the most-commented posts first.
Value in
- "relevance"
- "new"
- "top"
- "comment-count"
Optional time range filter for search results.
Value in
- "all"
- "day"
- "week"
- "month"
- "year"
Opaque pagination cursor from a previous response's pagination.next_cursor. Omit for the first page.
1 <= length <= 16384Header Parameters
Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md
"2026-07-01"Value in
- "2026-07-01"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/reddit/search/posts?query=string"{ "request_id": "string", "data": [ { "id": "string", "name": "string", "title": "string", "author": "string", "subreddit": "string", "subreddit_prefixed_name": "string", "url": "string", "permalink": "string", "body_text": "string", "score": 0, "upvotes": 0, "upvote_ratio": 0, "comment_count": 0, "created_at": 0, "is_video": true, "subreddit_subscriber_count": 0 } ], "pagination": { "has_more": true, "next_cursor": "string" }, "billing": { "credits_charged": 0, "records_charged": 0, "balance_remaining": 0, "truncated_due_to_balance": true }}