- file_get_contents: documentation ( source)
<?php
function getBalance($address) {
return file_get_contents('https://blockchain.info/de/q/addressbalance/'. $address);
}
echo 'Address Balance: ' . getBalance('13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94');
?>