MARKETS & FINANCE
Dated FX Currency Snapshots
Daily indicative FX snapshots for any pair of 161 currency and accounting codes.
About this data
Daily indicative snapshots across 161 currency and accounting codes. Each answer carries an explicit as-of date, the source name and a methodology note.
Buy per call over x402
One endpoint at api.ssh.autos. Each call is one JSON POST, paid in USDC with no account or API key, and answered in the same HTTP response.
POST /v1/fx/reference-rates
One indicative daily FX rate for any pair of 161 currency codes on an exact valuation date, with source name, methodology note and provenance.
Input
Send a JSON body to POST https://api.ssh.autos/v1/fx/reference-rates.
| Field | Type | Required | Notes |
|---|---|---|---|
pair | string | required | pattern ^[A-Z]{3}/[A-Z]{3}$ |
valuationDate | string | required | pattern ^\d{4}-\d{2}-\d{2}$ |
Returned fields
The answer is JSON: records, a list, and summary, the run status and counts. Each record has these 5 fields; a field the source does not publish comes back null.
5 fields per record
| Field | Type | Notes |
|---|---|---|
pair | string | Currency pair, base/quote (e.g. USD/EUR). |
rate | number | Official reference rate: units of quote per one base. |
date | string | Reference date the rate applies to (YYYY-MM-DD). |
source_name | string | Publishing central bank or reference source. |
note | string | How the rate was derived (direct or cross rate). |
Example call
npx agentcash@latest fetch https://api.ssh.autos/v1/fx/reference-rates -m POST -b '{"pair": "EUR/USD", "valuationDate": "2026-11-05"}'
The example values come from the API spec or the actor’s own sample input. Running it is a paid call.
What is and isn’t charged
You pay the call price for
- An answer, including a definitive “not found” or an empty result.
- Confirmed no matches returns records: [] (charged: it is an answer).
Free
- Invalid input (422), busy (503), source failure (502), timeout (504) and calls whose client hung up are never charged.
- Invalid input and source failures are not charged.
How x402 payment works
- Your client sends the request. The API answers
402 Payment Requiredwith the price and where to pay. - The client pays from its own wallet: USDC on Base or Solana over x402, or over MPP on Tempo. No account, sign-up or API key.
- The client retries with the payment attached and gets the JSON answer in the same call. You are only charged for answers.
The AgentCash CLI in the example does all three steps for you and pays from your AgentCash wallet. Any x402 or MPP client works the same way.
Machine-readable: openapi.json · llms.txt