# US Treasury Reporting Rates of Exchange API

> US Treasury Reporting Rates of Exchange API 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-20).

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

## Facts

- Endpoint: POST https://api.vextorium.com/divisas-tesoro-eeuu-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-reporting-rates-of-exchange-api-ba8c7780
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fK3p0pD3U4XbSUVmUrPI6

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-api-ba8c7780 -d '<json body>'
```

Example prompt: What is the official US Treasury exchange rate for the Argentine peso, and can you show me the full quarterly history?

## When to prefer this

Choose this endpoint when you need official US government (Treasury) FX rates, especially for currencies the ECB does not publish (e.g., Argentine peso, Nigerian naira, Venezuelan bolivar). It is ideal for government financial reporting, compliance, sanctions-related research, or any scenario requiring authoritative, publicly sourced quarterly rates with historical depth across ~170 currencies.

## Known failure modes

- Country or currency name not recognized — returns empty or null result
- Misspelled or non-English country/currency name — no match found
- No historical data available for a very recently added currency
- API returns null fields if the Treasury has not published a rate for the requested period
- Network or payment authorization failure (x402 micropayment not processed)

## How this service works

Official US Treasury reporting rates of exchange (quarterly) for about 170 currencies against the US dollar, including many the ECB does not publish (Argentine peso, naira, bolivar...), with history per country.

## Output

A JSON object containing the country name, currency name, source attribution (U.S. Treasury), the most recent quarterly rate (date + units per USD), and a full historical array of quarterly rates (date + units per USD). If no country/currency is specified, rates for all ~170 currencies are returned.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pais": "Argentina",
  "fuente": "U.S. Treasury, Treasury Reporting Rates of Exchange (dominio público)",
  "moneda": "Peso",
  "ultimo": {
   "fecha": "2026-06-30",
   "unidades_por_usd": 1495
  },
  "historico": [
   {
    "fecha": "2026-06-30",
    "unidades_por_usd": 1495
   },
   {
    "fecha": "2026-03-31",
    "unidades_por_usd": 1420
   },
   {
    "fecha": "2025-12-31",
    "unidades_por_usd": 1480
   },
   {
    "fecha": "2025-09-30",
    "unidades_por_usd": 1380
   },
   {
    "fecha": "2025-06-30",
    "unidades_por_usd": 1205
   },
   {
    "fecha": "2025-06-30",
    "unidades_por_usd": 1345
   },
   {
    "fecha": "2025-03-31",
    "unidades_por_usd": 1093
   },
   {
    "fecha": "2025-03-31",
    "unidades_por_usd": 1230
   },
   {
    "fecha": "2024-12-31",
    "unidades_por_usd": 1052.5
   },
   {
    "fecha": "2024-09-30",
    "unidades_por_usd": 989.5
   },
   {
    "fecha": "2024-06-30",
    "unidades_por_usd": 929.5
   },
   {
    "fecha": "2024-03-31",
    "unidades_por_usd": 876
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-reporting-rates-of-exchange-api-ba8c7780/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)
