Exchange Rate

Fiat currency conversion across 160+ currencies.

$0.0020 per call POST /v1/tools/exchange-rate

Call it

The first response is 402 with the exact price and every rail you can pay with. Pay, repeat the request with the proof, and you get the result.

curl -X POST https://api.glianalabs.com/v1/tools/exchange-rate \
  -H 'content-type: application/json' \
  -d '{"from":"USD","to":"IDR,EUR","amount":100}'

When to use it

Use when an agent prices something for a different market, or normalises amounts before comparing them. Inputs: from (required, e.g. USD), to (required, comma-separated e.g. IDR,EUR), amount (optional, converts as well as quoting). Returns rates and converted values with the reference date. Mid-market reference rates, not dealable quotes.

What it costs

$0.0020 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.

Not sure this is the right endpoint? GET /v1/consult?intent=… is free and answers that.