← Back to all APIs

Cargo Run

$0.002

Run any app from a zip URL. One call buys up to an hour: your zip is fetched and run from entrypoint.sh at its root. Poll the free result endpoint for stdout/stderr, exit code, timings. Zip ≤50 MB, ≤250 MB unpacked. Results kept 7 days; extend with the same zip URL + job_id. A bad zip is reported, not refunded, and still charged. Price $0.002–$0.10, shown before you pay.

POST https://x402.freeq.one/tools/cargo_run
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/cargo_run \ -H "Content-Type: application/json" \ -d '{"zip_url":"https://x402.freeq.one/samples/hello.zip","job_id":"job_abc123"}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.