{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_dfbdb54a6a3c111fb9076984/run","openapi":"https://pullrow.dev/v1/apis/api_dfbdb54a6a3c111fb9076984/openapi.json","contract":"https://pullrow.dev/v1/apis/api_dfbdb54a6a3c111fb9076984/contract.json","page":"https://pullrow.dev/catalog/dex-trading-volumes"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Volumes are DefiLlama's own counts, in US dollars, and each DEX is counted its own way (some leave out wash trading); methodology says how when the source explains it, for under half of the DEXs.","The 24-hour figure is the latest day the source has counted, and recent days can still be revised. Change figures are empty for about 4 in 10 DEXs.","The list also holds prediction markets, launchpads, trading apps and front ends that report trading volume; set categories to Dexs for exchanges alone. is_double_counted marks volume counted again under another DEX; the market total behind share_24h_pct leaves it out.","About 4 in 10 listed DEXs had no volume in the last day; they rank last.","A chain filter reads one more request per chain, and every total is then that chain's volume only. The source's free tier is rate limited, and the API stops if it is asked to slow down.","Figures come from DefiLlama's free open data; DefiLlama appreciates credit (defillama.com) when you publish them."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"DefiLlama's id of the DEX.","group":"Technical","shown":false,"written":false},{"name":"name","label":"Name","description":"Name of the DEX as DefiLlama lists it, such as Uniswap V3.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The DEX's page on DefiLlama.","group":"Links","shown":true,"written":false},{"name":"slug","label":"Slug","description":"DefiLlama's short name for the DEX, as in its links, such as uniswap-v3.","group":"Basics","shown":true,"written":false},{"name":"category","label":"Category","description":"Kind of protocol, such as Dexs, Launchpad or Interface.","group":"Basics","shown":true,"written":false},{"name":"parent_protocol","label":"Parent protocol","description":"The family the DEX belongs to, such as Uniswap for Uniswap V3.","group":"Basics","shown":true,"written":false},{"name":"chains","label":"Chains","description":"Every chain the DEX runs on.","group":"Basics","shown":true,"written":false},{"name":"chain","label":"Chain","description":"The chain these volumes are for, or All chains when the run has no chain filter.","group":"Basics","shown":true,"written":false},{"name":"rank","label":"Rank","description":"Rank by 24-hour volume among the DEXs on that chain, or on all chains (1 = most).","group":"Basics","shown":true,"written":false},{"name":"total_24h","label":"Total 24h","description":"Trading volume in the last 24 hours (the latest day the source has counted), in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_7d","label":"Total 7d","description":"Trading volume in the last 7 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_30d","label":"Total 30d","description":"Trading volume in the last 30 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_1y","label":"Total 1y","description":"Trading volume in the last 365 days, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"total_all_time","label":"Total all time","description":"Trading volume since the source started counting the DEX, in US dollars.","group":"Dates","shown":true,"written":false},{"name":"share_24h_pct","label":"Share 24h (%)","description":"Share of the day's total DEX volume on that chain, or on all chains, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_1d_pct","label":"Change 1d (%)","description":"Change of the 24-hour volume against the day before, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_7d_pct","label":"Change 7d (%)","description":"Change of the 24-hour volume against the same day a week earlier, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_1m_pct","label":"Change 1m (%)","description":"Change of the 24-hour volume against the same day 30 days earlier, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_7d_over_7d_pct","label":"Change 7d over 7d (%)","description":"Change of the last 7 days' volume against the 7 days before, in percent.","group":"Basics","shown":true,"written":false},{"name":"change_30d_over_30d_pct","label":"Change 30d over 30d (%)","description":"Change of the last 30 days' volume against the 30 days before, in percent.","group":"Basics","shown":true,"written":false},{"name":"is_double_counted","label":"Double counted","description":"Yes when this volume is also counted under another DEX (front ends, aggregators); market totals leave it out.","group":"Basics","shown":true,"written":false},{"name":"methodology","label":"Methodology","description":"How the source counts this DEX's volume, when it says.","group":"Basics","shown":true,"written":false},{"name":"logo","label":"Logo","description":"The DEX's logo.","group":"Media","shown":true,"written":false}],"inputs":[{"name":"chains","label":"Chains","help":"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","written":false},{"name":"protocols","label":"Protocols","help":"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","written":false},{"name":"categories","label":"Categories","help":"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","written":false}]}},"incidents":[]}