TypeScript SDK

@pontx/twelve-data-forex

The operator-published SDK for Twelve Data Forex API covers every Endpoint in the current PontxSpec.

v0.1.1Node.js 18 / 20 / 22 CIESM + CommonJSTypeScript declarationsSDK Endpoint coverage 111/111

SDK quality gate

The source for v0.1.1 passed its complete unit suite and built-package E2E on Node.js 18 / 20 / 22.

SDK quality: UT 100%, E2E passed
Unit tests
4/4 · 100%
E2E
Passed
Tested commit
528a39a
Verified
2026-08-15

Install and call

The SDK is produced by Pontx and typechecked and built before publication.

Install SDK
pnpm add @pontx/twelve-data-forex
TypeScript usage
import { createTwelveDataForexClient } from "@pontx/twelve-data-forex";

const client = createTwelveDataForexClient({
  apiKey: process.env.PONTX_TWELVE_DATA_API_KEY!
});
const result = await client.currencies.GetExchangeRate({ symbol: "EUR/USD" });

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.

Dedicated API CLI
pnpm add --global @pontx/twelve-data-forex

pontx-twelve-data-forex call currencies GetExchangeRate --symbol EUR/USD --dry-run