# Reddit Posts & Subreddit Search

> Reddit Posts & Subreddit Search is a paid API for AI agents from social.duoleads.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Search public Reddit posts by keyword, within a specific subreddit, or list a subreddit's newest posts, returning paginated results with post metadata.

## Facts

- Endpoint: GET https://social.duoleads.com/v1/reddit/search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reddit-posts-subreddit-search-a06e38e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YnaL0B0vZZZvNhpDLEq7z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability reddit-posts-subreddit-search-a06e38e6
```

Example prompt: Search Reddit for posts mentioning 'mechanical keyboards' in the r/MechanicalKeyboards subreddit and show me the top results with their upvotes and comment counts.

## When to prefer this

Use this endpoint when you need to search Reddit specifically — by keyword, subreddit, or both — and want structured post metadata (upvotes, comments, author, timestamp). Prefer this over the cross-platform Social Search endpoint when you only need Reddit data and want more control (subreddit filtering, pagination). Choose the Reddit Post Comments endpoint instead when you already have a post ID and need its comment thread.

## Known failure modes

- Invalid or nonexistent subreddit name returns not-found (no charge)
- Malformed or empty query string returns bad input response (no charge)
- No posts matching the search keyword returns empty items array (no charge)
- Expired or invalid cursor returns pagination error
- Rate limiting or upstream Reddit data unavailability may cause temporary failures

## How this service works

Reddit Posts & Subreddit Search: search public Reddit posts by keyword, within one subreddit, or list a subreddit's newest posts. Per post the title, text, subreddit, author, upvotes, comment count, linked URL, time and permalink in the shared social schema; next_cursor gives the next page. Forum research and social listening. Bad input is free; not found or no match is not charged.

## Output

A paginated JSON list of Reddit posts, each containing the post ID, title, body text, subreddit/community name, author handle, upvote count, comment count, any linked URL, creation timestamp, and a direct permalink. Also includes a next_cursor field for fetching additional pages, the original query parameters, and a platform disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 200,
       "description": "Search text (1-200 characters). Give q, subreddit or both."
      },
      "cursor": {
       "type": "string",
       "maxLength": 512,
       "description": "next_cursor of the previous page."
      },
      "subreddit": {
       "type": "string",
       "maxLength": 24,
       "description": "Limit to one community: a subreddit name: 2 to 21 letters, digits or underscores, with or without r/. Alone it returns the subreddit's newest posts."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-10-15T12:00:00.000Z",
  "items": [
   {
    "id": "synp001",
    "url": "https://www.reddit.com/r/SynthTech/comments/synp001/synthetic_post/",
    "lang": null,
    "text": null,
    "type": "post",
    "title": "Is synthwidget worth it?",
    "author": {
     "handle": "synth_redditor_1",
     "verified": null,
     "followers": null,
     "display_name": null
    },
    "metrics": {
     "likes": 2204,
     "views": null,
     "replies": 124,
     "reposts": null
    },
    "link_url": null,
    "platform": "reddit",
    "community": "SynthTech",
    "parent_id": null,
    "created_at": "2026-10-14T00:00:00.000Z",
    "media_urls": []
   },
   {
    "id": "synp002",
    "url": "https://www.reddit.com/r/SynthTech/comments/synp002/synthetic_post/",
    "lang": null,
    "text": null,
    "type": "post",
    "title": "synthwidget 2.0 first impressions",
    "author": {
     "handle": "synth_redditor_2",
     "verified": null,
     "followers": null,
     "display_name": null
    },
    "metrics": {
     "likes": 45,
     "views": null,
     "replies": 12,
     "reposts": null
    },
    "link_url": null,
    "platform": "reddit",
    "community": "SynthTech",
    "parent_id": null,
    "created_at": "2026-10-14T01:00:00.000Z",
    "media_urls": []
   }
  ],
  "query": {
   "q": "synthetic widgets",
   "cursor": null,
   "subreddit": null
  },
  "source": "public data via third-party provider; not affiliated with the platform",
  "complete": true,
  "platform": "reddit",
  "disclaimer": "Public data via third-party providers; not affiliated with or endorsed by any platform. Do not use to profile, target or train AI on individuals.",
  "request_id": "01KEXAMPLE0000000000000000",
  "next_cursor": "t3_synp002"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reddit-posts-subreddit-search-a06e38e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from social.duoleads.com](https://www.zero.xyz/host/social.duoleads.com/llms.txt)
