# Tanship PayAI Console — Reddit Comments API (x402)

> Tanship PayAI Console — Reddit Comments API (x402) is a paid API for AI agents from x402.tanship.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches Reddit comments for a given post or thread via a payment-gated API using the x402 micropayment protocol on Base USDC.

## Facts

- Endpoint: POST https://x402.tanship.dev/v1/reddit/comments
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanship-payai-console-reddit-comments-api-x402-9b18f713
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gCfhJ-aWqEf_yDcpoASn1

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 tanship-payai-console-reddit-comments-api-x402-9b18f713 -d '<json body>'
```

Example prompt: Can you grab the comments from this Reddit thread for me? I want to see what people are saying — here's the post: https://www.reddit.com/r/MachineLearning/comments/abc123/some_post_title/

## When to prefer this

Choose this endpoint when you need Reddit comment data without going through Reddit's official API (which has strict rate limits and OAuth requirements). Ideal for one-off comment fetches, research tasks, or agent workflows where a $0.01 per-call micropayment via USDC is preferable to managing Reddit API credentials. Best suited for scenarios where you have a specific Reddit post URL and need its comments quickly.

## Known failure modes

- Invalid or deleted Reddit post URL returns empty or error response
- Reddit rate limiting or bot detection may cause temporary failures
- Malformed request body (wrong bodyType or missing required fields) returns 400 error
- Payment failure via x402 protocol returns 402 Payment Required before content is served
- Private or locked subreddits may be inaccessible

## How this service works

Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.

## Output

Returns the comments from the specified Reddit post or thread, including comment text, authors, scores, and thread structure, fetched via Tanship's browser automation layer and delivered as a JSON response.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanship-payai-console-reddit-comments-api-x402-9b18f713/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tanship.dev](https://www.zero.xyz/host/x402.tanship.dev/llms.txt)
