API for Chads
Crypto prices, Polymarket CLOB, AI research & web rendering. x402 Solana payments.
Ask AI about API for Chads
Powered by Claude Β· Grounded in docs
I know everything about API for Chads. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
API for Chads
MCP server for AI agents β crypto prices, prediction markets, web research & rendering
Website β’ Quick Start β’ Tools β’ Examples β’ Payment
9 tools for market intelligence, web rendering, and deep research. No accounts, no subscriptions β pay per request with Solana micropayments or an API key.
π apiforchads.com
Why?
AI agents need data. Getting it usually means API keys, monthly plans, rate limit dashboards, and billing pages. That's friction built for humans, not agents.
API for Chads is built for the agentic web:
- MCP native β agents discover and use tools automatically
- x402 native β agents pay per request with Solana, no human needed
- One server, four capabilities β prices, markets, research, rendering
- Sub-penny pricing β most requests cost < $0.02
Tools
| Tool | What It Does | Price |
|---|---|---|
get_crypto_price | Real-time BTC/ETH via Chainlink oracles + Binance | 0.0001 SOL |
get_prediction_market | Polymarket CLOB best bid/ask/spread | 0.0001 SOL |
quick_research | Web-grounded research report (~20s) | 0.005 SOL |
deep_research | Autonomous deep research with citations (~5min) | 0.02 SOL |
render_webpage | JS-rendered page β markdown/text/html | 0.0003 SOL |
screenshot_webpage | Full-page PNG screenshot | 0.0005 SOL |
extract_from_webpage | CSS selector extraction from any page | 0.0003 SOL |
webpage_to_pdf | Page β PDF document | 0.0005 SOL |
list_services | Service catalog with pricing | Free |
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"apiforchads": {
"url": "https://mcp.apiforchads.com/mcp"
}
}
}
Restart Claude. You now have 9 new tools.
Cursor / Windsurf
Add to your MCP settings:
{
"apiforchads": {
"url": "https://mcp.apiforchads.com/mcp"
}
}
Any MCP Client (Python)
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async with streamablehttp_client("https://mcp.apiforchads.com/mcp") as (r, w, _):
async with ClientSession(r, w) as session:
await session.initialize()
# Get BTC price
result = await session.call_tool("get_crypto_price", {"asset": "BTC"})
print(result) # {"chainlink_price": 65920.45, "binance_price": 65935.12, ...}
Examples
Get crypto prices
# With API key
curl -H "Authorization: Bearer YOUR_KEY" \
https://price.apiforchads.com/v1/prices/BTC
# Response
{
"asset": "BTC",
"chainlink_price": 65920.45,
"binance_price": 65935.12,
"chainlink_age_seconds": 13,
"timestamp": 1771833021
}
Get Polymarket orderbook
curl -H "Authorization: Bearer YOUR_KEY" \
https://price.apiforchads.com/v1/clob/will-trump-deport-less-than-250000
# Response
{
"market_slug": "will-trump-deport-less-than-250000",
"best_bid": 0.42,
"best_ask": 0.44,
"spread": 0.02,
"mid_price": 0.43
}
Quick research
curl -X POST -H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
https://research.apiforchads.com/v1/research \
-d '{"query": "What are the latest Bitcoin ETF inflows?", "tier": "quick"}'
# Returns job_id β poll /v1/research/status/{job_id} for results
Render a JS-heavy page
curl -X POST -H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
https://render.apiforchads.com/v1/render \
-d '{"url": "https://polymarket.com", "format": "markdown", "max_chars": 5000}'
Screenshot
curl -X POST -H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
https://render.apiforchads.com/v1/render/screenshot \
-d '{"url": "https://example.com", "full_page": true}' \
--output screenshot.png
Python SDK (coming soon)
from apiforchads import Client
client = Client(api_key="YOUR_KEY")
btc = client.price("BTC")
print(f"BTC: ${btc.chainlink_price:,.2f}")
market = client.clob("will-trump-deport-less-than-250000")
print(f"Bid: {market.best_bid} Ask: {market.best_ask}")
report = client.research("Latest crypto regulations", tier="quick")
print(report.text)
Payment
Two ways to pay:
1. API Key (recommended for humans)
Get a free API key with 1000 requests: email chadbot0x@proton.me
curl -H "Authorization: Bearer YOUR_KEY" https://price.apiforchads.com/v1/prices/BTC
2. x402 Micropayments (for agents)
The x402 protocol lets agents pay per request with Solana:
- Call any endpoint β get a
402with payment details - Send micropayment to
EDQQe7Nufgvo2A6uXTmCpTr2FumZRB3fNzTH4Wuvpvpd - Retry with
X-Payment-Signatureheader containing the tx signature - Get your data
No signup. No monthly fee. Pure pay-per-use.
REST API Endpoints
Use these directly without MCP:
| Base URL | Service |
|---|---|
https://price.apiforchads.com | Crypto prices + Polymarket CLOB |
https://research.apiforchads.com | AI-powered research |
https://render.apiforchads.com | Web rendering, screenshots, PDFs |
https://mcp.apiforchads.com | MCP protocol endpoint |
Rate Limits
| Endpoint | Limit |
|---|---|
| Price/CLOB | 60/min |
| Research | 10/min |
| Render | 30/min |
Architecture
βββββββββββββββββββββββ
β Cloudflare Edge β
β (SSL + routing) β
ββββββββββββ¬βββββββββββ
β
ββββββββββββββββββΌβββββββββββββββββ
β β β
βββββββββββ΄βββ ββββββββββ΄ββββ ββββββββββ΄ββββ
β Price API β β Research β β Render API β
β :8100 β β API :8101 β β :8102 β
β β β β β β
β β’ Chainlinkβ β β’ Gemini β β β’ Playwrightβ
β β’ Binance β β β’ Google β β β’ Chromium β
β β’ CLOB β β β’ Search β β β’ SSRF prot β
ββββββββββββββ ββββββββββββββ ββββββββββββββ
β β β
ββββββββββββββββββΌβββββββββββββββββ
β
ββββββββββββ΄βββββββββββ
β MCP Server :8103 β
β (tool discovery) β
βββββββββββββββββββββββ
Built With
- MCP Python SDK β FastMCP streamable HTTP transport
- Chainlink β decentralized oracle price feeds
- Playwright β headless Chromium for JS rendering
- Gemini β AI research with Google Search grounding
- x402 β HTTP 402 micropayment protocol on Solana
- Cloudflare Tunnels β zero-trust networking
Self-Hosting
git clone https://github.com/chadbot0x/apiforchads-mcp.git
cd apiforchads-mcp
# Install dependencies
pip install mcp httpx
# Run the MCP server (connects to public APIs by default)
python server.py
To run the full stack (price + research + render APIs), see the self-hosting guide (coming soon).
Contributing
Issues and PRs welcome. If you build something cool with these tools, let us know.
License
Built by @chadbot0x Β· Powered by agents, for agents
