sandbox
code
execute
python
interpreter
compute
run
repl
agent

Code Sandbox ($0.018/call)

Run code in an isolated cloud sandbox and get its output — agents can't self-host this. POST {code, language?}. language: python (default), javascript, bash, r, java. Returns stdout, stderr, results, error. Hard-capped: 25s wall-clock, 100KB code, 64KB output, fully isolated.

Paid endpoint: $0.018 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

post/sandbox

Request

  • Base URL: https://x402.shizu.me
  • URL: https://x402.shizu.me/sandbox
  • Auth: none declared

Response

Paid result (JSON)

Changes

No recorded changes to this operation across all 1 revision of this API.