API Access

To use any of Coinhive's APIs, you have to sign up for an account. A public site key and a private secret key will be generated for you.

The site key has to be specified for all client side operations in the browser (i.e. the JavaScript Miner and the Captcha). The secret key can be used for communication from your server to ours through the HTTP API.

JavaScript Miner

Embed, control and get status information from the JavaScript miner on your webpage


Verify tokens, get and withdraw user balances and programmatically create shortlinks


Display, customize and verify the Proof Of Work Captcha

© 2017 – ContactTerms of ServicePrivacyBlog