Reddit API
$0.003 per call, pay only for 200 responses
Markdown text for formats=markdown; HTML by default. Public feed entries include titles, dates, links and content; author usernames and links to user profiles are removed. RSS coverage can be partial; rate limits return an error without charge.
x402 pay per call
$0.003 per successful call, paid in USDC on Base. No account or API key required. The live PAYMENT-REQUIRED header quotes the authoritative price.
curl request
curl -i 'https://api.fastaf.co/x402/v1/reddit?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpython%2F&formats=markdown'Example 402 payment challenge
Illustrative recipient address, not a payment destination. Request a fresh challenge, sign it with an x402 v2 client and retry the same URL with PAYMENT-SIGNATURE. The header is base64 JSON v2; the compatibility body uses v1 aliases on Base. Only successful results settle.
HTTP/1.1 402 Payment Required
Content-Type: application/json
PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6MiwicmVzb3VyY2UiOnsidXJsIjoiaHR0cHM6Ly9hcGkuZmFzdGFmLmNvL3g0MDIvdjEvcmVkZGl0P3VybD1odHRwcyUzQSUyRiUyRnd3dy5yZWRkaXQuY29tJTJGciUyRnB5dGhvbiUyRiZmb3JtYXRzPW1hcmtkb3duIiwiZGVzY3JpcHRpb24iOiJQdWJsaWMgUmVkZGl0IGZlZWQiLCJtaW1lVHlwZSI6InRleHQvbWFya2Rvd24ifSwiYWNjZXB0cyI6W3sic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiZWlwMTU1Ojg0NTMiLCJhbW91bnQiOiIzMDAwIiwiYXNzZXQiOiIweDgzMzU4OWZDRDZlRGI2RTA4ZjRjN0MzMkQ0ZjcxYjU0YmRBMDI5MTMiLCJwYXlUbyI6IjB4MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMSIsIm1heFRpbWVvdXRTZWNvbmRzIjozMDAsImV4dHJhIjp7Im5hbWUiOiJVU0QgQ29pbiIsInZlcnNpb24iOiIyIn19XX0=
{
"error": "payment_required",
"x402Version": 2,
"resource": {
"url": "https://api.fastaf.co/x402/v1/reddit?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpython%2F&formats=markdown",
"description": "Public Reddit feed",
"mimeType": "text/markdown"
},
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x1111111111111111111111111111111111111111",
"maxTimeoutSeconds": 300,
"extra": {
"name": "USD Coin",
"version": "2"
}
}
]
}Decoded PAYMENT-REQUIRED header
{
"x402Version": 2,
"resource": {
"url": "https://api.fastaf.co/x402/v1/reddit?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpython%2F&formats=markdown",
"description": "Public Reddit feed",
"mimeType": "text/markdown"
},
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"amount": "3000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x1111111111111111111111111111111111111111",
"maxTimeoutSeconds": 300,
"extra": {
"name": "USD Coin",
"version": "2"
}
}
]
}JSON discovery response example
Markdown text for formats=markdown; HTML by default. Public feed entries include titles, dates, links and content; author usernames and links to user profiles are removed. RSS coverage can be partial; rate limits return an error without charge. This example is illustrative.
"# Python\n\n## [Weekly discussion](https://www.reddit.com/r/python/comments/abc123/weekly/)\n2026-10-27T12:00:00Z\n\nDiscuss Python projects.\n"Response with an API key
The same data over REST with a prepaid key. The JSON body is the example above; failed requests are not charged.
curl -H "Authorization: Bearer $FASTAF_API_KEY" 'https://api.fastaf.co/v1/reddit?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpython%2F&formats=markdown'MCP tools
read_reddit MCP tool calls require an API key or OAuth; x402 payments apply to HTTP data calls.
Full endpoint reference for agents
Pricing
x402: $0.003 per successful call, USDC on Base, no account. API key: 1 credits per request from one-time credit packs, without expiry. Credit packs are shared by every endpoint and never renew.
| Pack | Price | Credits | Per call | Per 1,000 calls |
|---|---|---|---|---|
| Starter | $10 | 20,000 | $0.0005 | $0.50 |
| Growth | $29 | 75,000 | $0.00039 | $0.39 |
| Scale | $99 | 300,000 | $0.00033 | $0.33 |
| Pro | $299 | 1,000,000 | $0.0003 | $0.30 |
| Business | $799 | 3,000,000 | $0.00027 | $0.27 |
Free: 500 credits every month after email verification, no card. See pricing. Alternatives: FastAF vs SerpApi, vs toll402, vs serp402, vs AgentBIT, vs Amazon PA-API.
Parameters
| Name | Description |
|---|---|
| url | Required public reddit.com subreddit or thread URL, e.g. https://www.reddit.com/r/python/; no default. Reads the public RSS feed only. |
| formats | Response format: html (default) or markdown. Feeds may contain fewer posts or comments than the website. |
Response fields
- Feed title
- Entry title
- Date
- Link
- Content
Passing these fields to an LLM? See token-aware scraping: only what your LLM needs.
Guides
- Add FastAF to Claude Code, Codex and Cursor
One remote MCP server, three clients: the claude, codex and Cursor mcp.json setup for https://api.fastaf.co/mcp, with the API key auth it really uses.
FAQ
What input does this API accept?
Required public reddit.com subreddit or thread URL, e.g. https://www.reddit.com/r/python/; no default. Reads the public RSS feed only.
What does the response contain?
Markdown text for formats=markdown; HTML by default. Public feed entries include titles, dates, links and content; author usernames and links to user profiles are removed. RSS coverage can be partial; rate limits return an error without charge.
How much does one Reddit API call cost?
With x402 it is $0.003 per successful call in USDC on Base, with no account. With an API key it is 1 credits per request, which is $0.0005 on the $10 Starter pack down to $0.00027 on the $799 Business pack. Failed requests are never charged.
Do I need an account or an API key for Reddit API?
Not for x402: send the request, pay the 402 challenge in USDC and retry. For credits, sign up free, confirm your email and use the API key in the Authorization header. Accounts get 500 free credits every month after email verification; they do not apply to x402.
Other APIs
- LinkedIn API
Public person profiles
- YouTube API
Video search and transcripts
- X Scraper API
Public X profile details
- Web Scraping API
Public pages in selectable formats