After some back and forth with ghash.io (cex.io) they did mention they are able to provide an API for mining to developers at their discretion.
Maybe you could reach out to them (via support on cex.io) and try to get access? You'll need to be specific that it is not their public API rather their mining API for ghash.io as they were initially confused.
Daniel F.
Daniel F. (CEX.IO)
Dec 13 13:59 (EET)
Hi,
Thank you for your request.
We do have an API live report for mining information.
This information can be accessed, and is available for developers to use upon request, at our discrepancy.
Let us know if we can assist you with anything else.
Thank You
Daniel F.
CEX.IO Support