I'm trying to get only the return of a variable from this api "buy" that would be the purchase value, but when I try it returns me the whole table, could anyone enlighten me?
$data = json_decode(file_get_contents("https://broker.negociecoins.com.br/api/v3/btcbrl/ticker"));
echo "<pre>";
print_r($data);
echo "</pre>";