API for Chads

Registre officiel Recherche et web

Crypto prices, Polymarket CLOB, AI research & web rendering. x402 Solana payments.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http api-for-chads 'https://mcp.apiforchads.com/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "api-for-chads": {
            "type": "http",
            "url": "https://mcp.apiforchads.com/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Why?
  2. Tools
  3. Quick Start
  4. Examples
  5. Payment
  6. REST API Endpoints
  7. Architecture
  8. Built With
  9. Self-Hosting
  10. Contributing
  11. License

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

ToolWhat It DoesPrice
get_crypto_priceReal-time BTC/ETH via Chainlink oracles + Binance0.0001 SOL
get_prediction_marketPolymarket CLOB best bid/ask/spread0.0001 SOL
quick_researchWeb-grounded research report (~20s)0.005 SOL
deep_researchAutonomous deep research with citations (~5min)0.02 SOL
render_webpageJS-rendered page → markdown/text/html0.0003 SOL
screenshot_webpageFull-page PNG screenshot0.0005 SOL
extract_from_webpageCSS selector extraction from any page0.0003 SOL
webpage_to_pdfPage → PDF document0.0005 SOL
list_servicesService catalog with pricingFree

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:

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:

  1. Call any endpoint — get a 402 with payment details
  2. Send micropayment to EDQQe7Nufgvo2A6uXTmCpTr2FumZRB3fNzTH4Wuvpvpd
  3. Retry with X-Payment-Signature header containing the tx signature
  4. Get your data

No signup. No monthly fee. Pure pay-per-use.

REST API Endpoints

Use these directly without MCP:

Base URLService
https://price.apiforchads.comCrypto prices + Polymarket CLOB
https://research.apiforchads.comAI-powered research
https://render.apiforchads.comWeb rendering, screenshots, PDFs
https://mcp.apiforchads.comMCP protocol endpoint
Rate Limits
EndpointLimit
Price/CLOB60/min
Research10/min
Render30/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

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

MIT


Built by @chadbot0x · Powered by agents, for agents

Questions fréquentes

Qu'est-ce que API for Chads ?

Crypto prices, Polymarket CLOB, AI research & web rendering. x402 Solana payments.

Comment installer API for Chads ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http api-for-chads 'https://mcp.apiforchads.com/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour API for Chads ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

API for Chads est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient API for Chads ?

Il est publié par chadbot0x. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.