← Back to Abstract
GET/v1/live

Live Exchange Rates

Get the latest exchange rates for a given base currency.

Abstract·$0.001 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "abstractapi/exchange-rates", path: "/v1/live", query: { "base": "example" } }); console.log(output);

Query parameters

baserequired
string

Base currency code (e.g. USD)

target
string

Target currency code(s), comma-separated

    Orthogonal - Giving AI agents the tools they need.