# paid-md Clean, LLM-ready markdown for any public web page. Paid per call in USDC on base via x402. ## Free GET https://paid-md.hihat.workers.dev/md?url=https://example.com&free=1 (3/hour per IP; or send X-Free: 1) ## Paid GET https://paid-md.hihat.workers.dev/md?url=https://example.com raw text/markdown, token counts in x-tokens-* headers GET https://paid-md.hihat.workers.dev/md?url=https://example.com&format=json { url, title, markdown, tokens_in, tokens_out, saved_pct } Price: 2000 atomic USDC (0.002 USDC) On 402, read PAYMENT-REQUIRED (x402 v2, network eip155:8453) or the JSON body (x402 v1, network base), sign an EIP-3009 transferWithAuthorization, retry with the base64 payload in PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1). ## Paid: POST /extract Price: 5000 atomic USDC Body: { "url": "https://...", "schema": { ... } } (or "text" instead of "url") Returns: { "data": ... } ## Paid: POST /research Price: 20000 atomic USDC Body: { "url": "https://...", "depth": 5, "schema": { ... } } or { "urls": ["https://a", "https://b"], "schema": { ... } } (explicit list, no crawl, one parallel round) Returns: { "data": ..., "sources": [...], "saved_pct": 98.1 } ## Other GET https://paid-md.hihat.workers.dev/swap?to=0x... -> redirect to a swap with referral GET https://paid-md.hihat.workers.dev/.well-known/x402