Wild APIs

Code Execution APIs

Code execution APIs compile and run source code remotely so you don't have to host your own sandbox. Judge0 CE judges submissions across 60+ languages with resource limits and needs no key, and Compiler Explorer is free, returning assembly as well as run output across thousands of compiler versions. JDoodle covers 100+ languages with WebSocket streaming. Codeforces is different: read-only competitive programming data such as ratings and contests.
5 listings of 131 in catalogue
APIPricingAuthFormatFree tierStatus
CodeforcesCompetitive programming data: user ratings, contest results, problems, and submissions.
Developer Tools › Code Execution
NoneJSON—Live
Compiler Explorer (godbolt.org)Compiles code in 80+ languages across thousands of compiler versions, returning assembly and run output.
Developer Tools › Code Execution
FreeNoneJSONUnlimitedLive
HackerEarth Code Evaluation APICompiles and runs submitted code in many languages asynchronously, with status/result lookup by submission id.
Developer Tools › Code Execution
FreemiumAPI keyJSON—Untested
JDoodle Compiler APIRuns programs in 100+ languages on remote sandboxes and returns output, with stdin and WebSocket streaming.
Developer Tools › Code Execution
FreemiumAPI keyJSON<100/dayUntested
Judge0 CESandboxed code execution and judging across 60+ languages, with compile/runtime status and resource limits.
Developer Tools › Code Execution
FreemiumNoneJSON—Live

Choosing a Code Execution API

Is there a free Code Execution API?

Yes. Compiler Explorer (godbolt.org) is free to use, and Judge0 CE, JDoodle Compiler API and HackerEarth Code Evaluation API have a free tier alongside paid plans.

Which Code Execution APIs work without an API key?

Judge0 CE, Compiler Explorer (godbolt.org) and Codeforces need no key or sign-up, so you can try them with a plain request.

Can I call a Code Execution API from front-end JavaScript?

Judge0 CE, Compiler Explorer (godbolt.org) and Codeforces allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.

Can I use Code Execution APIs in a commercial project?

Judge0 CE and JDoodle Compiler API permit commercial use.

More in Developer Tools: Mock & Test APIs · Monitoring APIs · Web Scraping APIs · Package Registries APIs · API Directories APIs · WHOIS & DNS APIs · SEO APIs · Search & SERP APIs · Hosting APIs