memeswap.fun
Docs

Embed widgets: live price cards and lists for any site

Three widgets, each a single self-contained page: no script, no key, no cookies, under 30 KB, cached for a minute. Paste the iframe where it should appear. The only rule is that the "Live on MemeSwap" link in the footer stays visible.

Updated 2026-09-17. All documentation.

The widgets

WidgetURLShowsDefault size
Token card/embed/t/<chain>/<address>Logo, symbol and name, chain badge, price, 24h change, liquidity, market cap, holders, a 24h sparkline and the contract safety badge, with a Trade button.360 x 220
Token card, compact/embed/t/<chain>/<address>?compact=1Price and 24h change only.280 x 120
New pairs/embed/new or /embed/new/<chain>The 10 newest pairs MemeSwap tracks (the same set as /new/), age and liquidity, each linking to its token page.360 x 420
Top by volume/embed/hub/<chain> or /embed/hubThe 10 listed tokens with the most 24h volume on a chain, volume and 24h change, each linking to its token page.360 x 420

<chain> is the slug used on token pages (solana, base, robinhood, ethereum, bsc and the rest of the supported chains). <address> is the token's contract or mint address exactly as it appears in the token page URL.

Parameters

QueryValuesEffect
themedark (default), lightDark or light palette. Anything else is treated as dark.
compact1Token card only: price and 24h change, sized for 280 x 120.
langanyIgnored. Widgets are English; the token page a widget links to picks the visitor's language on the app shell.

Sizes

The widgets are fluid: they fill whatever width and height the iframe is given and hide overflow rather than scroll. The defaults above are the sizes they were designed at. Going narrower than 260 px on the card or 300 px on the lists starts to clip the numbers; going wider is fine. The style="border:0;border-radius:12px" in the snippets is cosmetic and yours to change.

Snippets

Token card, dark

<iframe src="https://memeswap.fun/embed/t/<chain>/<address>?theme=dark" width="360" height="220" style="border:0;border-radius:12px" loading="lazy" title="<SYMBOL> price on MemeSwap"></iframe>

Token card, compact

<iframe src="https://memeswap.fun/embed/t/<chain>/<address>?theme=dark&compact=1" width="280" height="120" style="border:0;border-radius:12px" loading="lazy" title="<SYMBOL> price on MemeSwap"></iframe>

Token card, light

<iframe src="https://memeswap.fun/embed/t/<chain>/<address>?theme=light" width="360" height="220" style="border:0;border-radius:12px" loading="lazy" title="<SYMBOL> price on MemeSwap"></iframe>

New pairs on Solana

<iframe src="https://memeswap.fun/embed/new/solana?theme=dark" width="360" height="420" style="border:0;border-radius:12px" loading="lazy" title="New Solana meme coin pairs on MemeSwap"></iframe>

Top Base tokens by 24h volume

<iframe src="https://memeswap.fun/embed/hub/base?theme=light" width="360" height="420" style="border:0;border-radius:12px" loading="lazy" title="Top Base meme coins by 24h volume on MemeSwap"></iframe>

Every token page, chain page and the new-pairs pages carry an "Embed" block near the bottom with the snippet for that page already filled in.

Live example

The newest Solana pairs, exactly as the widget renders on a third-party site:

And the top Base tokens by 24h volume in the light theme:

Attribution

The widgets are free for any site, commercial or not, with one condition: the footer link that reads "Live on MemeSwap" stays visible and unaltered. It is a normal link to the token's page on memeswap.fun, and it is how the widget pays for itself. Cropping the footer with a smaller iframe, covering it, or setting the iframe to sandbox without allow-top-navigation-by-user-activation or allow-popups breaks that link and breaks the licence.

Any site may frame these URLs. The server sends Content-Security-Policy: frame-ancestors * for /embed/* and nothing else on memeswap.fun is frameable.

What a widget does and does not do

Requests

Want a different size, a chart widget, or a JSON endpoint for your own rendering? The public API already serves the numbers behind every card (GET /api/tokens, GET /api/token/<chain>/<address>). For anything else, get in touch.

Nothing here is financial advice. Meme coins are high risk and most lose value. The transaction review and wallet confirmation are authoritative for any live route. Read the full risk disclosure.