Exchange Rate
Fiat currency conversion across 160+ currencies.
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.
Often used with this
Token Price
$0.0020Spot prices for cryptocurrencies and tokens. Use when an agent values a holding, converts an amount, or checks a market before acting.
DEX Pairs
$0.0100On-chain DEX liquidity for a token: which pools exist, how deep they are, and how much they trade.
Market Brief
$0.0300Answers "what is the market doing right now" in a single request, assembling prices, movement and liquidity into one response.