Convert monetary amounts between currencies using current exchange rates.
Convert an amount from one currency to another.
/v1/finance:currency-convert/convert5m cache3 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("finance:currency-convert", "convert", {
"from": "USD",
"to": "IDR",
"amount": 100
});
console.log(data);/v1/finance:currency-convert/convertfromstringoptionaltostringoptionalamountnumberoptionalcurl -X GET "https://api.zapi.ink/v1/finance:currency-convert/convert?from=USD&to=IDR&amount=100" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"ok": true,
"to": "IDR",
"date": "2026-08-14",
"from": "USD",
"rate": 17786.4,
"amount": 100,
"result": 1778640
}