Crypto Market Breadth Widget

The Market Breadth widget is a free Fear & Greed style gauge that shows how many of the top 1,000 coins are up versus down. Switch between 1h, 24h and 7d views, and embed it on any website with one line of code. Data refreshes about every 15 minutes.

Related: crypto widgets, crypto coin widget

Demo

Light / dark, variants
Theme

Integration

Include the script once per page. Use any method below — all render the same widget.

1

Markup (auto)

Load the script, add an empty element with data-cw-breadth, done. The gauge paints a skeleton first, then fills with data.

HTML
<script src="https://cdn.bubblenexus.com/widgets/v1/breadth-widget.js?v=1.0.0"></script>

<div
  data-cw-breadth
  data-theme="light"
  data-period="24h"
></div>
2

JavaScript API

Create the gauge from JS when you need programmatic control, e.g. rendering it only for certain routes or users.

HTML + JS
<div id="breadth"></div>

<script src="https://cdn.bubblenexus.com/widgets/v1/breadth-widget.js?v=1.0.0"></script>
<script>
  BreadthWidget.init({
    target: "#breadth",
    theme: "dark",
    period: "7d",
    tabs: true
  });
</script>

Options

In markup use data-*attributes; in the JavaScript API drop the data- prefix.

AttributeValuesDefaultDescription
data-themelight | darklightColour palette used by the gauge.
data-period1h | 24h | 7d24hInitial change window shown on load.
data-tabstrue | falsetrueShow the 1h / 24h / 7d toggle.

BreadthWidget.init() returns a widget instance. Call instance.refresh() to re-fetch the gauge without reloading the page.

What Is Market Breadth?

Market breadth measures how many coins are rising compared with how many are falling. A reading with most coins up usually means broad strength across the market. A reading with most coins down means broad weakness. It is a different view from the price of Bitcoin alone.

How to Read the Gauge

The gauge shows the share of the top 1,000 coins that are up over the selected period. At 60% up or more it reads Bullish. At 40% up or less it reads Bearish. Anything in between is Neutral. Use the 1h, 24h and 7d tabs to see short and longer term breadth.

Separate Script

The Market Breadth widget uses its own script, breadth-widget.js, separate from coin-widgets.js. If you use it together with the Coin Chip or Top Movers widget, load both scripts.

FAQ

What is a crypto market breadth widget?

A gauge that shows how many of the top 1,000 coins are up or down over a chosen period.

Is it the same as the Fear & Greed Index?

It looks similar, but it is based only on the share of coins rising or falling, not on sentiment surveys or volatility.

What do Bullish and Bearish mean?

Bullish means 60% or more of the coins are up. Bearish means 40% or fewer are up. Anything in between is Neutral.

How often does it update?

About every 15 minutes.

Is it free?

Yes, with no signup and no API key.