web3wagmi

Dune: Community Dashboards for On-Chain Data

Dune explained: SQL dashboards over indexed blockchain data, what the free tier covers, how credits are billed, and how to vet a dashboard.

Last verified

Table of contents

Almost every on-chain metric you have seen in a thread was probably built on Dune. It is the platform where anyone can query blockchain data with SQL and publish a dashboard, and where most of those dashboards are free to view. Want protocol revenue, token flows, or a bespoke metric no product ships? Someone has likely built it on Dune, or you can. Here is how it works, the free versus paid split, and how to get value without writing a line of SQL.

What is Dune?

Dune is a platform for querying and visualizing on-chain data using SQL. It indexes blockchain data into queryable tables, lets anyone write queries and build dashboards, and makes most public dashboards free to view. The result is the deepest library of community-built crypto analytics anywhere, covering protocols, tokens, NFTs, chains, and narratives that no packaged product tracks.

Its power is openness. If a metric can be derived from on-chain data, it can be built on Dune, and if someone already built it, you can read it for free. Just as important, the SQL behind every public chart is visible, so you can audit how a number was produced instead of taking a vendor's word for it. That single property, transparency of method, is what separates Dune from most analytics products in crypto.

Dune analytics illustration with blockchain blocks entering an indexer, tables becoming dashboard charts, credit costs, and a lens checking misleading metrics

Data lens: The useful workflow turns raw blocks into indexed tables, then treats every dashboard as a query and methodology that still has to be checked.

How Dune actually works

Blockchains do not store analytics. They store blocks, transactions, and event logs, in formats designed for verification, not for aggregation. Dune runs the pipeline that turns one into the other, and understanding the three layers of that pipeline explains most of what you can and cannot do on the platform.

Raw tables are the chain as it arrives: blocks, transactions, logs, and traces (internal calls). They are complete and neutral, and they are painful to query directly, because event data arrives as hex-encoded blobs.

Decoded tables are the layer that makes Dune usable. When a contract's ABI is submitted, Dune decodes its events and function calls into named columns, so a swap event becomes a row with token addresses and amounts as real fields. Each contract family gets its own namespace of tables. This is why a brand new protocol sometimes has no usable Dune data for a while: nobody has submitted the ABI yet, or the protocol deployed a new contract version and the old decoded table quietly stopped filling up.

Spellbook models sit on top. Spellbook is Dune's open-source dbt project of curated abstractions, maintained in public. It normalises dozens of protocol-specific decoded tables into shared models: one table for DEX trades across many protocols and chains, one for NFT trades, one for token metadata, one for USD prices. Querying a Spellbook model instead of hand-rolling a union of event tables saves a great deal of work and, more usefully, makes your numbers directly comparable to what everyone else publishes.

Queries run on DuneSQL, a Trino-based engine built for large columnar scans. The practical consequence is that query cost tracks how much data you touch. Filtering on block time so the engine can skip partitions is the difference between a query that returns in seconds and one that eats your credit balance. Anyone who has worked with an indexer such as The Graph will recognise the shape of the trade-off: Dune gives you ad-hoc analytical freedom, a subgraph gives you cheap repeated reads of a fixed schema.

The tables you will actually use

Once you can write basic SQL, the remaining learning curve on Dune is knowing which table to point it at. A handful of table families cover most real questions, and picking the right layer saves both time and credits.

Table familyLayerWhat it answersWatch out for
Blocks and transactionsRawActivity counts, gas spend, sender behaviour over timeHuge tables; always bound by block time
Logs and tracesRawAnything not yet decoded, including internal callsHex blobs you must decode by hand
Per-protocol decoded eventsDecodedBehaviour of one named contract, such as deposits or mintsStops filling when the protocol ships a new contract version
DEX trades modelSpellbookSwap volume across many protocols and chains on one definitionCoverage depends on which protocols have been added
NFT trades modelSpellbookMarketplace sales and collection activity across venuesMarketplace-specific quirks survive normalisation
Token metadata and pricesSpellbookSymbols, decimals, and USD conversion for token amountsThin or brand new tokens may have no price row
Community labelsCommunity-maintained, outside the three layersNaming an address as an exchange, a bridge, or a protocol treasuryQuality varies by contributor

The practical rule is to start as high up the stack as the question allows. If a Spellbook model answers it, use the model. Drop to decoded tables when you need one protocol's specific events, such as a lending market's liquidation log across the DeFi protocols you follow. Drop to raw only when nothing above covers the contract yet. Swap activity spanning several chains, say Base and Arbitrum, is a Spellbook question because the model already unions the chain tables for you; a contract deployed last week is a raw one, because nobody has submitted its ABI yet. Our what is a DEX guide covers the underlying events if the vocabulary is new.

How to use Dune

Using Dune runs from browsing ready-made dashboards, through checking what each query measures, to forking or writing SQL and sharing the result, and forking an existing query is the fastest route to most answers.

  1. Browse dashboards. Search for a protocol, token, or topic; thousands of ready-made dashboards need no SQL to read.
  2. Read the numbers and the charts, checking what the underlying query actually measures.
  3. Fork or build. Duplicate a dashboard and tweak it, or write your own SQL against Dune's tables.
  4. Save and share your dashboards; the ecosystem grows from community work.

Forking deserves more emphasis than it usually gets. The fastest route from "I have a question" to "I have an answer" on Dune is rarely writing SQL from scratch. Find a dashboard that answers a nearby question, fork the query, change the contract address or the chain or the date range, and run it. You inherit someone else's table knowledge and join logic, which is most of the difficulty. Most experienced Dune users spend far more time editing forks than composing new queries.

Why users choose Dune

Users choose Dune for its library of community dashboards, SQL-level customization, open and forkable queries, tools that lower the barrier for non-experts, and shared tables that compare protocols on one definition.

  • The biggest dashboard library. Community-built metrics for almost anything on-chain, free to view.
  • Full customization. Build any metric you can express in SQL, well beyond what a packaged product ships.
  • Open and shareable. Fork others' work, publish your own, and let readers audit the query.
  • Lower barrier over time. Spellbook models, query libraries, and AI assistance help non-experts get to a working query.
  • Cross-protocol reach. Because the tables are shared, you can compare protocols on one consistent definition instead of trusting each team's own reporting.

When to reach for something else: for curated smart-money labels, Nansen; for a quick personal portfolio view, DeBank or one of the tools in our best crypto portfolio trackers guide. Dune is the pick for custom or community metrics.

Fees and costs

Dune's pricing shape is credit-based rather than seat-based, which surprises people who expect a flat subscription. You pay for computation, and heavy queries cost more than light ones. Exact allowances and prices change, so treat the table below as the shape of the bill rather than a quote.

Where money goesHow it worksWho it hits
Viewing public dashboardsFree, no account neededEveryone. This is most readers
Free accountQuery editor access with a modest monthly credit allowance and public-only workLearners, casual builders
Execution creditsEach query run consumes credits scaled to the data scanned; paid tiers grant a larger monthly poolAnyone building or refreshing dashboards regularly
Private queries and dashboardsGated to paid tiers; free-tier work is public by defaultFunds, teams, anyone with a non-public thesis
Scheduled refreshesPaid tiers unlock automatic re-runs at set intervals; higher frequency costs more creditsAnyone who needs a dashboard current without manual clicks
API accessProgrammatic query execution and result download, billed against the same credit poolApps, bots, research pipelines
EnterpriseCustom contracts for higher concurrency, larger credit pools, and supportProtocol data teams, institutions
Your timeLearning the table layout and the dialect is the real entry costFirst-time query writers

Two cost traps are worth naming. The first is unbounded scans. A query with no block time filter across a raw logs table can burn a large share of a monthly credit allowance in a single run, and every re-run while you debug it costs the same again. Always add a date bound before your first execution, then widen it once the logic is right. The second is scheduling. A dashboard set to refresh every few minutes costs far more over a month than the same dashboard refreshing hourly, and for most research questions hourly is indistinguishable from live.

There is no gas cost and no wallet transaction involved in using Dune. You are reading public data, so the only spend is subscription and compute. That also means connecting a wallet is never required to read a dashboard, which is a useful thing to remember when you meet a page that asks you to.

How Dune compares to other on-chain data tools

The on-chain data market splits along one axis: who defines the metric. Dune hands that job to you. Curated products define it for you and charge for the definition.

ToolWhat it isWho defines the metricBest for
DuneSQL query engine over indexed multi-chain data, plus a public dashboard libraryYou, or the community, with the SQL visibleCustom metrics, auditable methodology, anything niche
NansenCurated analytics built on labelled wallet clusters, sold by subscriptionNansen, through its labels and screensFollowing identified wallets and smart-money flow
DefiLlamaOpen aggregator of TVL, fees, revenue, and volumes with public adaptersDefiLlama's adapters, community-contributedFast standardised protocol and chain comparisons
Flipside CryptoSQL analytics over indexed chain data with a community analyst layerYou, in SQL, on a model close to Dune'sAn alternative SQL surface, different chain coverage
Token TerminalStandardised financial statements for protocolsToken Terminal's accounting definitionsComparing protocols on revenue-style metrics
DeBankWallet-level DeFi portfolio viewDeBank, per-protocol integrationsSeeing what one address holds right now

Read that table as a stack, not a shortlist. A working analyst typically starts at DefiLlama for the standardised headline, moves to Dune when the question gets specific, and reaches for a labelled product when the question becomes "which wallets". Tools like Bubblemaps for holder clustering, Hyperdash for perp-trader positions, and Kaito for attention data cover slices Dune can technically reproduce but rarely as conveniently.

What Dune does not do

Dune reads public chain state. It has no view of anything that never touched a block. Centralised exchange internal ledgers, order books that live off-chain, and off-chain matching engines are invisible unless settlement lands on-chain. That matters when you study perp DEXs or app-chains where much of the activity is sequenced privately before settlement.

It also does not identify people. Dune shows addresses, plus whatever labels the community has contributed. Attributing an address to a fund or a founder is exactly the work that labelled products sell. Anything you build on address identity in Dune rests on community label tables that vary in quality.

Finally, Dune is an analytics surface rather than an execution or safety tool. It will not tell you a contract is malicious, will not revoke an approval, and will not warn you before a trade. For those, see how to spot crypto scams and Revoke.cash.

Common mistakes

Trusting the title instead of the query. A chart labelled "daily active users" is almost always counting distinct addresses. Addresses are not people: one person can hold many wallets, and airdrop farmers run them at scale deliberately. Open the query, read what is being counted, and adjust your interpretation accordingly.

Double-counting DEX volume. Swaps can be counted at the router, at the pool, or at the aggregator. A multi-hop trade routed through two pools produces two pool events for one economic trade, and an aggregator splitting an order across venues multiplies it further. If a protocol's volume on a dashboard looks implausibly large next to its own reporting, this is usually why. Prefer Spellbook's normalised trades model, which has already thought about the dedup rules, over hand-rolled pool event sums. Our Uniswap guide covers why routing makes this so easy to get wrong.

Assuming full chain coverage. Protocols deploy across many networks. A dashboard built when a protocol lived only on Ethereum keeps working, and keeps quietly excluding every L2 deployment added since. Check the FROM clause for which chain tables it actually reads before you cite a total. The same applies to Solana and other non-EVM chains, which live in separate table families entirely.

Missing prices producing silent zeros. USD figures come from joining a price table. When a token has no price entry, particularly a new or thinly traded one, the join drops rows or produces nulls, and the chart shows a smaller number instead of an error. If a USD series suddenly steps down on a specific date, suspect the price join before you suspect the market.

Quoting a stale run. A Dune chart displays cached results from the last execution. An abandoned dashboard can show a flat line for weeks that reads as "activity died" when it actually means "nobody re-ran the query". Check the last-executed timestamp on the dashboard before screenshotting it.

Broken decoding after a contract upgrade. When a protocol ships a new contract version, the old decoded tables stop receiving rows. Dashboards pointing at them show a clean drop to zero. Before writing the obituary, confirm whether the new contract has been submitted for decoding.

Burning credits on debugging runs. Iterating on a query with no date filter is the single fastest way to exhaust an allowance. Develop against a narrow window, confirm the logic, then widen. Materialising an intermediate result is cheaper than re-scanning raw tables on every edit.

Landing on a lookalike site. Analytics sites attract phishing clones that mimic the interface and then ask you to connect a wallet. Reading Dune never requires a wallet connection. Reach the site through a bookmark, and treat any dashboard that asks you to sign a transaction as hostile.

How to read a dashboard critically

Before you act on a Dune number, run four checks. They are quick and they catch most of the failure modes above.

  1. Look at the last run time. Stale beats wrong, but only if you know it is stale.
  2. Open the query. Read the FROM clause for which tables and chains it covers, and the WHERE clause for what it excludes.
  3. Ask what a row means. A row per transaction, per address, per event, and per day all produce different totals from the same data.
  4. Sanity check against a second source. DefiLlama, the protocol's own dashboard, or a block explorer will usually agree within a reasonable band. A large gap means one of you is measuring something else.

Apply the same checks to your own queries. The habit of separating what the data shows from what you expected it to show is the same one that keeps you honest reading price charts: see how to read crypto charts.

How to get started building

Reading dashboards needs no setup. If you want to build, this is the shortest path:

  1. Create a free account and fork a query that answers a nearby question. Forking gives you an editable copy without touching the original.
  2. Change one thing. Swap the contract address, extend the date range, or add a chain, then run it. This teaches the table layout faster than any tutorial.
  3. Add a date filter before your first run, every time, to protect your credits.
  4. Learn the Spellbook models for your area of interest. They remove most of the join work for DEX trades, NFT trades, and prices.
  5. Publish with a title that states exactly what you measured, plus a note on the methodology. The corpus improves when authors are explicit.

→ Explore Dune

Who Dune is for

Dune suits anyone whose question is specific enough that no product answers it. Protocol teams tracking their own funnels, researchers sizing a narrative, token holders checking whether emissions actually reach users, and airdrop hunters measuring their own activity all get real value. If you are working through how to farm points and airdrops, Dune is often the only place a program's actual distribution becomes visible. Analysts studying MEV, NFT marketplaces, or activity on Hyperliquid will find community dashboards already covering most of the ground.

Dune suits you less if you want a number handed to you with no questions attached. The platform rewards scepticism and punishes copy-paste. It is also a poor fit for real-time decisions: if you need to know a position's health or a live price, use the protocol's own interface or a portfolio tool like Zerion. And if your interest is purely "what does my wallet hold", a tracker answers that immediately, where Dune would mean writing a query first.

What querying chain data actually involves

Raw chain data is unusable without decoding. Transactions are bytes, and turning them into readable events requires the contract's interface.

Decoded tables are the actual product. Having every contract's events already parsed into queryable columns is weeks of work you do not have to do.

Which is why coverage matters more than query speed. A chain or protocol without decoded tables is a chain you cannot analyse without doing the decoding yourself.

Prices have to come from somewhere. Denominating anything in dollars requires a price feed joined to the on-chain data, and that join is where a lot of inaccuracy enters.

Wallet labels turn addresses into entities. Knowing that a cluster of addresses belongs to one exchange is the difference between noise and a finding.

And the data is only as current as the ingestion. Dashboards reflect however far behind the pipeline is, which is usually minutes and occasionally longer.

Writing queries that are actually correct

Decimals are the most common error. Token amounts are integers scaled by a decimal count that varies per token, and forgetting it produces numbers wrong by orders of magnitude.

Failed transactions are in the data. Filtering them out is a deliberate step, and including them inflates every count.

Internal transfers do not appear in the transaction table. Value moved by contracts calling contracts lives elsewhere, and missing it undercounts flows badly.

Wrapped and native versions of an asset are different rows. Counting ETH without counting WETH is counting half the activity.

Prices at time of transaction differ from prices now. Valuing historical activity at current prices is a common and misleading shortcut.

Address labels are incomplete and sometimes wrong. They are contributed data rather than ground truth.

And the same metric has several defensible definitions. Active users, volume and total value locked each depend on choices the query author makes, which is why two dashboards disagree.

Reading someone else's dashboard sceptically

Open the query before trusting the chart. The SQL is visible, and the definitions live there rather than in the title.

Check who made it and why. Dashboards published by a protocol about itself are marketing with a data layer.

Look at what is filtered out. Excluded addresses, date ranges and thresholds each shape the conclusion.

Check when it last ran. A dashboard that stopped refreshing looks identical to one that is current.

Watch for wash trading in volume figures. Activity between related addresses inflates every volume metric, and few queries filter it.

Distinguish addresses from users. One person operates many wallets, and every user count on chain is an address count wearing a different label.

And prefer metrics with an obvious definition. Fees paid and value transferred are harder to construct misleadingly than engagement figures.

What can go wrong

Query costs escalate on large scans. Credit-based pricing means an inefficient query over years of data is expensive rather than slow.

Missing decoded tables block the analysis entirely. A protocol nobody has decoded is a protocol you cannot query without doing that work.

Pipeline lag misleads on recent data. The last few hours can be incomplete, and a chart showing a decline may be showing ingestion.

Forked queries inherit their errors. Copying a dashboard copies its assumptions, including the wrong ones.

Labels drift. Address tags contributed a year ago describe entities that have changed.

Chain reorganisations invalidate recent rows. Data near the head is provisional.

And the public nature cuts both ways. Anything you build is visible, which is excellent for verification and unhelpful if the analysis was the edge.

How it compares to the alternatives

Flipside offers a similar model. Community queries over decoded data, with different chain coverage and a different credit structure.

The Graph serves applications rather than analysts. Indexed subgraphs feed front ends, which is a different job from exploratory analysis.

Nansen sells labels rather than a query engine. Pre-built entity identification and alerts, aimed at people who want conclusions rather than SQL.

Token Terminal packages financial metrics. Standardised revenue and fee figures, comparable across protocols, with the definitions chosen for you.

Running your own node and indexer is the full-control option. Complete data, no credit limits, and an ongoing infrastructure commitment.

Block explorers answer single questions well. Checking one transaction or one address does not need an analytics platform.

And the deciding factor is whether you write SQL. A query platform is enormous leverage for someone who does and a worse product than a dashboard tool for someone who does not.

Practical use

Fork an existing query rather than starting blank. Someone has usually solved the decoding for the protocol you care about.

Always join the decimals table. It is the single most common source of wrong numbers.

Filter failed transactions explicitly. Deciding to include or exclude them is part of the definition.

Limit the date range while developing. Iterating over a full history burns credits for no benefit.

Check the result against a block explorer. One address verified by hand catches most structural errors.

Document the definition in the dashboard. A metric without a stated definition gets misread by everyone including you later.

And publish the query alongside the chart. Analysis nobody can check is assertion rather than evidence.

Who this suits

Suits anyone who writes SQL. The leverage is enormous for someone comfortable querying, and the platform assumes that comfort.

Suits researchers and analysts. Verifiable, reproducible analysis over public data is exactly what this is built for.

Suits protocol teams tracking their own metrics. Building dashboards from decoded data is far faster than instrumenting everything yourself.

Poor fit for people who want answers without queries. A pre-built analytics product delivers conclusions, and this delivers a query engine.

Poor fit for real-time trading signals. Pipeline lag makes it unsuitable for anything requiring the current block.

Poor fit for private analysis. Public queries are the default, and keeping work private costs more.

And a poor fit for chains and protocols with no decoded tables. The coverage determines what is possible.

Mistakes people make

Trusting a dashboard without opening the query. The title is not the definition, and the definition is where the disagreements live.

Forgetting decimals. It produces numbers wrong by a factor of a million and they look plausible in a chart.

Counting addresses as users. One person runs many wallets, and every user metric on chain is an address metric.

Valuing historical activity at current prices. It rewrites the past into whatever today's price implies.

Ignoring wash trading. Volume between related addresses inflates the figures every protocol quotes.

Forking a query without reading it. Inherited assumptions include inherited mistakes.

And publishing a number without stating what it counts. Ambiguous metrics get cited widely and correctly understood rarely.

Ecosystem position

Public data with no accessible query layer was the original gap. Everything is on chain and almost nobody could read it, which is the problem this category solved.

Community-contributed decoding is the network effect. Every protocol someone decodes becomes queryable for everyone, and that library is harder to replicate than the engine.

Which makes coverage the competitive position. New chains and new protocols get decoded because analysts want them, and the platform with the most contributors stays ahead.

Protocols now publish dashboards as standard practice. Public metrics became an expectation, and the tooling made it cheap.

Verifiability is the underrated part. An analysis with its query attached can be checked, which is a higher standard than most financial reporting meets.

Machine-generated queries are the current frontier. Natural language to SQL lowers the barrier and raises the volume of confidently wrong analysis.

And the underlying data stays public regardless. Platforms may come and go, and the chain remains readable by anyone willing to index it.

What it costs

Credit-based pricing scales with query weight. Scanning years of data across large tables costs more than a targeted query.

Free tiers cover learning and light use. Enough to explore, and limited on query size and private work.

Private queries cost more. Public is the default, and keeping analysis unpublished is a paid feature.

API access is a separate tier. Pulling results into your own application is priced above dashboard use.

And efficient queries are the real cost control. Filtering early, limiting date ranges and avoiding full scans reduce spend more than any plan change.

Metrics worth trusting and metrics worth doubting

Fees paid are hard to fake. Someone spent real money, and the chain recorded it.

Value transferred is close behind. Movement of assets is unambiguous even when its meaning is not.

Total value locked is easily inflated. Double counting across protocols, incentive-driven deposits and self-referential collateral all push it up without anything real changing.

Volume is the most manipulated figure in crypto. Wash trading between related addresses is cheap and it is what most volume leaderboards measure.

Active addresses overstate people and understate usage. Multi-wallet users inflate it and shared custodial accounts deflate it, in the same dataset.

Transaction counts reward cheap chains. A chain where transactions cost nothing produces more of them, which says little about activity that matters.

And revenue needs a stated definition. Whether it means protocol income, supply-side income or both changes the number by a large multiple.

Privacy, from the other direction

Every address you query is an address someone can query about you. Public chain data cuts both ways, and analytics platforms make that trivial rather than merely possible.

Labelling is what turns pseudonymity into identity. An address connected to an exchange deposit, a public donation or a named wallet is an address with a name attached.

Which spreads through transaction graphs. Funds moving between your addresses link them, and one identified address can compromise several.

Analysis of your own wallets is public if published. A dashboard tracking your positions is a dashboard anyone can read.

And the practical defence is separation. Different wallets for different purposes, with no transfers linking them, is the only privacy measure that survives this kind of tooling.

Starting from nothing

Pick one question you actually want answered. Open-ended exploration burns credits and produces nothing, and a specific question produces a query.

Find someone else's query on the same protocol. Forking a working example teaches the schema faster than documentation does.

Verify the first result by hand. One address checked on a block explorer confirms the join is right before you build anything on it.

And write down what the number counts. The definition is the analysis, the chart is only a presentation of it, and a metric published without its definition gets cited far more often than it gets understood.

Limits and honest caveats

A Dune dashboard is only as good as the query behind it. Community dashboards can contain mistakes, use stale logic, or measure something subtly different from what the title implies, so check the methodology before trusting a number, especially one you will act on. Viewing is free; heavy building and querying are paid. And as with any site you log into, verify the official URL. Treat Dune as a powerful lens on public data, rather than an oracle of truth.

One structural limit follows from the openness: quality varies enormously across the dashboard library. A widely forked dashboard from a known analyst is usually safer than an unmaintained one with a compelling title, though neither carries a guarantee. Dune does not rank or certify dashboards, so that judgement stays with you.

Bottom line

Dune is the open backbone of crypto analytics. A vast library of community dashboards, full SQL customization, and free viewing make it the default for any on-chain metric you cannot find elsewhere. The caveat is discipline: a dashboard is only as reliable as its query, so read the methodology before you trust a number. Browse for free, build when you need something bespoke, and verify the logic. For understanding what is actually happening on-chain, nothing else is this flexible.

For more, see our best crypto portfolio trackers guide, and the Dune documentation for the current table reference.

Frequently asked questions

What is Dune?

Dune is a platform for querying and visualizing on-chain data with SQL. It ingests blockchain data into queryable tables covering blocks, transactions, logs, traces, decoded contract events, and token prices. Anyone can write a query against those tables, turn the result into a chart, and publish it as a dashboard. Most existing dashboards are free to view, which is why so much of the crypto analytics you see quoted in research threads and protocol updates originally came from Dune.

Is Dune free?

Viewing public dashboards on Dune is free and needs no account, which covers most people's needs. Creating an account and writing queries is also free at a starter level, with limits on how much data your queries can process, how often they refresh, and whether your work can be private. Heavier use sits on paid plans that grant more execution credits, private queries and dashboards, scheduled refreshes, and API access. You can consume the ecosystem's output for nothing and only pay once you build seriously.

Do I need to know SQL to use Dune?

Not to view dashboards. Thousands of community dashboards are ready to read, and you can change most date and chain filters without touching code. To build your own metrics you write SQL against Dune's indexed tables, using a Trino-style dialect called DuneSQL. The learning curve is mostly about knowing which table holds what, rather than exotic syntax. Forking an existing query and editing it is the fastest way in, and Dune's AI query assistance lowers the barrier further for simple asks.

Dune vs Nansen, which should I use?

They solve different problems. Dune is open, customizable dashboards you or the community build, mostly free to view, with the raw SQL visible so you can audit the logic. Nansen is curated, labelled smart-money analytics behind a subscription, where the value sits in the wallet labels you cannot easily rebuild yourself. Many analysts use both, Dune for custom metrics and Nansen for labelled wallet flows. Pick Dune when the question is unusual, Nansen when the question is "who is doing this".

How current is Dune data?

Dune is close to live rather than truly real time. Chain data is ingested and decoded on a lag that varies by chain, and the chart you are looking at shows the result of the last query run, which may be hours or days old on a dashboard nobody maintains. Every Dune chart carries a last-executed timestamp, so check it before you quote a figure. For execution-critical numbers such as a live price or a position's health, read the protocol's own interface instead.

Why do two Dune dashboards show different numbers for the same metric?

Because they are measuring different things under similar titles. One DEX volume dashboard might count router-level swaps while another counts pool-level events, which double-counts multi-hop routes. One might filter out wash trading, another might not. Chain coverage often differs, with one dashboard tracking a protocol on Ethereum only while the protocol also runs on several L2s. Open both queries, read the FROM clause and the WHERE filters, and the discrepancy usually explains itself.

Can I use Dune data in my own app?

Yes, through Dune's API, which lets you execute a saved query and pull the results as JSON or CSV on a paid plan. That is the normal path for a dashboard, bot, or research pipeline that needs periodic numbers. Treat it as an analytics feed rather than an oracle: results are cached and scheduled, so latency and cost both scale with how fresh you need the data. For contract-level reads or indexing your own protocol, a dedicated indexer or RPC provider is the better fit.

What is Dune Spellbook?

Spellbook is Dune's open-source library of curated data models, built with dbt and maintained in public by Dune and the community. It turns messy per-contract decoded tables into normalised abstractions, so a single query against a DEX trades model can cover many protocols across many chains without you hand-writing a union of dozens of event tables. Using Spellbook models saves large amounts of work and makes your numbers comparable to everyone else's, since they share the same definitions.

Sources & References

Figures in this guide are cross-referenced against the sources below.