# Currency Exchange Rate

> Currency Exchange Rate is a paid API for AI agents from agents.openwebninja.com, paid per call via MPP, price unknown, status unknown (last checked 2026-10-14).

Returns the real-time exchange rate between two currencies (forex or crypto) including previous close and last update timestamp.

## Facts

- Endpoint: GET https://agents.openwebninja.com/realtime-finance-data/currency-exchange-rate?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Provider: agents.openwebninja.com
- Website: https://agents.openwebninja.com
- Canonical page: https://www.zero.xyz/c/agents-openwebninja-com-currency-exchange-rate-988cf51d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T2M1UBBQA-Zenbnu8Iaji

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 agents-openwebninja-com-currency-exchange-rate-988cf51d
```

Example prompt: What is the current exchange rate from USD to EUR? Give me the live rate and also tell me what the previous close was.

## When to prefer this

Choose this endpoint when you need a real-time or near-real-time exchange rate between two specific currencies (fiat or crypto) and also want the previous closing rate for context. It is ideal for single-pair lookups with minimal latency. Prefer this over batch converters when you need live data with update timestamps rather than static or historical rates.

## Known failure modes

- Invalid currency symbol (non-ISO 4217 code) returns an error or empty data
- Unsupported currency pair may return no exchange rate
- Rate data may be slightly delayed during off-market hours for forex
- Network or upstream API unavailability returns a non-200 status

## How this service works

Get currency / forex or crypto exchange rates.

## Output

Returns a JSON object containing the current exchange rate (numeric), the previous closing rate, the timestamp of the last update in UTC, and the from/to currency symbols. Also includes a request ID and status field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "from_symbol",
  "to_symbol"
 ],
 "properties": {
  "language": {
   "type": "string",
   "default": "en",
   "description": "The language to use for the results, specified as a 2-letter language code - see ISO 639-1."
  },
  "to_symbol": {
   "type": "string",
   "description": "A 3-Letter currency code / symbol (ISO 4217) to convert to."
  },
  "from_symbol": {
   "type": "string",
   "description": "A 3-Letter currency code / symbol (ISO 4217) to convert."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "description": "Type of exchange rate data"
    },
    "to_symbol": {
     "type": "string",
     "description": "Currency symbol being converted to"
    },
    "from_symbol": {
     "type": "string",
     "description": "Currency symbol being converted from"
    },
    "exchange_rate": {
     "type": "number",
     "description": "Current exchange rate"
    },
    "previous_close": {
     "type": "number",
     "description": "Previous closing exchange rate"
    },
    "last_update_utc": {
     "type": "string",
     "description": "Timestamp of last update in UTC"
    }
   }
  },
  "status": {
   "type": "string",
   "description": "Status of the API response"
  },
  "request_id": {
   "type": "string",
   "description": "Unique identifier for the request"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-openwebninja-com-currency-exchange-rate-988cf51d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.openwebninja.com](https://www.zero.xyz/host/agents.openwebninja.com/llms.txt)
