<?php
$json = '{"status":{"timestamp":"2021-12-04T13:02:58.558Z","error_code":0,"error_message":null,"elapsed":22,"credit_count":1,"notice":null,"total_count":7934},"data":[{"id":1,"name":"Bitcoin","symbol":"BTC","slug":"bitcoin","num_market_pairs":8308,"date_added":"2013-04-28T00:00:00.000Z","tags":["mineable","pow","sha-256","store-of-value","state-channel","coinbase-ventures-portfolio","three-arrows-capital-portfolio","polychain-capital-portfolio","binance-labs-portfolio","blockchain-capital-portfolio","boostvc-portfolio","cms-holdings-portfolio","dcg-portfolio","dragonfly-capital-portfolio","electric-capital-portfolio","fabric-ventures-portfolio","framework-ventures-portfolio","galaxy-digital-portfolio","huobi-capital-portfolio","alameda-research-portfolio","a16z-portfolio","1confirmation-portfolio","winklevoss-capital-portfolio","usv-portfolio","placeholder-ventures-portfolio","pantera-capital-portfolio","multicoin-capital-portfolio","paradigm-portfolio"],"max_supply":21000000,"circulating_supply":18890987,"total_supply":18890987,"platform":null,"cmc_rank":1,"last_updated":"2021-12-04T13:02:02.000Z","quote":{"USD":{"price":47201.84236157637,"volume_24h":62618418378.936775,"volume_change_24h":94.4686,"percent_change_1h":1.04215459,"percent_change_24h":-17.01631179,"percent_change_7d":-13.77003006,"percent_change_30d":-23.77721437,"percent_change_60d":-5.46384951,"percent_change_90d":-5.79607754,"market_cap":891689390428.5885,"market_cap_dominance":40.5598,"fully_diluted_market_cap":991238689593.1,"last_updated":"2021-12-04T13:02:02.000Z"}}}]}';
$array = json_decode($json,true);
print_r($array);
preferences:
45.64 ms | 405 KiB | 5 Q