# Reddit Search API via BTC Node Relay

> Reddit Search API via BTC Node Relay is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Search Reddit posts and content via a relay endpoint, returning relevant results for a given query.

## Facts

- Endpoint: GET https://api.relai.fi/relay/1780781322365/api/reddit/search
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reddit-search-api-via-btc-node-relay-d4b8139e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d5wky5dj4HL6RLQlZqUWl

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-search-api-via-btc-node-relay-d4b8139e
```

Example prompt: Search Reddit for the latest discussions about Bitcoin ETF approval and show me the most relevant posts.

## When to prefer this

Use this endpoint when you need to search Reddit specifically for community discussions, user opinions, or social sentiment on a topic — especially useful for crypto, finance, SEC news, or general public discourse. Prefer this over general web search when Reddit-specific content and community sentiment is the goal.

## Known failure modes

- Missing or invalid query parameters returns an error or empty results
- Rate limiting or quota exceeded returns 429 or payment-related error
- Reddit API downtime causes relay to return 502 or timeout
- No results found for niche or obscure queries returns empty results array
- Payment not processed correctly via x402 protocol returns 402

## How this service works

Search Reddit

## Output

Returns Reddit search results including post titles, subreddit names, post URLs, scores, comment counts, and other post metadata matching the search query.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reddit-search-api-via-btc-node-relay-d4b8139e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
