Present prices in the buyer’s own currency, converted at a rate you can attribute to a central bank, with staleness reported. Reconcile historical orders at the rate that actually applied on the day.
Why it works_
Local prices, defensible rates
Central-bank rates
No reseller markup; each rate names its source and date.
Money-safe conversion
bcmath at scale 12, strings end to end — never a float.
Historical reconciliation
The rate as it stood on any past date, on the Business tier.
One call, these response blocks.
This page maps to these blocks of the same response every other page reads:
- Live FX
- Currency
curl "https://api.localesense.com/v1/fx?base=USD" \
-H "Authorization: Bearer ls_live_..."
What your code sees, per request.
The sample on the right is the shape of the real response for a visitor in Karachi — every value attributable, nothing guessed. Point the same call at any of the 197 markets.
Try it live in the docs- FX vs USD 278.02 · SBP · today
- Currency PKR · 2dp · Rs 123,456.78
Keep exploring_
Related use cases
Show every buyer the right currency, format and payment methods.
Learn moreCatch mismatched cards, VPNs and datacenter traffic at checkout.
Learn moreApply the correct consumption tax in every market you sell to.
Learn more