← HostDeFi Home · Badge builder · API docs · Methodology
A free badge that shows a token's stored HostDeFi grade — A+ to F, refreshed on the weekly data run and scored openly from on-chain data (authority flags, liquidity shape, holder structure) — and links your readers to the full risk read. No API key, no JavaScript required, no tracking. It helps your readers avoid honeypots, and it tells them you checked.
The fastest way to make yours is the badge builder — paste an address, copy the snippet. The raw pieces, for anyone wiring it by hand:
A shields-style SVG showing the token's current grade (README, token page, forum post):
<a href="https://hostdefi.com/t/<CHAIN>/<TOKEN_ADDRESS>?via=badge">
<img src="https://hostdefi.com/api/badge/<CHAIN>/<TOKEN_ADDRESS>.svg"
alt="HostDeFi safety grade" height="20">
</a>
<CHAIN> is one of solana, ethereum, base,
bsc, arbitrum, monad. For Solana links you can drop the chain
segment from the /t/ URL. Tokens not yet in the graded corpus render an honest
“not graded” shield — the badge never invents a score.
A compact card with the grade, authority flags and liquidity, linking to the full report:
<iframe src="https://hostdefi.com/embed/badge/<CHAIN>/<TOKEN_ADDRESS>" style="border:0;width:100%;max-width:420px;height:72px" title="HostDeFi safety grade"></iframe>
curl https://hostdefi.com/api/token/<CHAIN>/<TOKEN_ADDRESS>.json
Same data, keyless and CORS-open. For live scans of ungraded tokens use the free scanner API — see the API docs (100 checks/day/IP, honest 429s).
Most token scams travel through content: a mention, a chart, a "just launched" post. A one-tap route to the contract's actual on-chain state — scored openly — makes every mention safer. Questions or a custom integration: @hostdefiapps.