83trust / 100

Execute

by execbox in Developer tools

x402 APIPassing, checked 2 h ago

Execute code in any supported language. 5s CPU timeout, 128MB RAM. Supports 40+ languages including Python, JavaScript, C, C++, Java, Go, Rust.

POST https://execbox.xyz/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
294 ms typical, 294 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://execbox.xyz/execute" \
  -H "content-type: application/json" \
  -d '{"language_id":71,"source_code":"print(\"hello\")","stdin":""}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fexecbox.xyz%2Fexecute
const res = await pay("https://execbox.xyz/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language_id":71,"source_code":"print(\"hello\")","stdin":""}),
});
console.log(await res.json());

Example input

{
  "language_id": 71,
  "source_code": "print(\"hello\")",
  "stdin": ""
}

Example output

{
  "exit_code": 0,
  "language": {
    "id": 71,
    "name": "Python (3.8.1)"
  },
  "memory": 3456,
  "status": {
    "description": "Accepted",
    "id": 3
  },
  "stderr": "",
  "stdout": "hello\n",
  "time": "0.023"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402294 ms$0.002