Every crypto site has that little widget: type an amount, see what it's worth in your currency, watch it tick in real time. It looks like the kind of thing that needs a paid data plan and an API key you have to email someone for. It doesn't. You can build a live XNO → fiat converter with a free, keyless API — no signup, no key, no backend — and drop it on any page in one HTML file.

The catch that trips people up isn't the price math, it's the API choice. A browser widget needs an API that (1) is free without registration, and (2) sends CORS headers so your JavaScript can actually read the response. Most "free" crypto APIs fail the second test and your fetch dies with a CORS error in the console. Below is the exact combination that works — CoinGecko's keyless public API as the primary, CryptoCompare as an automatic fallback — plus the complete, tested widget: bidirectional conversion, ten currencies, 24h change, auto-refresh, and graceful offline handling.