dydt.aiTerminalTerminalDevelopers
DocsAPI referenceChangelog
Open terminalGet API key

GET STARTED

OverviewQuickstartCore concepts

REFERENCE

HTTP endpointsWebSocket streams

ACCOUNT

API keysPricing and billing

GUIDES

AI agentsBuild your own agentChart embedChangelog

SPECS

OpenAPI JSON ↗AsyncAPI JSON ↗
Developers/Guides

Chart embed

Put a live dydt chart for any Solana token on your website with one line of HTML. Free, with no account or API key.

Build your embed

Paste a pool address, choose the options, and copy the snippet into your page. The preview below is the live chart your visitors see.

Find the pool address

  1. Open the token on dydt.ai.
  2. Select the share icon next to the token name, then Embed chart. This page opens with the pool filled in.

The pool address is also the last part of the trade page URL, as in dydt.ai/trade/POOL_ADDRESS, and the Pool chip under the token name copies it.

Size the chart

The chart fills the width of its container. Give it a height between 400 and 600 pixels. To size it from your own CSS, wrap the iframe in a container and let the iframe fill it:

HTML
<div style="height: 480px">
  <iframe
    src="https://dydt.ai/embed/chart/POOL_ADDRESS"
    title="Price chart by dydt.ai"
    width="100%"
    height="100%"
    style="border: 0"
    loading="lazy"
  ></iframe>
</div>

Replace POOL_ADDRESS with the pool you want to chart.

What your visitors see

Live candles
New trades update the chart as they happen, from 1-second to daily candles.
Trade markers
Developer, KOL, sniper, and bundler trades appear on the candles, with migrations and calls.
Token footer
Token image, symbol, and live market cap, with a Trade on dydt.ai link that opens in a new tab.
Graduation handling
When a bonding-curve token graduates, the chart switches to its new pool on its own. Your snippet keeps working.

Options

Add options to the embed URL as query parameters, for example ?interval=15m&currency=sol. Leave out any option to use its default.

interval
Candle interval the chart opens on. Viewers can change it from the toolbar. Values: 1s, 15s, 1m, 15m, 1h, 6h, 1d. Default: 1m.
currency
Currency for prices and market cap. Values: usd (USD), sol (SOL). Default: usd.
mode
Plot market cap or price per token. Values: mcap (Market cap), price (Price). Default: mcap.
toolbar
Interval, currency, and display controls above the chart. Hide it for small embeds. Values: 0 (Hide), 1 (Show). Default: 1.
markers
Public trade markers: developer, KOL, sniper, and bundler trades, migrations, and calls. Values: 0 (Hide), 1 (Show). Default: 1.

Questions

Is it free?
Yes. The embed needs no account and no API key.
Can I use a token address instead?
Not yet. A token can trade in several pools, so the embed takes the pool you want to chart. The Pool chip on the trade page copies it.
Can I remove the dydt.ai branding?
No. The dydt.ai watermark and the footer link must stay visible, and the embed must not be covered or cropped.
Is there a light theme?
Not yet. The chart uses the dydt dark theme.
Does it work on phones?
Yes. The chart fills the width it is given. Below 400 pixels of height, set toolbar=0 to give the candles more room.