# AbstractAPI Historical Exchange Rates

> AbstractAPI Historical Exchange Rates is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns exchange rates for one or more currencies as of a specified historical date

## Facts

- Endpoint: GET https://x402.orthogonal.com/abstractapi/v1/historical
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/abstractapi-historical-exchange-rates-79f9ea60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V9wPyVb-1vtTtmqlLr21q

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 abstractapi-historical-exchange-rates-79f9ea60
```

Example prompt: What was the exchange rate from USD to EUR on March 15, 2022? Use the historical rates lookup with USD as the base currency and EUR as the target.

## When to prefer this

Choose this endpoint when you need exchange rates for a specific past date rather than current live rates. It is ideal for financial reconciliation, accounting, tax reporting, or any use case where you need a definitive rate that was in effect on a given calendar day. Prefer this over the live conversion endpoint when you are not working with present-day transactions.

## Known failure modes

- Invalid or unsupported currency code returns an error or empty result
- Date out of supported historical range returns an error
- Malformed date format (not YYYY-MM-DD) causes a bad request response
- Missing required parameters (date or base currency) may return an error or default behavior
- Rate limiting or payment failure returns a 402 or 429 status

## How this service works

Get exchange rates for a specific historical date.

## Output

Returns historical exchange rate data for the requested base and target currency pair(s) on the specified date, including the rate value and relevant metadata such as the date and currency codes.

## 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": {
      "base": {
       "type": "string",
       "description": "Base currency code"
      },
      "date": {
       "type": "string",
       "description": "Historical date in YYYY-MM-DD format"
      },
      "target": {
       "type": "string",
       "description": "Target currency code(s)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/abstractapi-historical-exchange-rates-79f9ea60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
