{"x402_version":"0.5.0","service":"x402 Payment Gateway","description":"Pay-per-call premium data for autonomous AI agents, settled on Base (USDC) via HTTP 402.","resource":{"url":"https://x402.obolpay.xyz/api/v1/protected-data","method":"GET","description":"Premium autonomous core data. One micropayment per call.","product":"Obolpay Live Base Feed — signed, fresh, multi-category snapshots (demo product)","schema_version":"2.1"},"price":{"amount":"0.01","currency":"USDC","token_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6},"network":{"name":"base-mainnet","chain_id":8453},"recipient":"0x0d444D405dC168f29D66891383aa3542F5030057","payment":{"scheme":"x402","binding":"EIP-191 signature over 'x402:{domain}:{invoice_id}:{tx_hash}'","domain":"x402.obolpay.xyz","smart_wallet":"EIP-1271 (isValidSignature) supported","flow":["GET the resource URL -> 402 Payment Required with a JSON 'payment' challenge (invoice_id, amount, token_contract, recipient, chain_id).","Transfer the quoted USDC amount to `recipient` on Base from your wallet.","Sign the EIP-191 message 'x402:{domain}:{invoice_id}:{tx_hash}' with the paying key.","Re-request with headers X-Payment-Invoice-ID, X-Payment-Tx-Hash, X-Payment-Signature -> 200 OK with data."]},"docs":"https://x402.obolpay.xyz/docs","openapi":"https://x402.obolpay.xyz/openapi.json","reference_client":"https://x402.obolpay.xyz/client.py","mcp_server":"https://x402.obolpay.xyz/mcp-server.py","free_preview":"The 402 challenge includes a free 'preview' of the dataset so an agent can evaluate quality BEFORE paying.","proof_of_purchase":{"description":"Every successful 200 delivery includes a cryptographically signed 'receipt' (EIP-191) binding invoice_id, tx_hash, and a SHA-256 of the delivered data. Present it as verifiable proof of a legitimate purchase.","signer_address":"0xd50C176074fb94ED057f031C3Ebb6e2575433CA2","verify_endpoint":"https://x402.obolpay.xyz/verify-receipt"},"prepaid_balance":{"description":"Deposit USDC once, then make many GASLESS calls with off-chain signed vouchers — no on-chain tx or gas per call. Built for high-frequency habitual agent use.","topup":"POST https://x402.obolpay.xyz/account/topup {tx_hash} (after sending USDC to recipient)","balance":"GET https://x402.obolpay.xyz/account/{address}","spend":"GET /api/v1/protected-data with headers X-Account-Address, X-Account-Nonce, X-Account-Voucher (EIP-191 sig of 'x402-spend:{domain}:{address}:{nonce}:{amount_units}')"},"freshness_sla":{"description":"The 402 preview embeds a signed freshness attestation (EIP-191): content_sha256, generated_at, attested_at, age_seconds. Verify the data's age & integrity cryptographically before/after paying.","location":"402 response -> payment.preview.freshness","verify_endpoint":"https://x402.obolpay.xyz/verify-receipt","auto_refund":"If delivered data is older than 900s (SLA breach), the charge is auto-refunded to your prepaid balance (response.sla_refund). Objective, abuse-proof — pay only for fresh data."},"delta_delivery":{"description":"The dataset is an append-only feed (items have monotonic `seq`). Send header 'X-Since-Seq: <last seq you have>' to receive ONLY newer items — saves your context tokens on repeat purchases. The receipt still binds the FULL dataset hash.","start_from":"402 preview -> latest_seq","header":"X-Since-Seq"},"category_selection":{"description":"Multi-category feed. Request specific categories with '?types=gas,supply' (or header X-Query-Types). Per-category demand is tracked so the market reveals the most valuable data.","param":"?types=<comma-separated>"},"demand_stats":{"description":"Aggregated demand analytics — which categories agents actually pay for. `selected_product` = the market-validated most-valuable category.","endpoint":"https://x402.obolpay.xyz/stats"},"confirmation_policy":{"description":"Deposit/payment confirmations scale with amount to protect against reorgs: small amounts settle instantly; larger deposits wait for extra block confirmations.","tiers_usd":{"instant_below":1.0,"two_conf_below":20.0,"three_conf_at_or_above":20.0}}}