Drop two lines of HTML into any website — WordPress, Blogger, Ghost, a static site or a custom app — and get a live mid-market rate card. No sign-up, no API key, no tracking. Attribution link is included and must stay.
Step 1. Paste this where you want the widget to appear:
<div data-gfx-rate="usd-pkr"></div>
<script src="https://globalfxcc.com/widget.js" async></script>
Step 2. Change the currency pair. Supported values follow the pattern from-to in lowercase, for example:
<div data-gfx-rate="gbp-pkr"></div>
<div data-gfx-rate="eur-usd" data-gfx-theme="light"></div>
<div data-gfx-rate="aed-pkr"></div>
| Attribute | Values | Default |
|---|---|---|
data-gfx-rate | any pair, e.g. usd-pkr, usd-inr, eur-gbp | usd-pkr |
data-gfx-theme | dark, light | dark |
Rates come from our published snapshot (https://globalfxcc.com/rates-snapshot.json), refreshed several times a day. Currency codes and values are never translated, and the widget renders inside a normal <div> so it works with any theme.