Problems checking BTC current balance using blockchain.info's API, am I correct here?
Just ran almost the exact same code in perl and this works:

#!/usr/bin/perl

use WWW::Mechanize;

my $btcaddress = "1Enn7YW22vBGvCWrsPQN7vDhnQCYhy221V";

my $mech = WWW::Mechanize-&gt;new();
$mech-&gt;get("http://blockexplorer.com/q/getreceivedbyaddress/" . $btcaddress);   # Check transactions on each address as per masterlist
my $getreceived = $mech-&gt;content;

print $getreceived . "\n";

$mech-&gt;get("http://blockexplorer.com/q/addressbalance/".$btcaddress);   # Check balance on of each address as per master list
my $addressbalance = $mech-&gt;content;

print $addressbalance . "\n";


Note the address is a random one I found on blockchain.info.