Solana Fee Calculator
All tools

Widget and JSON

Show the current Solana fee levels on your own site, or read them as JSON. Both are served from this site’s cache; nothing on your page talks to Solana.

Light

<iframe src="https://solanafeecalculator.xyz/embed/widget" title="Solana priority fees" width="360" height="190" style="border:0;border-radius:22px;max-width:100%" loading="lazy"></iframe>

Dark

<iframe src="https://solanafeecalculator.xyz/embed/widget?theme=dark" title="Solana priority fees" width="360" height="190" style="border:0;border-radius:22px;max-width:100%" loading="lazy"></iframe>

JSON

GET https://solanafeecalculator.xyz/api/fees returns the priority-fee levels (µ-lamports per CU over the last 150 slots), the base fee, the Jito tip percentiles in lamports and the SOL price, each with its read time. Fields without a value are null. CORS is open; please cache for at least 10 seconds.

https://solanafeecalculator.xyz/api/fees

FAQ

Does the widget track visitors?

No. It is one small HTML page without cookies, without external requests and without a script of yours.

How often do the values change?

The widget refreshes every 30 seconds; the JSON is cached for 10 seconds.