Copy this
<script async src="https://fr.masterinvest.info/w.js" data-coin="Bitcoin" data-base="Tether"></script>
Live example
Rendered by the very snippet above:
Attributes
| Attribute | Default | What it does |
|---|---|---|
data-coin | Bitcoin | What you are pricing — the coin's full name. |
data-base | Tether | What you are pricing it in. |
data-type | coin | coin or fiat, matching the base you chose. |
data-theme | auto | auto inherits your page's colour; light / dark pin it. |
It will not fight your CSS. The widget renders inside a shadow root, so your styles do not reach into it and its styles do not leak out.
It fails quietly. If the API is unreachable, nothing is drawn — your layout does not shift and no error reaches your visitors.
It counts against the free tier (500 requests/day per visitor IP, see the API reference). One widget on a normal page is far below that; a widget on a high-traffic page should use an API key.
Attribution
The widget shows a small “powered by masterinvest” link. That link is the price of the free tier — please keep it.