Api Endpoint

execbox

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

Open interactive test console

Offering

Provider
execbox.xyz
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://execbox.xyz/execute
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
code-execution, sandbox, multi-language, compute, isolated

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x21ba2c2f9cb292cf72360776389099dd0e9a3ae0"
  }
]

Observed health

Status
Reachable
Latest latency
1182 ms
Average latency
913 ms
HTTP status
400
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "command_line_arguments": {
          "description": "Arguments passed to the compiled binary at runtime (e.g. \"--input file.txt\"). Leave empty or omit for most use cases. Do NOT put natural language here.",
          "type": "string"
        },
        "compiler_options": {
          "description": "Compiler flags passed to the compiler (e.g. \"-O2 -Wall\", \"-std=c17\"). Must start with \"-\". Leave empty or omit if unsure. Do NOT put natural language here.",
          "type": "string"
        },
        "language_id": {
          "description": "Judge0 language ID. GET /languages for valid IDs (e.g. 71=Python 3, 63=JavaScript, 50=C, 62=Java)",
          "type": "number"
        },
        "source_code": {
          "description": "Source code to execute (max 100,000 characters). Network access is disabled — code that opens sockets or makes HTTP requests will fail.",
          "type": "string"
        },
        "stdin": {
          "description": "Standard input passed to the program (optional)",
          "type": "string"
        }
      },
      "required": [
        "language_id",
        "source_code"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "exit_code": {
          "description": "Process exit code (null if killed)",
          "type": "number"
        },
        "language": {
          "properties": {
            "id": {
              "type": "number"
            },
            "name": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "memory": {
          "description": "Peak memory usage in kilobytes (KB). Tier limits in /pricing are expressed in MB — multiply by 1024 to compare.",
          "type": "number"
        },
        "status": {
          "properties": {
            "description": {
              "type": "string"
            },
            "id": {
              "description": "3=Accepted, 4=Wrong Answer, 5=Time Limit Exceeded, 6=Compilation Error, 7=Runtime Error (SIGSEGV), 8=Runtime Error (SIGXFSZ), 9=Runtime Error (SIGFPE), 10=Runtime Error (SIGABRT), 11=Runtime Error (NZEC), 12=Runtime Error (Other). Codes 1-2 (queued/processing) never appear in responses; codes 13-14 (infra errors) return HTTP 502 instead.",
              "type": "number"
            }
          },
          "type": "object"
        },
        "stderr": {
          "description": "Program standard error (null if none). Truncated at 4096 KB by the execution backend.",
          "type": "string"
        },
        "stdout": {
          "description": "Program standard output (null if none). Truncated at 4096 KB by the execution backend.",
          "type": "string"
        },
        "time": {
          "description": "Execution wall time in seconds, returned as a decimal string (e.g. \"0.023\")",
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}