CodeExec
CodeExec API is an Online Code Execution API that allows users to run arbitrary code without installing compilers/interpreters, and is much safer for those who wanted to build a service that requires running untrusted code, for example, an Online Judge or Online IDE.
CodeExec endpoints
| Method | Endpoint | Description |
|---|---|---|
| Submission & Task | ||
| POST |
Create Submission /submission |
Create submission and tasks |
| GET |
Get Submission /submission/{token} |
Get submission status |
| GET |
Get Task /task/{token} |
Get more detailed information about a specific task |
| Server Configurations | ||
| GET |
Get Langauges /languages |
Get supported languages |
| GET |
Get Language /language/{language_id} |
Get compile command and run command of a given language id |
| GET |
Get Config /config |
Get server configuration like maximum limits |
CodeExec pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 1 / second |
|
| PRO | $10 / month | — |
|
| ULTRA Recommended | $25 / month | — |
|
| MEGA | $50 / month | — |
|