v2

latestOpenAPI 3.0.12026-07-2658122198.9 KB

Fetch a web page with X402 payment

X402 payment endpoint. First request returns 402 with payment requirements. Retry with PAYMENT-SIGNATURE header containing cryptographic proof to get the actual data. See https://x402.gitbook.io/x402 for protocol details.

post/x402/web/fetch

Headers

PAYMENT-SIGNATUREstring

Base64-encoded JSON containing payment proof (x402Version, resource, accepted payment method, and cryptographic payload with signature and payer address)

Request body

urlstring required
stealth'none' | 'auto' | 'ultra'

Response

Page fetched successfully (after valid payment)

jobIdstring required
status'completed' | 'failed' | 'pending' | 'running' required
errorstring nullable