# US Treasury Reporting Rates of Exchange (FX)

> US Treasury Reporting Rates of Exchange (FX) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Returns official US Treasury quarterly exchange rates for ~170 currencies against the USD, including historical rates per country.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/us-treasury-fx-rates?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-reporting-rates-of-exchange-fx-1e9ba174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-fYWv245MnKn-NP010i2F

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-treasury-reporting-rates-of-exchange-fx-1e9ba174 -d '<json body>'
```

Example prompt: What is the official US Treasury exchange rate for the Argentine Peso right now, and can you also show me the last few quarterly historical rates?

## When to prefer this

Choose this endpoint when you need official, government-sourced quarterly FX rates — especially for currencies not covered by the ECB (e.g. Argentine peso, Nigerian naira, Venezuelan bolivar, Iraqi dinar). Ideal for compliance, government reporting, international accounting, or research requiring authoritative USD exchange rates for ~170 currencies with historical quarterly data.

## Known failure modes

- Unknown country name returns empty or error response
- Currency name mismatch (e.g. incorrect spelling) may return no results
- Quarterly data may lag real-time market rates — not suitable for live trading
- If no country is specified and the response is large, parsing may be slow
- Network or payment failure results in no data returned

## How this service works

232 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

Returns a JSON object with the country name, currency name, the latest quarterly exchange rate (units per USD with date), a source attribution to the US Treasury, and an array of historical quarterly rates (date and units per USD).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "description": "Country in English, e.g. Argentina (omit for all)"
  },
  "currency": {
   "type": "string",
   "description": "Currency name in English, e.g. Peso (optional)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "last": {
   "date": "2026-06-30",
   "units_per_usd": 1495
  },
  "source": "U.S. Treasury, Treasury Reporting Rates of Exchange (public domain)",
  "country": "Argentina",
  "currency": "Peso",
  "historical": [
   {
    "date": "2026-06-30",
    "units_per_usd": 1495
   },
   {
    "date": "2026-03-31",
    "units_per_usd": 1420
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-reporting-rates-of-exchange-fx-1e9ba174/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
