# agdata Reddit Scraper

> agdata Reddit Scraper is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.0295/call, status unknown (last checked 2026-10-10).

Searches Reddit or fetches subreddit/user posts as structured JSON, bypassing bot protection, with modes for subreddit (hashtag), user profile, or keyword search.

## Facts

- Endpoint: POST https://agdata.shveik.dev/mpp/reddit?utm_source=zero.xyz
- Price: $0.0295/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-reddit-scraper-94bb8b5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D4csFaZXqX8iyqrSM9Fl6

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 agdata-reddit-scraper-94bb8b5f -d '<json body>'
```

Example prompt: Search Reddit for discussions about 'rust programming language' and give me the top 10 results — posts, authors, upvotes, and subreddits.

## When to prefer this

Choose this endpoint when you need structured Reddit data (posts, upvotes, authors, subreddits) without managing Reddit API credentials or dealing with bot-protection. Particularly useful for agents that need to monitor community sentiment, run market research, or aggregate social discussions programmatically. Pay-per-call pricing with no account required makes it ideal for low-volume or ad-hoc Reddit data needs.

## Known failure modes

- Reddit rate-limits or blocks the request — no charge applied, error returned
- Invalid mode value (not profile/hashtag/search) — validation error
- Query string exceeds 500 characters — rejected by schema
- Limit outside 1-20 range — rejected by schema
- Subreddit or user does not exist — empty results or 404-equivalent error
- Temporary Reddit outage — service unavailable response

## How this service works

Unblocking and fresh web data for AI agents. Social, maps, search, news, jobs and reviews as structured data, and unblocking for any other page, as Markdown or HTML. Pay per call in stablecoins over x402 or MPP, with no API key, no account and no proxy setup. (x402 on Base and Polygon (plus Solana on most routes) or MPP on Base)

## Output

Returns an array of Reddit post objects, each containing: post id, title, body text, URL, author username, subreddit name, upvote count, comment count, member count of the subreddit, and creation timestamp — all as structured JSON.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "raw": {
   "type": "boolean"
  },
  "mode": {
   "enum": [
    "profile",
    "hashtag",
    "search"
   ],
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "maximum": 20,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 500
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "t3_1wro6…",
  "url": "https://…",
  "body": "Do you u…",
  "kind": "post",
  "title": "What do…",
  "author": "example_…",
  "members": 378852,
  "upvotes": 49,
  "subreddit": "golang",
  "created_at": "2026-09-…",
  "comments_count": 44
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-reddit-scraper-94bb8b5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
