Type-safe TypeScript SDK and CLI for the CurrencyBeacon v1 REST API.
npm install @pontx/currencybeacon-restimport { createCurrencyBeaconClient } from "@pontx/currencybeacon-rest";
const client = createCurrencyBeaconClient({
apiKey: process.env.PONTX_CURRENCYBEACON_API_KEY,
});
const rates = await client.latest({
base: "USD",
symbols: "EUR,GBP",
});Use authMode: "bearer" to send the same caller-owned key through the
Authorization: Bearer header instead of the default query parameter.
export PONTX_CURRENCYBEACON_API_KEY="..."
pontx-currencybeacon-rest call latest --base USD --symbols EUR,GBP --dry-runThe SDK and CLI connect directly to CurrencyBeacon. They do not proxy, cache, persist, or display supplier responses, and keys are added only at request execution time so dry-run output never includes them.