# Exchange-Rate History Between Two Dates

> Exchange-Rate History Between Two Dates is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Returns historical foreign exchange rates for a currency pair over a specified date range

## Facts

- Endpoint: POST https://twin.unykorn.org/records/fx-history?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exchange-rate-history-between-two-dates-26caf355
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_puFGQJQoFM-eFshaPeMiK

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 exchange-rate-history-between-two-dates-26caf355 -d '<json body>'
```

Example prompt: Can you pull the historical exchange rates from USD to EUR between January 1, 2024 and March 31, 2024?

## When to prefer this

Choose this endpoint when you need historical FX rate data across a date range rather than a live or single-point rate. It is well-suited for financial reporting, budget reconciliation, trend analysis, or any workflow that needs day-by-day or period-by-period exchange rate history between two specific currencies.

## Known failure modes

- Invalid or unsupported currency code returns an error
- Start date after end date returns a validation error
- Date range exceeding supported history window may return partial or empty results
- Malformed date format (not YYYY-MM-DD) causes a parse error
- Very large date ranges may return truncated data or timeout

## How this service works

Exchange-rate history between two dates — Genesis402 / UnyKorn Operator Network

## Output

Returns a time-series of exchange rates for the specified currency pair (from/to) across each day or period within the given start and end date range, enabling historical analysis, trend review, or financial reconciliation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "to": {
     "type": "string",
     "description": "required"
    },
    "end": {
     "type": "string",
     "description": "required YYYY-MM-DD"
    },
    "from": {
     "type": "string",
     "description": "required"
    },
    "start": {
     "type": "string",
     "description": "required YYYY-MM-DD"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "fx-history",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.002,
   "receipt_id": "g402-<16hex>"
  },
  "sources": [
   {
    "ok": true,
    "name": "<source>"
   }
  ],
  "limitations": "<text>",
  "generated_at": "<iso time>",
  "evidence_hash": "sha256:<64hex>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/exchange-rate-history-between-two-dates-26caf355/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
