# market.memoryapi.org FX Currency Exchange Rates

> market.memoryapi.org FX Currency Exchange Rates is a paid API for AI agents from market.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns current and historical USD exchange rates against major currencies, sourced from FRED (St. Louis Federal Reserve).

## Facts

- Endpoint: GET https://market.memoryapi.org/x402/market/fx
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-memoryapi-org-257cc7b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FBIiZSrsfEIE2ALjSCeo8

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 market-memoryapi-org-257cc7b0
```

Example prompt: Can you pull the current USD exchange rates against the euro, yen, and British pound from the Federal Reserve FRED data, and also show me historical monthly rates for the past 12 months?

## When to prefer this

Use this endpoint when you need authoritative USD foreign exchange rates backed by Federal Reserve (FRED) data, especially for historical analysis or macroeconomic research. Prefer over commercial FX feeds when regulatory-grade or government-sourced data is required.

## Known failure modes

- Unsupported currency pair returns empty or error response
- Date range outside available FRED historical data returns no results
- FRED data feed temporarily unavailable returns 503
- Invalid date format may return 400 bad request

## How this service works

Currency exchange rates USD vs major currencies. Historical rates from FRED (St. Louis Federal Reserve).

## Output

Returns USD exchange rates vs major currencies (EUR, GBP, JPY, CAD, etc.) including current rates and historical time series sourced from FRED. Includes timestamps and rate values for the requested period.

## Example request

```json
{
 "cik": "0001067983",
 "institution": "Federal Reserve"
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-memoryapi-org-257cc7b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.memoryapi.org](https://www.zero.xyz/host/market.memoryapi.org/llms.txt)
