Search

Reddit

Search public Reddit posts by query, sort and timeframe.

Current price
$0.0027/call
Availability
Ready to run
Last accepted verification

What this API does

Return one bounded, deduplicated page of public Reddit posts with stable string IDs, canonical URLs, text, community, timestamps, engagement and an opaque next cursor.

Agents select this operation with tool ID reddit.search, then inspect its current executable contract before a run.

Public input and output shape

Input

afterstring · optional

Value supplied for after.

minLength: 1 · maxLength: 2048

limitinteger · optional

Value supplied for limit.

minimum: 1 · maximum: 25

querystring · required

Search terms used to find relevant records.

minLength: 1 · maxLength: 200

sortstring · optional

Value supplied for sort.

enum: relevance, new, top, comment_count

timeframestring · optional

Value supplied for timeframe.

enum: all, day, week, month, year

Output

captured_atstring

Returned captured at value.

duplicate_itemsnumber

Returned duplicate items value.

itemsarray

Returned items value.

next_cursorstring

Returned next cursor value.

omitted_itemsnumber

Returned omitted items value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "reddit.search",
  "input": {
    "sort": "relevance",
    "limit": 5,
    "query": "agent tools",
    "timeframe": "month"
  }
}

Output

{
  "items": [
    {
      "id": "w63dgy",
      "url": "https://www.reddit.com/r/MadeMeSmile/comments/w63dgy/example/",
      "title": "A public Reddit post",
      "community": "MadeMeSmile",
      "engagement": {
        "score": 220403
      }
    }
  ],
  "captured_at": "2026-08-20T00:00:00.000Z",
  "next_cursor": "t3_next",
  "omitted_items": 0,
  "duplicate_items": 0
}
Teaching errors and limitations
  • invalid_input: The route input was invalid or outside its public-read bounds.example: {"query":"agent tools","sort":"relevance","timeframe":"month","limit":5}
Updated
21 August 2026

Use Search with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.