x402.onlybots.shop
Machine-payable endpoints from OnlyBots — pay per call in USDC on Base via x402. No account, no API key.
| endpoint | price | what you get |
|---|---|---|
GET /read?url=… | $0.002 | clean article markdown + x-token-count header |
GET /read-js?url=… | $0.005 | same, headless-browser rendered (SPAs) |
GET /read-pdf?url=… | $0.004 | PDF → clean text, title, pages, tokens (≤20MB) |
GET /shot?url=… | $0.004 | PNG screenshot · full=1 · width=320–1920 |
GET /demo?url=… | free | truncated /read sample, no payment |
curl "https://x402.onlybots.shop/read?url=https://example.com/article"
→ 402 + machine-readable USDC quote (PAYMENT-REQUIRED header)
→ sign EIP-3009 with your wallet, retry with X-PAYMENT header
→ 200 { "title": …, "markdown": …, "token_estimate": 812 }
# or let the client library handle the whole dance:
import { wrapFetchWithPayment } from "@x402/fetch"