'Is there any online compiler API such that if I input the source code, it would return the results (or any errors) upon compilation?

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.



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1