{"uid":"cap_kbOWyk3NYoluWL-icYwr8","slug":"robotshop-isolated-javascript-python-code-runner-c3c30bab","name":"RobotShop Isolated JavaScript/Python Code Runner","description":"Real working isolated runtime sandbox that securely executes JavaScript/Python code snippets for autonomous agents with strict memory limits and 3000ms timeout.","url":"https://robotshop.up.railway.app/api/v1/products/prod-sandbox-code-runner/buy?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"client_id":{"type":"string","description":"Optional calling agent or client ID"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z0-DFfcY58pfrKOesStCL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes JavaScript or Python code snippets in a secure, isolated sandbox with strict memory limits and a 3000ms timeout, designed for autonomous agent use.","exampleAgentPrompt":"Run this Python snippet for me in a secure sandbox and return the output: `result = sum(range(1, 101)); print(result)`","exampleUseCases":[{"title":"Dynamic calculation in agent workflow","prompt":"I need you to execute this JavaScript snippet safely and give me the result: `const fib = n => n <= 1 ? n : fib(n-1)+fib(n-2); console.log(fib(10));`"},{"title":"Validate generated Python code","prompt":"Can you run this Python code I generated in a safe sandbox to make sure it works correctly before I deploy it? Here it is: `import json; data = {'key': 'value'}; print(json.dumps(data))`"},{"title":"Safe user-submitted script execution","prompt":"A user submitted this JavaScript snippet — run it in an isolated environment with a timeout and tell me what it outputs: `let arr = [3,1,4,1,5,9]; arr.sort((a,b)=>a-b); console.log(arr);`"}],"resultDescription":"Returns the output (stdout), execution status (success or error), and any error messages or exceptions from running the provided code snippet within the 3000ms timeout and memory constraints.","failureModes":["Timeout error if code execution exceeds 3000ms","Memory limit exceeded if code uses too much RAM","Syntax error returned if code is malformed","Runtime exception propagated if code throws an unhandled error","Network error or 402 payment required if USDC payment fails"],"whenToPreferThis":"Choose this endpoint when you need to safely execute untrusted or agent-generated JavaScript or Python code in a fully isolated runtime, especially when you need guaranteed timeout enforcement (3000ms) and memory limits to prevent runaway execution. Prefer it over local execution when security isolation is required or when running code from external or user-provided sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:49.365Z","isFirstParty":false,"canonicalSlug":"robotshop-isolated-javascript-python-code-runner-c3c30bab"}