Skip to content
Fourohtwo

Look up a currency by ISO 4217 code

api.duoleads.com/v1/ref/currency

Look up a currency by ISO 4217 code: its alphabetic and numeric codes, English name, minor-unit exponent, the smallest cash denomination where it differs from the minor unit, and the territories that use it. Returns the correct rounding increment for cash amounts, which is what a caller needs to render or settle a price. This route returns currency facts only and never an exchange rate.

BaseAnswering
GEThttps://api.duoleads.com/v1/ref/currency

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.duoleads.com/v1/ref/currency?code=EUR&include=territories");
console.log(await res.json());

Example input

{
  "code": "EUR",
  "include": "territories"
}

More from Duo Data Utilities