Plume API
Utility

/exec

Run code and get the console output. If the program takes too long, it will exit automatically

GET
/exec

Query Parameters

language*string

The language

Value in"javascript" | "typescript" | "python" | "cpp" | "go" | "rust" | "java" | "shell" | "php" | "ruby" | "lua" | "elixir" | "zig" | "postgres" | "mysql" | "sqlite"
code*string

The code

Length1 <= length <= 2000

Response Body

application/json

application/json

application/json

curl -X GET "https://plume.sodiumlabs.xyz/api/exec?language=javascript&code=string"
{
  "success": true,
  "timeout": true,
  "duration": 0,
  "stdout": "string",
  "stderr": "string"
}
{
  "message": "string",
  "errors": [
    {
      "message": "string"
    }
  ]
}
{
  "message": "string"
}