{
  "id": "api:x402-e20d0c5c1cbf6f70",
  "kind": "api",
  "name": "agent402.tools/api/code-run",
  "description": "Execute Python or JavaScript code in a secure, isolated cloud sandbox. Returns stdout, stderr, and the expression result. No setup needed; pay per call via x402. 30s timeout, 10k char code limit. A run that hits the time limit is returned with timedOut: true and the output it printed, and is charged.",
  "category": "x402",
  "url": "https://agent402.tools/api/code-run",
  "price": null,
  "x402": true,
  "meta": {
    "network": "eip155:8453",
    "scheme": "exact",
    "pay_to": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "method": "POST",
    "last_updated": "2026-10-31T02:40:20.931Z"
  },
  "trust": null
}