Crypto Mining has some possibilities maybe.

There’s an open source browser based miner available on github.

Old but may still be valid. has some kind of way we can get users to do mining on the site using their browsers.
ECMining is using the API and there seems to be a windows app too. is another possibility, has an api. Info is on this page (may need to sign up to get that)