I am building an online code storage platform for competitive programmers and need the code be executable on site. So I would require some online compilers which if provided with source code may return the results.
N.B: The compiler IDE itself need not be visible, I just want the results.
Is there any online compiler API such that if I input the source code, it would return the results (or any errors) upon compilation?
5.5k Views Asked by Saf At
4
There are 4 best solutions below
2

I have used https://rextester.com/main Its free and almost every language available
Edit : its paid now. Its seems to be author didn't get much donation.
1

If you want to a free compiler API (as of march 2023), check out this compiler: https://github.com/Jaagrav/CodeX-API
There are not so many languages supported, but the more popular ones are there. Also, the API is not the fastest, but does the job pretty well.
I got the answers. HackerEarth provides such facilities. Try out the following links - HackerEarth V3
And if theres anyone working on Node.js, explore this HackerEarth - Node.js Thanks anyone who tried to help.