{"uid":"cap_0bO6QdSQFG2AP7XbRFyT_","slug":"x402-auteng-ai-3e2417df","name":"auteng.ai x402 On-Demand Compute Sandbox","description":"Execute python code in sandboxed environment (small tier)","url":"https://x402.auteng.ai/api/x402/compute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","description":"Code to execute in the sandbox"},"size":{"enum":["small","med","large"],"type":"string","default":"small","description":"Sandbox size: small (2 vCPU, 1GB), med (4 vCPU, 4GB), large (8 vCPU, 8GB)"},"files":{"type":"object","description":"Files to upload (filename → base64 content)","additionalProperties":{"type":"string"}},"stack":{"enum":["python","node"],"type":"string","default":"python","description":"Execution stack: python (Python 3.14) or node (Node.js 24 LTS)"},"timeout_seconds":{"type":"integer","minimum":1,"description":"Custom timeout in seconds (extra time charged per-second)"}}},"responseSchema":{"type":"json","example":{"size":"small","files":{},"stack":"python","stderr":"","stdout":"Hello from AutEng x402!\n","exit_code":0,"sandbox_id":"sbx_example123","execution_time_ms":234}},"example":{"request":{"code":"print('Hello from sandbox'); result = 2 + 2; print(f'2 + 2 = {result}')","size":"small","stack":"python"},"response":{"size":"small","files":{},"stack":"python","stderr":"","stdout":"Hello from sandbox\n2 + 2 = 4\n","exit_code":0,"sandbox_id":"iwwul78nccqhwtdefvlac","execution_time_ms":647}},"exampleRequest":{"code":"print('Hello from sandbox'); result = 2 + 2; print(f'2 + 2 = {result}')","size":"small","stack":"python"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xeZrm3eiF_xLCTUy8_t2e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes Python or Node.js code in an isolated paid sandbox environment, billed per-call via USDC on Base","exampleAgentPrompt":"Run this Python script in a small sandbox and give me the output: import math; primes = [x for x in range(2,100) if all(x%i!=0 for i in range(2,x))]; print(primes)","exampleUseCases":null,"resultDescription":"Returns a JSON object with stdout, stderr, exit_code, execution_time_ms, sandbox_id, sandbox size, stack used, and any output files (as a files map). On success exit_code is 0 and stdout contains program output.","failureModes":["Non-zero exit_code with stderr if code throws a runtime error or exception","Timeout error if execution exceeds the specified or default timeout","Payment failure if USDC balance is insufficient on Base (eip155:8453)","Invalid stack or size enum value returns a 422 validation error","Oversized file uploads may be rejected","Sandbox may fail to start for very large workloads on small size"],"whenToPreferThis":"Choose this endpoint when you need to execute arbitrary Python 3.14 or Node.js 24 code in a clean isolated sandbox without managing infrastructure, especially for pay-per-use workloads. Prefer it over self-hosted solutions when you want zero setup, per-call micropayment billing, and configurable compute sizes from 2 to 8 vCPUs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:35:51.586Z","isFirstParty":false}