Bitcoin online game integration
The bitcoin software has it's own API.

Simply put, they run the bitcoind software and use RPC-JSON as the API.

EDIT : changed according to comment. Other implementations of Bitcoin also have their own APIs