Bitquery Labs · Widgets
Blockchain data components,open source and query-driven.
A library of reusable visualisation components that each render the result of a Bitquery GraphQL query — tables, charts over time, trade feeds and pivots, on 40+ chains. The whole of explorer.bitquery.io is built from them.
How you use it
Write a query. Point a widget at it.
Every widget takes the same three things: an initialised client, a GraphQL query, and the path to the result set you want drawn. This is the real API, from the repository's own demo.
What you can build
Nine chart types, one pattern underneath.
These are the shapes people build with the library — each one is a renderer plus a query. Swap the network or token in the query and the same component works wherever the data exists. The previews below are illustrative, not live data.
Price over time
What did price actually do, interval by interval?
Order-book depth
Where is liquidity sitting on either side of mid?
Live trade feed
Who is buying and selling right now?
Holder distribution
How concentrated is this token's supply?
Token pair table
Which pairs on this DEX are moving?
Wallet balance mix
What does this address hold, and in what proportion?
Volume over time
Is activity growing or quietly fading?
Price ticker strip
One glanceable row for a header or sidebar.
Trend line / TVL
How has a metric moved across the range?
Proof
An entire explorer, built from these widgets.
explorer.bitquery.io — multi-chain address, transaction, token and DEX pages across 40+ networks — is composed entirely of these components, and its source is open too. If you want to know what the library can carry in production, read that repository.
Get the query right first
Author and test it in the GraphQL IDE, where the schema explorer and autocomplete live. A widget takes the query you already proved.
Mount a renderer
Pass a selector or element, the query, and the path to the result set — 'EVM.Blocks'. Column and axis mapping is the dataOptions array.
Style it as yours
The bundle ships widgets.css; override it from your own stylesheet. Components are Vue underneath but mount into any page, framework or not.
Styling
It should look like your product, not ours.
The bundle ships dist/assets/css/widgets.css. Load it first, then override from your own stylesheet — the components render ordinary DOM (list groups, tables, chart containers), so you target them the way you would any third-party widget.
/* load widgets.css first, then win on specificity */
#eth-blocks .list-group-item {
background: #0c121c;
color: #aab0bc;
border-color: rgba(255, 255, 255, .08);
}
#eth-blocks table th {
font-family: 'JetBrains Mono', monospace;
text-transform: uppercase;
letter-spacing: .08em;
}
/* the veil the widget shows while a query is in flight */
#eth-blocks .widgets-loading { background: rgba(6, 9, 13, .6); }There is no CSS custom-property theme API today — no --widget-* token layer to set. Theming is plain CSS specificity against the shipped stylesheet, which is worth knowing before you plan a design system around it. The wiki has the per-widget markup.
Pricing
The library is free. The data is your plan.
Widgets are MIT licensed and cost nothing. Every paid plan starts with a 7-day free trial.
- A widget refresh is a query — it consumes API points like any other request.
- Self-service runs $49–$299/mo; Enterprise is a flat platform fee.
FAQ
Before you clone it.
What exactly are Bitquery Widgets?
How do I install it?
Do I need to know GraphQL?
Do I need an API key?
What does it cost?
Which chains work?
Clone it, point it at a query, ship a chart.
MIT licensed, no card to read the source. You need a Bitquery access token for the data — the same one the IDE issues.