Query editor
WITH response AS (SELECTHTTP_GET('https://api.coingecko.com/api/v3/simple/price?vs_currencies=usd&ids=sui&names=sui&symbols=sui&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true&precision=4&x_cg_demo_api_key=') AS data)SELECTJSON_EXTRACT(data, '$.sui.usd') AS price,JSON_EXTRACT(data, '$.sui.usd_market_cap') AS market_cap,JSON_EXTRACT(data, '$.sui.usd_24h_vol') AS vol_24hr,TRY_CAST(JSON_EXTRACT(data, '$.sui.usd_24h_change') AS double ) / 100 AS price_change_24h-- data AS raw_dataFROM response