Dune API Pricing and Credits for Bitcoin Address Queries
Dune API pricing for Bitcoin: Analyst $75 for 4,000 credits, Plus $399 for 25,000, compute billed with no published formula. Priced on a real month-end report.
By the BitcoinDatabase team
November 2026 · 7 min read
BTC
Balance trail
informational on-chain data · not financial advice
The short answer
The Dune API needs a paid plan: Analyst is $75 a month with 4,000 credits, Plus is $399 a month with 25,000 credits, and the free tier is view only with no API access. You pay credits twice on every Bitcoin query, once for the compute the SQL burns (Dune publishes no per-query formula) and once per megabyte of results you pull, 10 credits per MB on Analyst and 2 on Plus. Good for exploratory analysis across many chains, hard to budget for a recurring Bitcoin balance report.
Dune is the default answer when someone on a data team says "just write SQL against the chain". It has Bitcoin tables, a polished editor and an API that runs any saved query. The question this article answers is narrower: what does it cost to feed a paying product or a client report with Bitcoin address data through the Dune API, and where does the bill become unpredictable?
We read Dune's billing, rate limit, pricing FAQ and Bitcoin table documentation on 21 November 2026, called the API to confirm how it answers without a valid key, and priced one real reporting job end to end. The chain tip that morning was block 976,854. If you are comparing SQL services in general, our Bitcoin SQL API page shows the same job on our own tables.
How much does the Dune API cost?
Dune sells credits through three plans. Analyst costs $75 a month, or $65 a month billed yearly, and includes 4,000 credits. Plus costs $399 a month, or $349 billed yearly, with 25,000 credits. Enterprise is priced by sales. Extra usage on paid plans is billed at the plan's rate up to a limit you set. Free access is view only and cannot call the API.
| Plan (21 Nov 2026) | Monthly price | Credits a month | Cost per 100 credits | Export, credits per MB | API rate limits |
|---|---|---|---|---|---|
| Free | $0 | 0 | Not sold | No export | No API access |
| Analyst | $75 ($65 yearly) | 4,000 | $1.875 ($1.625 yearly) | 10 | Not listed in the rate limit table |
| Plus | $399 ($349 yearly) | 25,000 | $1.596 ($1.396 yearly) | 2 | 70 requests a minute to execute, 200 a minute to read results |
| Enterprise | Contact sales | Custom | Lower custom rate | Custom | 350+ and 1,000+ a minute |
Two rows in that table matter more than the headline prices. The Queries endpoint, which lets your code create and edit SQL through the API, is available on Plus and Enterprise only. And the rate limits are per minute, not per second: 70 executions a minute on Plus is a little over one a second. Every figure above comes from Dune's own API billing reference and its credits documentation; check them again before you sign, because Dune has changed its credit model more than once.
Is the Dune API free?
No. Since the move to usage based credits, free access is view only: you can browse public dashboards and queries but cannot execute anything or call the API. New accounts get a 7 day trial with Plus features and 2,500 credits in total, and the trial ends early if those credits run out. Trial accounts cannot buy extra credits.
We confirmed the gate from the outside. A request to the results endpoint with no key, and one with a made up key, both returned HTTP 401 with the body {"error":"invalid API Key"}. The response headers expose RateLimit, RateLimit-Policy and Retry-After, which matches the documentation: a 429 tells you when to retry rather than failing silently.
How are Dune credits calculated?
An execution costs credits in proportion to the compute it uses: CPU, data scanned and time on the engine. Dune says it does not publish a per-query formula, because the cost depends on the engine size and conditions at run time. Pulling the results costs a second charge per megabyte exported, and you pay that again every time you fetch the same result.
Dune offers three engine sizes. Small has a 2 minute timeout and at most three concurrent executions. Medium allows longer runs. Large has about twice the compute of Medium and usually burns more credits for the same query, while finishing sooner. You can cap credits per execution and set a monthly ceiling on extra credits, which is the only way to put a hard number on a budget. A query that runs into your cap or into Dune's timeout can still be charged for the compute it used. Syntax errors and internal engine failures are not charged.
What Bitcoin data does Dune have?
Dune exposes four Bitcoin tables: bitcoin.blocks, bitcoin.transactions, bitcoin.inputs and bitcoin.outputs. There is no balance table. To get what an address holds, you sum what it received in outputs and subtract what it spent in inputs, filtered to the block you care about. That is two scans of tables that cover every output since 2009, and that is where the execution credits go.
One detail in the schema matters to anyone reconciling to the satoshi. The value column on bitcoin.outputs and bitcoin.inputs is a DOUBLE in BTC, a floating point number. Summing thousands of floating point values can leave tails such as 0.30000000000000004 that you then have to round, and you have to be able to explain that rounding to the person who signs the report. If you build on Dune, cast to decimal or convert to integer satoshis inside the query.
Worked example with a month-end balance report for 2,000 addresses
Take a job we see often from fund administrators, lenders and audit teams: the balance of 2,000 client addresses at the last block of each month, for twelve months. That is 24,000 rows a year, each with an address, a month and a balance.
On Dune. The export side is cheap and easy to estimate. At roughly 80 bytes a row in CSV, 24,000 rows is close to 1.9 MB. On Analyst that is about 19 credits, around $0.36; on Plus, about 4 credits. If your pipeline fetches the same result twice, double it. The execution side is the open question. Each month needs an aggregate over bitcoin.outputs and bitcoin.inputs joined to your 2,000 addresses, and Dune will not tell you in advance what that costs. If one month's query burns 200 credits on the Medium engine, a year is 2,400 credits, more than half of Analyst's allowance. If it burns 600, you are past Analyst and into Plus or extra credits. You only find out by running it, and the answer can change when the tables grow or the engine is busy. On Analyst you also cannot manage those queries through the API, because the Queries endpoint starts at Plus.
On BitcoinDatabase. The same report is twelve calls to POST /v1/addresses/batch, each with the 2,000 addresses and a block height or an at date. A balance as of a block costs 10 credits per address, charged when the batch is accepted, and rows the index could not answer are credited back when it completes. The year costs 240,000 credits, under half of the 500,000 credits on the $49 Developer plan, and the same number every time you run it. Balances come back as integer satoshis, so the totals add up exactly. Developer keeps one year of history; for older month-ends or ad hoc SQL over the same tables, Growth is $199 a month with full history and SQL at 5 credits a query. The bulk Bitcoin address balance checker page shows the batch call and its response.
The difference is less about the total than about whether you can quote it to a client before the work starts. A fixed credit cost per address can go in a proposal. A compute cost you discover after the query ran cannot.
Whichever source you use, keep the query, the block height and the exported file together with the working papers. Teams whose audit files are spread over many PDFs and spreadsheets often put a document assistant such as Chatdocument over that folder, so a reviewer can find which export produced which figure without asking the person who ran it.
Dune API vs BitcoinDatabase for Bitcoin reporting
| Question | Dune API | BitcoinDatabase |
|---|---|---|
| Cost of one address balance | Compute credits for your SQL, not published in advance, plus export credits | 1 credit at the tip, 10 credits at a past block, fixed in advance |
| Balance at a past block | Write it yourself from outputs and inputs | ?block= or ?at= on the address call and the batch |
| Number type | DOUBLE in BTC | Integer satoshis |
| Cheapest plan with API | Analyst $75 a month, Queries endpoint from Plus at $399 | Developer $49 a month; SQL from Growth at $199 |
| Bulk lookups | One SQL execution, 70 executions a minute on Plus | Up to 5,000 addresses per batch at a block, 10,000 at the tip |
| Chains | 100+ chains, tokens, DEX trades, prices | Bitcoin only |
| Best for | Analysts exploring many chains and publishing dashboards | Products and reports that need Bitcoin balances and history at a predictable cost |
Dune wins whenever the question spans chains: stablecoin flows, DEX volume, token holders, anything with an Ethereum leg. Its community queries are a real asset, and for one-off research a Plus month is good value. It is weaker as the engine behind a recurring Bitcoin deliverable, where each run should cost the same and the numbers must tie out to the satoshi. Google's public dataset has the same shape of problem, which we measured in our BigQuery Bitcoin dataset review; our Flipside alternative page covers the other popular SQL service.
Questions buyers ask
Does Dune have an API?
Yes. The Dune API executes saved queries, returns results as JSON or CSV, and on Plus and Enterprise can create and edit queries, write tables and send webhooks. It requires an active trial or a paid plan; free accounts are view only. Requests authenticate with an X-Dune-Api-Key header and fail with HTTP 401 without a valid key.
How much does Dune Analytics cost per month?
Analyst is $75 a month ($65 billed yearly) with 4,000 credits, and Plus is $399 a month ($349 yearly) with 25,000 credits, per Dune's documentation on 21 November 2026. Enterprise is custom. Extra credits are billed at the plan's per-credit rate, up to a monthly ceiling you configure in the account.
Can I get Bitcoin address balances from Dune?
Not from a ready table. You compute them in SQL by summing bitcoin.outputs received and subtracting bitcoin.inputs spent for each address, up to the block you need. Every run is charged by compute, and values are floating point BTC, so round or convert to satoshis before reconciling.
What is a cheaper alternative to the Dune API for Bitcoin?
For Bitcoin balances and history, a dedicated index charges per address rather than per compute. BitcoinDatabase bills 1 credit per current address lookup and 10 credits for a balance at a past block, and the $49 Developer plan includes 500,000 credits. For multichain dashboards, Dune remains the better tool.
If your next deliverable is a Bitcoin balance report, price it before you build it: our pricing page lists every plan and its credits, and the Bitcoin address balance history API shows the calls that produce balances at a block.
Query the Bitcoin blockchain yourself
Pull balances, UTXOs, transactions, on-chain metrics and fund flows from the Bitcoin blockchain by REST API, SQL and dashboards. Address history since 2009, new blocks within seconds, no node to run.