Bitcoin Price Ticker Fix - PLEASE HELP!

I’m using this bitcoin price ticker that is using Mt.Gox but they’re no longer in service unfortunately. I’m trying to replace Mt.Gox with blockchain or something similar. Can anyone please help me fix this? I tried to replace the MtGox url with and but neither is working. I’m doing this for the site

        //first fetch the current rate from MtGox
        $ch = curl_init('');
                curl_setopt($ch, CURLOPT_REFERER, 'Mozilla/5.0 (compatible; MtGox PHP client; '.php_uname('s').'; PHP/'.phpversion().')');
                curl_setopt($ch, CURLOPT_USERAGENT, "CakeScript/0.1");
                curl_setopt($ch, CURLOPT_HEADER, 0);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
                curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
                $mtgoxjson = curl_exec($ch);

        //decode from an object to array
                $output_mtgox = json_decode($mtgoxjson);
                $output_mtgox_1 = get_object_vars($output_mtgox);
                $mtgox_array = get_object_vars($output_mtgox_1['ticker']);

Last:&nbsp;<?php echo $mtgox_array['last'];   ?><br/>
High:&nbsp;<?php echo $mtgox_array['high'];   ?><br/>
Low:&nbsp;&nbsp;<?php echo $mtgox_array['low'];   ?><br/>
Avg:&nbsp;&nbsp;&nbsp;<?php echo $mtgox_array['avg'];   ?><br/>
Vol:&nbsp;&nbsp;&nbsp;<?php echo $mtgox_array['vol'];   ?><br/>