{"api":{"id":"api_dfbdb54a6a3c111fb9076984","slug":"dex-trading-volumes","name":"DEX Trading Volumes API","description":"Trading volume of every decentralised exchange DefiLlama tracks, across all chains or per chain: 24-hour, 7-day, 30-day, 1-year and all-time volume in US dollars, market share, rank, daily and weekly changes, category and chains.","kind":"ready_made","visibility":"public","domain":"api.llama.fi","source_url":"https://api.llama.fi/overview/dexs?excludeTotalDataChart=true&excludeTotalDataChartBreakdown=true","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":23,"created_at":"2026-12-06T03:33:09.198Z","updated_at":"2026-12-06T03:33:09.198Z","runnable":true},"version":"1.0","contract_hash":"c31cc34d1c9153e6afc10906a785fdc930fb3ad41bcb7e098d760bb9b8540457","fields":[{"name":"id","type":"string","description":"DefiLlama's id of the DEX.","required":true,"coverage":1,"example":"2198"},{"name":"name","type":"string","description":"Name of the DEX as DefiLlama lists it, such as Uniswap V3.","required":true,"coverage":1,"example":"Uniswap V3"},{"name":"url","type":"url","description":"The DEX's page on DefiLlama.","required":false,"coverage":1,"example":"https://defillama.com/protocol/uniswap-v3"},{"name":"slug","type":"string","description":"DefiLlama's short name for the DEX, as in its links, such as uniswap-v3.","required":false,"coverage":1,"example":"uniswap-v3"},{"name":"category","type":"string","description":"Kind of protocol, such as Dexs, Launchpad or Interface.","required":false,"coverage":1,"example":"Dexs"},{"name":"parent_protocol","type":"string","description":"The family the DEX belongs to, such as Uniswap for Uniswap V3.","required":false,"coverage":0.8,"example":"Uniswap"},{"name":"chains","type":"array","description":"Every chain the DEX runs on.","required":false,"coverage":1,"example":["Ethereum","Arbitrum"]},{"name":"chain","type":"string","description":"The chain these volumes are for, or All chains when the run has no chain filter.","required":true,"coverage":1,"example":"All chains"},{"name":"rank","type":"integer","description":"Rank by 24-hour volume among the DEXs on that chain, or on all chains (1 = most).","required":false,"coverage":1,"example":1},{"name":"total_24h","type":"number","description":"Trading volume in the last 24 hours (the latest day the source has counted), in US dollars.","required":false,"coverage":1,"example":3174379894},{"name":"total_7d","type":"number","description":"Trading volume in the last 7 days, in US dollars.","required":false,"coverage":1,"example":11636755834},{"name":"total_30d","type":"number","description":"Trading volume in the last 30 days, in US dollars.","required":false,"coverage":1,"example":34543251549},{"name":"total_1y","type":"number","description":"Trading volume in the last 365 days, in US dollars.","required":false,"coverage":1,"example":364409174097},{"name":"total_all_time","type":"number","description":"Trading volume since the source started counting the DEX, in US dollars.","required":false,"coverage":1,"example":2939345859210},{"name":"share_24h_pct","type":"number","description":"Share of the day's total DEX volume on that chain, or on all chains, in percent.","required":false,"coverage":1,"example":21.4862},{"name":"change_1d_pct","type":"number","description":"Change of the 24-hour volume against the day before, in percent.","required":false,"coverage":1,"example":28.98},{"name":"change_7d_pct","type":"number","description":"Change of the 24-hour volume against the same day a week earlier, in percent.","required":false,"coverage":1,"example":756.78},{"name":"change_1m_pct","type":"number","description":"Change of the 24-hour volume against the same day 30 days earlier, in percent.","required":false,"coverage":1,"example":83.51},{"name":"change_7d_over_7d_pct","type":"number","description":"Change of the last 7 days' volume against the 7 days before, in percent.","required":false,"coverage":1,"example":114.86},{"name":"change_30d_over_30d_pct","type":"number","description":"Change of the last 30 days' volume against the 30 days before, in percent.","required":false,"coverage":1,"example":3.62},{"name":"is_double_counted","type":"boolean","description":"True when this volume is also counted under another DEX (front ends, aggregators); market totals leave it out.","required":false,"coverage":1,"example":false},{"name":"methodology","type":"string","description":"How the source counts this DEX's volume, when it says.","required":false,"coverage":0.6,"example":"Swap volume, excluding wash trading: pools whose daily trades come from too few distinct addresses to be organic,…"},{"name":"logo","type":"image","description":"The DEX's logo.","required":false,"coverage":1,"example":"https://icons.llamao.fi/icons/protocols/uniswap-v3"}],"inputs":[{"name":"chains","type":"array","description":"Only volume on these chains, by name as DefiLlama lists them, such as Ethereum, Solana or Base. Each chain returns its own records with that chain's volume. Leave empty for volume across all chains.","example":["Ethereum"]},{"name":"protocols","type":"array","description":"Only these DEXs, by name as DefiLlama lists them, such as Curve DEX or Uniswap V3. A family name such as Uniswap keeps all its versions.","example":["Curve DEX"]},{"name":"categories","type":"array","description":"Only these kinds of protocol, such as Dexs for exchanges alone; others include Launchpad, Prediction Market, Derivatives and Interface. Leave empty for all.","example":["Dexs"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"category":{"description":"Kind of protocol, such as Dexs, Launchpad or Interface.","type":"string"},"chain":{"description":"The chain these volumes are for, or All chains when the run has no chain filter.","type":"string"},"chains":{"description":"Every chain the DEX runs on.","type":"array"},"change_1d_pct":{"description":"Change of the 24-hour volume against the day before, in percent.","type":"number"},"change_1m_pct":{"description":"Change of the 24-hour volume against the same day 30 days earlier, in percent.","type":"number"},"change_30d_over_30d_pct":{"description":"Change of the last 30 days' volume against the 30 days before, in percent.","type":"number"},"change_7d_over_7d_pct":{"description":"Change of the last 7 days' volume against the 7 days before, in percent.","type":"number"},"change_7d_pct":{"description":"Change of the 24-hour volume against the same day a week earlier, in percent.","type":"number"},"id":{"description":"DefiLlama's id of the DEX.","type":"string"},"is_double_counted":{"description":"True when this volume is also counted under another DEX (front ends, aggregators); market totals leave it out.","type":"boolean"},"logo":{"description":"The DEX's logo.","format":"uri","type":"string"},"methodology":{"description":"How the source counts this DEX's volume, when it says.","type":"string"},"name":{"description":"Name of the DEX as DefiLlama lists it, such as Uniswap V3.","type":"string"},"parent_protocol":{"description":"The family the DEX belongs to, such as Uniswap for Uniswap V3.","type":"string"},"rank":{"description":"Rank by 24-hour volume among the DEXs on that chain, or on all chains (1 = most).","type":"integer"},"share_24h_pct":{"description":"Share of the day's total DEX volume on that chain, or on all chains, in percent.","type":"number"},"slug":{"description":"DefiLlama's short name for the DEX, as in its links, such as uniswap-v3.","type":"string"},"total_1y":{"description":"Trading volume in the last 365 days, in US dollars.","type":"number"},"total_24h":{"description":"Trading volume in the last 24 hours (the latest day the source has counted), in US dollars.","type":"number"},"total_30d":{"description":"Trading volume in the last 30 days, in US dollars.","type":"number"},"total_7d":{"description":"Trading volume in the last 7 days, in US dollars.","type":"number"},"total_all_time":{"description":"Trading volume since the source started counting the DEX, in US dollars.","type":"number"},"url":{"description":"The DEX's page on DefiLlama.","format":"uri","type":"string"}},"required":["id","name","chain"],"title":"DEX Trading Volumes API","type":"object"},"samples":[{"id":"2198","name":"Uniswap V3","url":"https://defillama.com/protocol/uniswap-v3","slug":"uniswap-v3","category":"Dexs","parent_protocol":"Uniswap","chains":["Ethereum","Arbitrum","OP Mainnet","Polygon"],"chain":"All chains","rank":1,"total_24h":3174379894,"total_7d":11636755834,"total_30d":34543251549,"total_1y":364409174097,"total_all_time":2939345859210,"share_24h_pct":21.4862,"change_1d_pct":28.98,"change_7d_pct":756.78,"change_1m_pct":83.51,"change_7d_over_7d_pct":114.86,"change_30d_over_30d_pct":3.62,"is_double_counted":false,"methodology":"Swap volume, excluding wash trading: pools whose daily trades come from too few distinct addresses to be organic, unless every pool token is a core asset or CoinGecko-listed.","logo":"https://icons.llamao.fi/icons/protocols/uniswap-v3"},{"id":"5690","name":"Uniswap V4","url":"https://defillama.com/protocol/uniswap-v4","slug":"uniswap-v4","category":"Dexs","parent_protocol":"Uniswap","chains":["Ethereum","OP Mainnet","Base","Arbitrum"],"chain":"All chains","rank":2,"total_24h":1937343335,"total_7d":8441320975,"total_30d":27056664438,"total_1y":303814732315,"total_all_time":524057303666,"share_24h_pct":13.1131,"change_1d_pct":8.29,"change_7d_pct":215.93,"change_1m_pct":39.75,"change_7d_over_7d_pct":79.2,"change_30d_over_30d_pct":-14.14,"is_double_counted":false,"methodology":"Swap volume, excluding wash trading and swaps settled with no tokens changing hands.","logo":"https://icons.llamao.fi/icons/protocols/uniswap-v4"},{"id":"2769","name":"PancakeSwap AMM V3","url":"https://defillama.com/protocol/pancakeswap-amm-v3","slug":"pancakeswap-amm-v3","category":"Dexs","parent_protocol":"PancakeSwap","chains":["BSC","Ethereum","Polygon zkEVM","ZKsync Era"],"chain":"All chains","rank":3,"total_24h":952192630,"total_7d":4889801882,"total_30d":19713915718,"total_1y":255303605376,"total_all_time":1010907319123,"share_24h_pct":6.445,"change_1d_pct":-8.24,"change_7d_pct":158.55,"change_1m_pct":6.23,"change_7d_over_7d_pct":33.99,"change_30d_over_30d_pct":15.38,"is_double_counted":false,"methodology":null,"logo":"https://icons.llamao.fi/icons/protocols/pancakeswap-amm-v3"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"category":1,"chain":1,"chains":1,"change_1d_pct":1,"change_1m_pct":1,"change_30d_over_30d_pct":1,"change_7d_over_7d_pct":1,"change_7d_pct":1,"id":1,"is_double_counted":1,"logo":1,"methodology":0.67,"name":1,"parent_protocol":1,"rank":1,"share_24h_pct":1,"slug":1,"total_1y":1,"total_24h":1,"total_30d":1,"total_7d":1,"total_all_time":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.198Z","activated_at":"2026-12-06T03:33:09.198Z","active":true,"contract_hash":"c31cc34d1c9153e6afc10906a785fdc930fb3ad41bcb7e098d760bb9b8540457","fields_count":23}]}