Query editor
WITH source AS (SELECThttp_get('https://app.rwa.xyz/_next/data/XUmYeIJiTacZc40jUW21O/stocks.json') AS raw)SELECTplatform,distributed_value_usd,ROUND(distributed_value_usd / 1000000, 2) AS distributed_value_mFROM (SELECT'Ondo' AS platform,TRY_CAST(regexp_extract(raw,'"href":"/platforms/ondo".*?"value":([0-9.]+),"value_7d_ago"',1) AS DOUBLE) AS distributed_value_usdFROM sourceUNION ALLSELECT'bStocks',TRY_CAST(regexp_extract(raw,'"href":"/platforms/bstocks".*?"value":([0-9.]+),"value_7d_ago"',1) AS DOUBLE)FROM sourceUNION ALLSELECT'xStocks',TRY_CAST(regexp_extract(raw,'"href":"/platforms/xstocks".*?"value":([0-9.]+),"value_7d_ago"',1) AS DOUBLE)FROM sourceUNION ALLSELECT'Securitize',TRY_CAST(regexp_extract(raw,'"href":"/platforms/securitize".*?"value":([0-9.]+),"value_7d_ago"',1) AS DOUBLE