Locanium
Location · API

Currency Exchange

Convert between 160+ currencies with live foreign-exchange rates.

GET /v1/currency
GET /v1/currency
200 OK
{
  "from": "USD",
  "to": "EUR",
  "rate": 0.9213,
  "amount": 100,
  "result": 92.13
}
Capabilities

Why teams use it

Live rates

Real-time FX rates, refreshed continuously.

168 currencies

Fiat coverage for global pricing.

One-call conversion

Rate and converted amount in a single response.

Reliable sources

Aggregated from trusted market data.

Request

Call it in your language

curl "https://api.locanium.com/v1/currency?from=USD&to=EUR&amount=100" \
  -H "Authorization: Bearer sk_live_..."
Response

What you get back

  • fromstring
    Source currency
  • tostring
    Target currency
  • ratenumber
    Exchange rate
  • resultnumber
    Converted amount
  • timestampnumber
    Rate timestamp (Unix)
Use cases

What you can build

International pricing

Display prices in the visitor’s currency.

Checkout

Convert at live rates at the moment of sale.

Reporting

Normalize multi-currency revenue.

Location family

Full parameters, errors and code samples are in the API reference.

Get started

One API for geolocation, currency and identity checks. Book a demo and get a sandbox key the same day.