TypeScript SDK
@pontx/frankfurter
The operator-published SDK for Frankfurter exchange-rate API currently covers 4 of 5 Endpoints in the PontxSpec.
SDK quality gate
The source for v0.1.3 passed its complete unit suite and built-package E2E on Node.js 18 / 20 / 22.
Install and call
The published package is verified for 4 supported Endpoints. Unsupported Endpoints remain available through documentation and request preview.
pnpm add @pontx/frankfurterimport { createFrankfurterClient } from "@pontx/frankfurter";
const client = createFrankfurterClient();
const result = await client.exchangeRates.getLatestRates(
{
"amount": 100,
"base": "USD"
}
);
console.log(result);Command-line access
This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.
pnpm add --global @pontx/frankfurter
pontx-frankfurter call exchangeRates.getLatestRates --base USD --symbols JPY,CNY --dry-run