# Portals Protocol Reddit Comments Search

> Portals Protocol Reddit Comments Search is a paid API for AI agents from api.portalsprotocol.com, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-15).

Searches Reddit comments across specified subreddits using keyword queries with sorting and timeframe filtering

## Facts

- Endpoint: POST https://api.portalsprotocol.com/reddit/comments/search
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-portalsprotocol-com-addfd153
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VKE_UooOWdFi6JF3adNsf

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 api-portalsprotocol-com-addfd153 -d '<json body>'
```

Example prompt: Search Reddit comments across r/investing and r/stocks mentioning 'NVIDIA earnings' from the past week, sorted by top, and return up to 25 results.

## When to prefer this

Use this endpoint when you need to search and retrieve Reddit comments (not posts) filtered to specific subreddits, with control over sort order and timeframe. Prefer this over general web scraping when you specifically need structured Reddit comment data with filtering capabilities.

## Known failure modes

- No results found for the given query or subreddits
- Invalid subreddit name returns empty or error response
- Invalid sortBy or timeframe enum value causes bad request
- Limit value out of acceptable range causes validation error
- Rate limit or quota exceeded returns payment or throttle error

## Output

Returns a list of Reddit comments matching the search query, filtered by the specified subreddits, time range, and sort order, up to the requested limit — including comment text and associated metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "limit",
  "query",
  "sortBy",
  "timeframe",
  "subreddits"
 ],
 "properties": {
  "limit": {
   "type": "number"
  },
  "query": {
   "type": "string"
  },
  "sortBy": {
   "type": "string"
  },
  "timeframe": {
   "type": "string"
  },
  "subreddits": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-portalsprotocol-com-addfd153/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.portalsprotocol.com](https://www.zero.xyz/host/api.portalsprotocol.com/llms.txt)
