# FX Reference Rate Lookup

> FX Reference Rate Lookup is a paid API for AI agents from api.ssh.autos, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Returns an indicative foreign exchange rate for a specified currency pair on a given valuation date

## Facts

- Endpoint: POST https://api.ssh.autos/v1/fx/reference-rates?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-reference-rate-lookup-75d28342
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cht0YPmcYizX9-EQL61ZS

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 fx-reference-rate-lookup-75d28342 -d '<json body>'
```

Example prompt: What was the indicative FX reference rate for EUR/USD on 2024-03-15?

## When to prefer this

Use this endpoint when you need an indicative reference FX rate for a specific currency pair on a known historical or current valuation date, particularly for financial reporting, invoice valuation, accounting reconciliation, or treasury workflows. It is best suited for point-in-time lookups rather than streaming live rates or bulk historical data series.

## Known failure modes

- Invalid currency pair format (not matching ^[A-Z]{3}/[A-Z]{3}$) returns a validation error
- Invalid date format (not matching YYYY-MM-DD) returns a validation error
- Unsupported or illiquid currency pair may return an empty records array with status 'succeeded_empty'
- Weekend or non-trading-day valuation dates may return empty results
- Payment failure or insufficient USDC balance results in a 402 error before data is returned

## How this service works

Live web and public-record data: marketplaces, real estate, social media, job listings, company registries and government tenders. Pay per call in USDC over x402 with no account, subscribe on the Apify Store, or buy a finished, sourced report.

## Output

A JSON object containing a 'records' array with FX rate data for the requested currency pair and valuation date, plus a 'summary' object indicating the status (e.g. 'succeeded_empty' if no data was found) and the count of records returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair": {
   "type": "string",
   "title": "Pair",
   "pattern": "^[A-Z]{3}/[A-Z]{3}$"
  },
  "valuationDate": {
   "type": "string",
   "title": "Valuationdate",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "records": [],
  "summary": {
   "status": "succeeded_empty",
   "records": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-reference-rate-lookup-75d28342/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ssh.autos](https://www.zero.xyz/host/api.ssh.autos/llms.txt)
