# Strale Forex History API

> Strale Forex History API is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Retrieves historical foreign exchange rates between two currencies over a specified date range

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/forex-history
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-forex-history-api-f0db2ed5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5JAVF6wWeuLbXLLZMesEn

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 strale-forex-history-api-f0db2ed5
```

Example prompt: Can you pull the historical EUR to USD exchange rates from January 1 to March 31 this year so I can analyze the trend for my quarterly report?

## When to prefer this

Choose this endpoint when you need auditable, cryptographically verified historical forex rate data with a clear provenance chain — especially in compliance, audit, or financial reporting contexts. Prefer this over generic open forex APIs when auditability and trust guarantees matter, or when you need structured historical data across multiple countries with a single reliable source.

## Known failure modes

- Invalid or unsupported currency code returns an error — use standard ISO 4217 codes (e.g. USD, EUR, GBP)
- Date range out of bounds or start_date after end_date may return empty results or a validation error
- Missing required 'from' or 'to' query parameters results in a 400 Bad Request
- Payment failure or insufficient USDC balance may block the x402 call
- Unsupported currency pairs for certain country combinations may return no data

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns historical foreign exchange rates for the specified currency pair and date range, along with a cryptographic audit record with chain hashing for trust and traceability.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target currency (e.g. USD)"
      },
      "from": {
       "type": "string",
       "description": "Source currency (e.g. EUR)"
      },
      "end_date": {
       "type": "string"
      },
      "start_date": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-forex-history-api-f0db2ed5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
