POST
Fetch one HTTPS URL and pay its x402 price from the wallet

Authorizations

X-Engine-Key
string
header
required

The shared engine key (ENGINE_API_KEY). Internal routes only.

X-Wallet-Token
string
header
required

The run's wallet token (wt_…, 15 minutes), naming one user and one Mind. Internal routes only.

Body

application/json
url
string
required

https URL

maxAmount
string
required

Decimal string, e.g. "1.50"

method
enum<string>
default:GET
Available options:
GET,
POST
body
string

At most 20,000 characters

Response

{ paid, status, price?: { amount, token, payTo }, paymentId?, txHash?, explorer?, reason?: "no_payment_option_on_this_chain" | "over_max_amount" | "payment_failed", contentType?, body? }. 400 invalid_url | https_only | unresolvable_host | private_host; 503 seller_unreachable