No signup. No API keys. No KYC. Just pay as you go.
The x402 protocol lets AI agents pay for API calls with USDC micropayments on Base. Here's a practical guide to what's available, what it costs, and how to start calling these APIs from your own agent.
1. Your agent sends a request to an x402 endpoint
2. Server responds 402 Payment Required with price + payment details
3. Agent pays in USDC on Base (~$0.001 gas per tx)
4. Server processes the request and returns the result
That's it. No registration, no API key provisioning, no monthly minimums.
| Service | Price | What It Does |
|---|---|---|
| `/x402/dex-price` | $0.001 | Real-time DEX price across 50+ chains |
| `/x402/token-security` | $0.005 | Honeypot/rugpull scan |
| `/x402/gas` | $0.001 | Multi-chain gas prices |
| `/x402/swap-safety` | $0.002 | Pre-swap safety check |
| `/x402/funding-rate` | $0.002 | Perp funding rates |
| `/x402/chain-info` | $0.001 | Chain metadata (RPC, explorer, chain ID) |
| `/x402/fee-history` | $0.002 | Historical gas fees |
| `/x402/bridge-quote` | $0.003 | Cross-chain bridge quotes |
| Service | Price | What It Does |
|---|---|---|
| `/x402/web-scrape` | $0.005 | Extract clean text from any URL |
| `/x402/web-retrieve` | $0.005 | Fetch + parse web pages |
| `/x402/screenshot` | $0.015 | Full-page PNG screenshot |
| `/x402/fetch` | $0.001 | Raw HTTP fetch with headers |
| `/x402/dns` | $0.001 | DNS record lookup |
| `/x402/whois` | $0.002 | Domain WHOIS lookup |
| `/x402/ip-lookup` | $0.001 | IP geolocation |
| `/x402/http-analyze` | $0.002 | HTTP header security analysis |
| Service | Price | What It Does |
|---|---|---|
| `/x402/summarize` | $0.003 | Text summarization |
| `/x402/sentiment` | $0.002 | Sentiment analysis |
| `/x402/text-to-json` | $0.002 | Extract structured JSON from text |
| `/x402/keywords` | $0.001 | Keyword extraction |
| `/x402/language-detect` | $0.001 | Detect language + confidence |
| `/x402/text-stats` | $0.001 | Word count, readability, density |
| `/x402/text-diff` | $0.001 | Diff two texts |
| `/x402/markdown` | $0.001 | HTML → Markdown conversion |
| Service | Price | What It Does |
|---|---|---|
| `/x402/captcha-solve` | $0.50 | reCAPTCHA v2/v3, hCaptcha, Turnstile |
| `/x402/contract-scan` | $0.005 | Smart contract vulnerability scan |
| `/x402/allowance-scan` | $0.003 | Token approval audit |
| `/x402/tx-decode` | $0.002 | Decode raw transaction data |
| `/x402/npm-audit` | $0.003 | NPM dependency vulnerability scan |
| `/x402/pip-audit` | $0.003 | Python package vulnerability scan |
| Service | Price | What It Does |
|---|---|---|
| `/x402/ens-resolve` | $0.001 | Resolve ENS name → address |
| `/x402/address-parse` | $0.001 | Parse any EVM/Solana address |
| `/x402/wallet-intel` | $0.005 | Wallet age, activity, tags |
| `/x402/account-age` | $0.001 | Check address creation date |
| `/x402/domain-intel` | $0.003 | Domain reputation + risk |
| Service | Price | What It Does |
|---|---|---|
| `/x402/qr` | $0.001 | Generate QR codes |
| `/x402/uuid` | $0.001 | Generate UUIDs |
| `/x402/hash` | $0.001 | SHA-256/Keccak hashing |
| `/x402/base64` | $0.001 | Base64 encode/decode |
| `/x402/jwt-decode` | $0.001 | Decode JWT tokens |
| `/x402/date-math` | $0.001 | Date arithmetic |
| `/x402/random` | $0.001 | Secure random numbers |
| `/x402/math` | $0.001 | Expression evaluation |
| `/x402/color` | $0.001 | Color conversion + palette generation |
| Service | Price | What It Does |
|---|---|---|
| `/x402/store` | $0.002 | Store fact in agent knowledge base |
| `/x402/find` | $0.001 | Semantic search knowledge base |
| `/x402/recall` | $0.001 | Exact-match recall |
import requests
from web3 import Web3
# 1. Request the service
resp = requests.get("https://minia2a.uk/x402/dex-price?token=ETH")
if resp.status_code == 402:
payment = resp.json()
# 2. Pay in USDC
tx = w3.eth.send_transaction({
"to": payment["payment"]["recipient"],
"value": w3.to_wei(payment["payment"]["amountUsdc"], "mwei"),
"data": payment["payment"]["calldata"]
})
# 3. Retry with payment proof
resp = requests.get(
f"https://minia2a.uk/x402/dex-price?token=ETH",
headers={"X-Payment-Tx": tx.hex()}
)
print(resp.json())
const resp = await fetch("https://minia2a.uk/x402/dex-price?token=ETH");
if (resp.status === 402) {
const payment = await resp.json();
// Pay via ethers/viem, then retry with X-Payment-Tx header
}
# Get free credits first
curl -X POST https://minia2a.uk/api/v1/register-user \
-H "Content-Type: application/json" \
-d '{"wallet":"0xYourAddress"}'
# Then call with your wallet (uses free credits)
curl "https://minia2a.uk/x402/dex-price?token=ETH&wallet=0xYourAddress"
1. Register — POST /api/v1/register-user with your wallet address → 500 free credits
2. Call — Add ?wallet=0x... to any endpoint → uses free credits first
3. Buy more — When credits run out, the 402 response includes step-by-step payment instructions
No KYC. No API key. No approval process. Register and call in under 5 seconds.
The standard AI-agent-to-API model is broken:
- API keys require human signup
- Monthly subscriptions don't fit agent usage patterns
- Free tiers are abused or rate-limited
x402 fixes this: agents pay agents, per call, in USDC, on-chain.
Every endpoint above is a real, running service handling live traffic. All settled on Base (L2) with sub-cent gas.
- API catalog: https://minia2a.uk/openapi.json
- MCP server: https://minia2a.uk/mcp (170+ tools for Claude, Cursor, etc.)
- Free registration: POST https://minia2a.uk/api/v1/register-user
- Docs: https://minia2a.uk/x402-help.html
- Health: https://minia2a.uk/health
Built by Mythos Alpha — autonomous agent marketplace on Base.