Skip to documentation
Browse documentation

Search Posts

Search public posts globally or within selected subreddits, with Reddit sort and time filters and cursor pagination.

Capability ID reddit.posts.search
Cost 1 credit per request
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

after string optional

Opaque cursor from a previous result's next field.

limit integer optional

Page size (default 50).

Example 25
q string required

Search query passed to Reddit's public post search.

Example supabase alternative
sort string optional

Reddit search order.

Example new
Available values relevancehottopnewcomments
subreddits string optional

Optional restriction to one to 25 comma-separated subreddit names.

time string optional

Search time window.

Example all
Available values hourdayweekmonthyearall

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
items array 3 items
items array 3 items
next string t3_1vlrox1

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.