Query editor
WITH source AS (SELECT json_parse(http_get('https://omni-client-api.prod.ap-northeast-1.variational.io/metadata/stats')) AS body)SELECT json_extract_scalar(listing, '$.ticker') AS market,CAST(json_extract_scalar(listing, '$.volume_24h') AS double) AS volume_24h_usdc,current_timestamp AS fetched_atFROM source CROSS JOIN UNNEST(CAST(json_extract(body, '$.listings') AS array(json))) AS t(listing)ORDER BY volume_24h_usdc DESC