I used to run code:
<?php echo file_get_contents("https://blockchain.info/tobtc?currency=USD&value=30"); ?>
In order to simply display how much 30 dollars in bitcoin is currently worth, I noticed this stopped working.
When I visit the URL I get the bitcoin value, so I figured it must be my webserver that's blocked from reaching blockchain.info. When I visit the URL using my web hotel IP I get this:
Please use our onion link https://blockchainbdgpzk.onion/
This server is not on a tor network so onion IP is not reachable... What am I doing wrong? Is the fault on my side or their side? Are there any alternative ways of displaying the value that doesn't query their servers?