# ForgeMesh Currency Exchange Rate API

> ForgeMesh Currency Exchange Rate API is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns the official daily reference exchange rate for a given fiat currency pair (base and quote), sourced from standard settlement benchmarks.

## Facts

- Endpoint: POST https://x402.forgemesh.io/currency-exchange-rates
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-currency-exchange-rate-api-59ede08d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LvXdUsiYFcOIoUWZEyZzn

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 forgemesh-currency-exchange-rate-api-59ede08d -d '<json body>'
```

Example prompt: What's the official daily reference exchange rate for USD to EUR? I need it for a settlement normalization calculation.

## When to prefer this

Use this endpoint when you need an official, stable daily reference rate for accounting, normalization, or settlement purposes — not for real-time trading prices. Best suited for batch processing, financial reporting, or any workflow requiring a consistent benchmark rate rather than a live tick feed. Prefer this over live FX APIs when regulatory or audit-grade daily reference rates are acceptable.

## Known failure modes

- Unsupported currency code returns an error or null rate
- Request made on a non-business day may return the most recent available rate or an error
- Missing or malformed base/quote parameters may default to USD/EUR or return a validation error
- Network or payment failure returns a 402 or 5xx error
- Currency pair not covered by the ~30 supported ISO currencies returns an error

## How this service works

Currency exchange rate API: official daily reference rate for any major fiat pair (USD, EUR, GBP, JPY, ~30 ISO currencies), as JSON. A settlement/normalization reference published each business day — not a live trading feed.

## Output

A JSON object containing the exchange rate value for the requested currency pair (base and quote), representing the official daily reference rate published each business day — not a live trading or real-time market feed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "description": "Base currency, default USD"
  },
  "quote": {
   "type": "string",
   "description": "Quote currency, default EUR"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "base": "USD",
   "date": "2026-07-14",
   "rates": {
    "JPY": 155.42
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-currency-exchange-rate-api-59ede08d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
