Skip to documentation
Browse documentation

Search Comments

Search comments by query, newest first, optionally restricted to subreddits, with a cursor for the next page. Approximate; callers re-filter locally.

Capability ID reddit.comments.search
Cost 1 credit per request
Maximum runtime 30 seconds
View raw Get an API key

POST /execute Shared execution endpoint

Input parameters

FieldTypeRequiredDescription
after string Optional Opaque cursor from a previous result's "next".
limit integer Optional Page size, 1-100 (default 50).
q string Required Search query. Supports AND (space), OR, -term/NOT exclusion, and "exact phrase".
subreddits string Optional Optional comma-separated subreddit restriction (no leading r/).

Response

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

No committed sample output is available for this capability yet.

Execution behavior

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

Resources