# Sandboxd Code Run > Hosted one-shot code execution: send a snippet plus optional files, get stdout, stderr, exit code and artifacts back. Daytona execute-code compatible; no daemon to keep warm, priced per run. An HTTP API at https://sandboxd-code-run.saastemly.com, also an MCP server at https://sandboxd-code-run.saastemly.com/mcp, paid per call: with x402 (USDC on Base; an unpaid call answers 402 Payment Required with the terms, which x402 clients pay automatically), or with prepaid credits or a monthly plan bought by card at https://sandboxd-code-run.saastemly.com (send the API key as Authorization: Bearer ). ## Endpoints - POST /v1/execute-code ($0.002 per call; MCP tool "execute-code"): Runs Python, JavaScript or TypeScript code in an isolated one-shot sandbox and returns stdout, stderr, exit code and artifacts (Daytona CodeRunRequest/ExecuteResponse compatible) - POST /v1/execute-command ($0.002 per call; MCP tool "execute-command"): Runs a shell command in an isolated one-shot sandbox and returns stdout, stderr and the exit code (Daytona ExecuteRequest/ExecuteResponse compatible) ## Examples POST https://sandboxd-code-run.saastemly.com/v1/execute-code ```json { "code": "x = 10\ny = 20\nprint(f\"Sum: {x + y}\")", "language": "python", "timeout": 10 } ``` POST https://sandboxd-code-run.saastemly.com/v1/execute-command ```json { "command": "echo hello from the sandbox", "timeout": 10 } ``` ## More - [Pricing as JSON](https://sandboxd-code-run.saastemly.com/v1/pricing) - [MCP server](https://sandboxd-code-run.saastemly.com/mcp): Streamable HTTP; add it to an MCP client with the header Authorization: Bearer - [Home page](https://sandboxd-code-run.saastemly.com/)