See the widgets on three pages of a fictional product in the live demo.
1. Try it with sample data
No account is needed. w=sample works on any page, including localhost and local files. It shows the calls of 2 Dec 2026 on BTC, ETH, SOL, HYPE, NVDA, TSLA under a striped Sample data band.
Preview: sample data of 2 Dec 2026.
<div data-buzzberg-widget="sample" data-ticker="BTC" data-theme="auto" data-height="560" data-max-height="560"></div> <script async src="https://buzzberg.ai/static/js/buzzberg-widget-v1.js"></script>
2. Get a widget ID
Live data needs a widget ID, which lists the sites allowed to show it. Keys and IDs says who gets one and how.
3. Go live
Open Live code above, paste your widget ID and copy the code into a page on an allowed site. The Sample data band disappears and live calls load. One ID covers every widget and ticker on its sites.
Calls on your chart
The chart draws candles with arrows for each candle's long calls and for its short and avoid calls; clicking a candle lists its calls. Try it with sample on any page (frozen candles and calls of BTC, ETH, SOL, HYPE, NVDA, TSLA); live data needs a widget ID.
The ready chart
Use this on a page with no chart of its own; it draws our candles in an iframe. interval is 1h, 4h or 1d.
<iframe src="https://buzzberg.ai/embed/v1/chart?w=WIDGET_ID&ticker=BTC&theme=dark&interval=1d"
title="Buzzberg chart with calls on BTC" width="100%" height="860" style="border:0" loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"></iframe><div data-buzzberg-widget="WIDGET_ID" data-kind="chart" data-ticker="BTC" data-theme="dark" data-interval="1d" data-height="860" data-max-height="860"></div> <script async src="https://buzzberg.ai/static/js/buzzberg-widget-v1.js"></script>
Preview: live data on BTC.
The chart loads only when the request's Referer is a page of an allowed site, so keep referrerpolicy="strict-origin-when-cross-origin" on the iframe. The loader sets it for you.
Your own chart
A page that already draws a Lightweight Charts or TradingView Advanced Charts chart can put the arrows on its own candles, for any ticker symbol Buzzberg tracks: Calls on your chart has the code and every option.
Reference
Widgets and parameters
| Widget | Address | Height |
|---|---|---|
| Calls | /embed/v1/calls?w=&ticker=&theme= | 560 |
| Several tickers | /embed/v1/feed?w=&tickers=&theme= | 560 |
| Top voices | /embed/v1/voices?w=&tickers=&theme= | 600 |
| Bulls vs bears | /embed/v1/balance?w=&ticker=&theme=&days= | 76 |
| Market feed | /embed/v1/feed?w=&theme= (no tickers) | 560 |
| Daily Alpha | /embed/v1/daily-alpha?w=&theme= | 720 |
| Top authors | /embed/v1/leaderboard?w=&theme=&horizon=&platform=&rows=&controls= | 760 |
| Chart | /embed/v1/chart?w=&ticker=&theme=&interval= (above) | 860 |
| Parameter | Meaning |
|---|---|
w | Your widget ID, or sample. |
ticker | Calls and Bulls vs bears. Any symbol Buzzberg tracks: BTC, ETH, NVDA. Case does not matter. With sample: BTC, ETH, SOL, HYPE, NVDA, TSLA. |
tickers | Several tickers and Top voices. 1 to 10 symbols, comma-separated. The address uses them upper case and sorted (BTC,ETH,NVDA); another order is redirected once to that one. The loader sorts them for you. |
theme | light, dark or auto (the visitor's system setting). auto by default. |
days | Bulls vs bears: 30 (default) or 7. |
horizon | Top authors: the horizon of the board, as on the site's leaderboard: 30d (default), 7d, 90d, 180d, 360d or avg (30, 90 and 180 days together, as on the site). |
platform | Top authors: all (default), x, youtube, substack or reddit. |
rows | Top authors: 3 to 25, 10 by default. |
controls | Top authors: off hides the horizon and platform switches, for a fixed list. Shown by default. Defaults can be left out; an address with them written out, or in another order, is redirected once to the short one. |
Do not add other query parameters (for example utm_*): the widget refuses them and shows its unavailable card, as it does for a repeated parameter. The chart ignores them and reads the first of a repeated one.
<iframe src="https://buzzberg.ai/embed/v1/calls?w=WIDGET_ID&ticker=BTC&theme=dark" title="Buzzberg calls on BTC" width="100%" height="560" style="border:0" loading="lazy"></iframe>
Loader
An optional script that inserts the iframe and keeps it as tall as its content.
<div data-buzzberg-widget="WIDGET_ID" data-ticker="BTC" data-theme="dark" data-height="560" data-max-height="560"></div> <script async src="https://buzzberg.ai/static/js/buzzberg-widget-v1.js"></script>
| Attribute or call | Meaning |
|---|---|
data-buzzberg-widget | Widget ID or sample. Marks the element the iframe goes into. |
data-kind | calls (default), feed (the market feed without data-tickers), voices, balance, chart, leaderboard or daily-alpha. |
data-ticker, data-tickers, data-theme, data-days | As ticker, tickers, theme and days above. |
data-horizon, data-platform, data-rows, data-controls | Top authors: as horizon, platform, rows and controls above. |
data-interval | Chart: 1h, 4h or 1d (default). |
data-height | Starting height in pixels. The widget's height above by default. |
data-max-height | The iframe stops growing here and scrolls inside. Our snippets set it to the widget's height above; without it a calls card grows to its whole list, about 3,400 pixels. |
BuzzbergWidget.mount(el) | Inserts or updates the iframe in one element; mount(el, {reset: true}) also forgets a horizon or platform the reader picked inside Top authors. Change any data- attribute (kind, tickers, theme, period) and call it again: a new iframe replaces the old one (it returns the new one), so your page's Back button does not step through earlier tickers. Elements removed from your page are forgotten on the next call, and tracked again if you mount them once more. |
BuzzbergWidget.unmount(el) | Removes the iframe and the state attribute from one element, before your page drops it. A later scan() mounts the element again while it still has data-buzzberg-widget. |
BuzzbergWidget.scan(root) | Mounts every marked element under root (the whole page by default). Runs once on load. |
BuzzbergWidget.version | 1. |
The iframe sends its parent one message, its height: {type: 'buzzberg-widget:height', height}. The loader accepts it only from https://buzzberg.ai and from its own iframe, and keeps the height between 40 pixels and 4,000 (or data-max-height when lower).
State
Each widget tells your page what it shows. The loader sets data-buzzberg-state on the widget element and dispatches a bubbling buzzberg-widget:state event on it, with event.detail = {state, kind, ticker}: the kind and ticker the widget was mounted with (ticker in upper case, or the sorted comma list of a feed or voices widget).
| State | Meaning |
|---|---|
ready | Tracked, calls shown. A drawn chart counts as ready even with no call on its candles. |
empty | Tracked, no calls in the window (calls, several tickers, top voices, bulls vs bears). |
unknown_ticker | Buzzberg has no calls for it; with sample, no sample. In a list widget one such ticker makes the whole card unknown_ticker. |
no_chart | Ready chart only: the ticker is tracked but Buzzberg has no price chart for it, and a retry will not change that. Hide the chart; a calls widget can show its calls instead. |
unavailable | The "unavailable right now" card (503) or too many requests (429). A 503 card retries a few times (twice on the chart) and may then report ready; a 429 card does not. |
refused | Unknown or revoked widget ID, or parameters it does not accept; on the ready chart also a request without a Referer from an allowed site. |
Hide the cards of tickers Buzzberg does not track with one rule, or listen for the event:
[data-buzzberg-state="unknown_ticker"] { display: none; }// With tr.untracked { display: none; } in your CSS. event.target is the widget element.
document.addEventListener('buzzberg-widget:state', (event) => {
event.target.closest('tr')?.classList.toggle('untracked', event.detail.state === 'unknown_ticker');
});- Hide an
unavailableelement rather than remove it: it can report again after a retry. Re-mounting an element with another ticker clears the attribute until the new page reports. - Frames load lazily, so a card below the fold reports when it comes near the screen and may collapse then. Do not hide elements until a state arrives: a lazy frame in an element that is not displayed may never load. On a site not in the widget's list no state arrives at all: the browser blocks the frame.
- An iframe pasted without the loader gets the messages only: the frame posts
{type: 'buzzberg-widget:state', state}to your page once per load (an automatic retry reloads it and posts again,unavailablethenready), and repeatsstatein each{type: 'buzzberg-widget:height', height, state}, sent when the height changes. Accept them only whenevent.originishttps://buzzberg.aiandevent.sourceis that iframe'scontentWindow. - The state says nothing beyond what the card shows. Sample and demo widgets send it too; pages that ignore it see no change. Top authors also sends
choice: {horizon, platform}, the switches' current values; the loader uses it to keep the reader's choice when you mount the element again.
What it shows
- Calls: up to 20 calls (long, short, avoid) published in the last 7 days on one ticker, newest first: author name, picture, rank on the Buzzberg Authors leaderboard, platform, time, our summary, a link to the source and the return since the call, positive when the call is working. Above them, long calls against short and avoid calls over 30 days.
- Several tickers: the same cards for up to 10 tickers together, each naming its ticker.
- Top voices: up to 8 authors on the leaderboard among the 200 newest calls on these tickers (at most 7 days back), best rank first, each with their newest call and their 30-day return: the average result of their calls 30 days after each call, the share that won, and how many were counted.
- Bulls vs bears: long calls against short and avoid calls on one ticker over 30 or 7 days, in a card 76 px tall that fits a 240 px wide row. Repeat calls by one author each count, and so do calls on the related symbols the Buzzberg ticker page groups with it (listed funds such as IBIT for BTC) and calls from insider filings and earnings calls, as in /v1/chart; the counts can therefore differ from the feed's.
- Market feed: the same cards across the market: up to 20 calls of the last 24 hours, or of the last 7 days on a quiet day, by authors in the top 150 of the Authors leaderboard with a positive record, on listed instruments, at most two per author. The card says "Ranked authors" and the window.
- Daily Alpha: the newest published Daily Alpha edition (three on weekdays, one on Sunday): its name and time, its two to four narratives (title and text, with links to their sources) and a link to the full edition. A narrative built on subscriber content is left out.
- Top authors: the first rows of the Authors leaderboard as published that day, at one return horizon and platform: rank, picture, name, platforms, the average return of their calls over the horizon, the share that won and how many calls were evaluated (10 at least). Each name links to the author's page. The switches above the list change the horizon and platform inside the frame.
- A page is the same for every visitor and rebuilt after a minute (Top voices, Top authors and Daily Alpha five minutes); the first view after that may still show the previous page while the new one is built. With the browser's own one-minute copy, what a reader sees is at most 11 minutes old (15 for Top voices, Top authors and Daily Alpha). Times refresh every minute.
- Calls, Several tickers and Top voices fit a column from 360 px wide and widen to 920 px.
- Views are counted per widget ID and day; each switch inside Top authors loads a page and counts as one. Nothing about the visitor is stored.
Allowed sites
- Each site is an origin:
https://example.com, orhttps://*.example.comfor its subdomains. Up to 10 per ID. http://localhost:PORTandhttp://127.0.0.1:PORTcan be added for your tests.- A wildcard on a shared suffix such as
*.vercel.appor*.github.iois not accepted. - A change of sites, or a stopped ID, reaches visitors within about three minutes.
- On a site not in the list, the browser shows its own refused-frame box.
States
| Card | Status | When |
|---|---|---|
| This widget is unavailable. | 404 | Unknown or stopped widget ID. |
| This widget is unavailable. | 400 | The address has a parameter of another widget or an unknown one, or one twice. |
| Buzzberg has no calls for … | 404 | A symbol Buzzberg does not track (in a list, any one of them). |
| Name 1 to 10 tickers, comma-separated. | 400 | tickers empty, longer than 10, or not symbols. |
| No sample for … Sample tickers: … | 404 | w=sample with another ticker. |
| No calls on … in the last 7 days. | 200 | A tracked ticker with no calls this week. |
| Calls are unavailable right now. | 503 | Our side cannot read the calls. Not kept; the next load tries again. |
| Calls are unavailable right now. | 429 | More than 120 loads a minute from one address (60 for Several tickers, the Market feed and Top voices). |
The Bulls vs bears card says the same in fewer words: "No calls for …", "No sample for …", "Unavailable right now."
Each card also reports its state to your page, so you can hide the cards of untracked tickers: State.
Your page's policy
- A Content-Security-Policy on your page needs
frame-src https://buzzberg.ai,script-src https://buzzberg.aifor the loader or the chart adapter, andconnect-src https://buzzberg.aifor the chart adapter. - A
sandboxon the iframe needsallow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox, or source links do not open.