# Saylor Innovations Data Desk – US Treasury FX Rates

> Saylor Innovations Data Desk – US Treasury FX Rates is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns US Treasury official quarterly foreign currency exchange rates (foreign currency units per US dollar) for any country or currency, used in federal reporting

## Facts

- Endpoint: GET https://saylorinnovations.com/api/treasury/fx-rates?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-us-treasury-fx-rates-70850714
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MvYF1wRZo_GycsXvOSmQU

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 saylor-innovations-data-desk-us-treasury-fx-rates-70850714
```

Example prompt: What's the official US Treasury quarterly exchange rate for the Japanese yen? I need the government-standard figure used in federal reporting.

## When to prefer this

Choose this endpoint when you need the official US Treasury quarterly exchange rates specifically for federal reporting, government contracting, or compliance purposes — not for real-time or market FX rates. It is the authoritative source for the rates the US government mandates in official financial reporting and grant administration.

## Known failure modes

- Unrecognized country or currency query returns zero results or an empty rates array
- Ambiguous query text may be misinterpreted, returning rates for the wrong currency
- Data may lag if Treasury has not yet published the current quarter's rates
- Network or payment failure returns a 402 or 5xx error
- Malformed query parameter may result in a server-side error

## How this service works

US Treasury official exchange rates - quarterly foreign currency units per US dollar for any country or currency, used in federal reporting

## Output

A JSON object containing an array of exchange rate records keyed by currency code, the quarter-end date the rates are valid as of, the number of results returned, the query as interpreted by the server, the data source attribution, and an optional note providing context or caveats for interpreting the figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "description": "optional country or currency text such as euro, japan, brazil"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "rates"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "count": {
       "type": "number",
       "description": "Number of items returned"
      },
      "query": {
       "type": [
        "string",
        "null"
       ],
       "description": "The query as the server interpreted it"
      },
      "rates": {
       "type": "array",
       "description": "Rates keyed by code"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "as_of_quarter_end": {
       "type": "string",
       "description": "As of quarter end"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-us-treasury-fx-rates-70850714/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
