{"uid":"cap_KWPIWsvzx4ceJZMZjN03R","slug":"x402-shizu-me-code-sandbox-691f28ec","name":"x402.shizu.me Code Sandbox","description":"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.","url":"https://x402.shizu.me/sandbox?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{},"language":{}}},"responseSchema":{"type":"json","example":{"error":null,"stderr":"","stdout":"42\n","results":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Om3Zma9tRWzvfstHtaNv8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes code in an isolated cloud sandbox and returns stdout, stderr, and results — supporting Python, JavaScript, Bash, R, and Java","exampleAgentPrompt":"Run this Python snippet in an isolated sandbox and give me back whatever it prints: `import math; print([math.factorial(n) for n in range(10)])`","exampleUseCases":[{"title":"Quick Python math computation","prompt":"Execute this Python code and tell me what it outputs: `import statistics; data = [12, 45, 7, 23, 89, 34]; print(statistics.mean(data), statistics.stdev(data))`"},{"title":"Untrusted bash script testing","prompt":"Run this bash snippet safely in an isolated sandbox and show me the stdout and any errors: `for i in $(seq 1 5); do echo \"Iteration $i\"; done`"},{"title":"JavaScript logic verification","prompt":"Execute this JavaScript code in a sandboxed environment and return the result: `const fib = n => n <= 1 ? n : fib(n-1)+fib(n-2); console.log(Array.from({length:10},(_,i)=>fib(i)));`"}],"resultDescription":"Returns a JSON object containing stdout (standard output text), stderr (standard error text), results (structured output if available), and error (error message if execution failed). Execution is hard-capped at 25 seconds wall-clock time, with a 100KB code input limit and 64KB output limit.","failureModes":["Execution timeout — code exceeds 25-second wall-clock limit","Code too large — input exceeds 100KB limit","Output too large — stdout/stderr exceeds 64KB limit","Unsupported language — language value not in {python, javascript, bash, r, java}","Runtime error — code throws an exception, returned in stderr/error fields","Network isolation — code attempting outbound network calls will fail silently or error"],"whenToPreferThis":"Choose this endpoint when you need to execute arbitrary code in a fully isolated, disposable environment without provisioning your own infrastructure. Ideal for agents that need to evaluate untrusted or user-supplied code, run quick computations, test scripts, or perform data analysis on the fly. Preferred over self-hosted runners when setup time, security isolation, or infrastructure costs matter. Best for short-lived, stateless executions under 25 seconds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:30:28.502Z","isFirstParty":false,"canonicalSlug":"x402-shizu-me-code-sandbox-691f28ec"}