# Currency & Crypto Latest Rates

> Currency & Crypto Latest Rates is a paid API for AI agents from currency.payapi.market, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Returns the latest fiat currency exchange rates (via ECB/Frankfurter) for a given base currency, optionally filtered to specific target currencies.

## Facts

- Endpoint: POST https://currency.payapi.market/rates/latest?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-crypto-latest-rates-4915f357
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iSmI6c6cLMnUbc7x4yCg6

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 currency-crypto-latest-rates-4915f357 -d '<json body>'
```

Example prompt: What are today's exchange rates from USD to EUR, GBP, and JPY — pull the latest ECB rates for me.

## When to prefer this

Choose this endpoint when you need reliable, ECB-sourced fiat currency exchange rates at low cost ($0.001 USDC per call). Prefer it over alternatives when you need official ECB reference rates for EUR-denominated or multi-currency lookups, or when working in a crypto-native payment context (x402/USDC). Not suitable when you need intraday tick-level FX rates or real-time crypto prices (use the sibling crypto endpoint for that).

## Known failure modes

- Unsupported or invalid base currency ISO code returns an error
- Invalid symbols in the target list may be ignored or cause an error
- Payment failure (x402) if USDC balance is insufficient
- Rate data may be cached or slightly delayed relative to real-time market prices
- ECB rates are typically end-of-day, not intraday tick data

## How this service works

Fiat exchange rates (ECB via Frankfurter) and crypto prices (CoinGecko) with x402 payments.

## Output

A JSON object containing the base currency, the date of the rates, a map of target currency codes to their exchange rates relative to the base, a cached boolean indicating if the response was served from cache, and the data source (ECB via Frankfurter).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "description": "Base currency ISO 4217 code, e.g. 'USD'. Defaults to USD if omitted."
  },
  "symbols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional list of target currency codes to restrict the response, e.g. ['EUR', 'GBP', 'JPY']. Omit for all rates."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "date": "2024-01-15",
  "rates": {
   "EUR": 0.9187,
   "GBP": 0.7861,
   "JPY": 147.85
  },
  "cached": false,
  "source": "ECB via Frankfurter"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-crypto-latest-rates-4915f357/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from currency.payapi.market](https://www.zero.xyz/host/currency.payapi.market/llms.txt)
