Query editor
WITH raw AS (SELECTCAST(json_parse(http_get('https://data-api.polymarket.com/v1/builders/leaderboard?timePeriod=ALL&limit=100&offset=0'))AS array(json)) AS data),leaderboard AS (SELECTCAST(json_extract_scalar(entry, '$.rank') AS integer) AS rank,json_extract_scalar(entry, '$.builder') AS builder,CAST(json_extract_scalar(entry, '$.volume') AS double) AS volume_shares,CAST(json_extract_scalar(entry, '$.activeUsers') AS integer) AS active_users,CAST(json_extract_scalar(entry, '$.verified') AS boolean) AS verified,json_extract_scalar(entry, '$.builderLogo') AS builder_logoFROM rawCROSS JOIN UNNEST(data) AS t(entry))SELECT rank, builder, volume_shares, active_users, volume_shares / active_users as vol_per_userFROM leaderboardORDER BY rank