# Currency & Crypto Exchange Rate Converter

> Currency & Crypto Exchange Rate Converter 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).

Converts a specified amount from one fiat currency to another using ECB rates via Frankfurter, returning the exchange rate and converted result.

## Facts

- Endpoint: POST https://currency.payapi.market/rates/convert?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-exchange-rate-converter-6588f46a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bxpxa2aLl2Vo5diwkqjan

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-exchange-rate-converter-6588f46a -d '<json body>'
```

Example prompt: Can you convert 500 US dollars to British pounds for me and tell me today's exchange rate?

## When to prefer this

Choose this endpoint when you need programmatic fiat-to-fiat currency conversion backed by ECB official rates, especially in agentic workflows that require micropayment-compatible (x402/USDC) pricing. It is ideal when you want a lightweight, pay-per-call conversion with a structured JSON response including the date and source attribution. Prefer alternatives if you need real-time tick-by-tick forex rates or historical rate series.

## Known failure modes

- Invalid or unsupported ISO 4217 currency code returns an error response
- Missing required fields (from, to, amount) result in a validation error
- Crypto pairs may fail if CoinGecko data is unavailable or the ticker is unrecognized
- Payment failure via x402 protocol if USDC balance is insufficient
- Rate data may be slightly delayed (ECB rates are typically updated on business days)

## How this service works

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

## Output

A JSON object containing the source currency code, target currency code, the input amount, the exchange rate, the converted result amount, the rate date, and a source attribution string (e.g. 'ECB via Frankfurter').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target currency ISO 4217 code, e.g. 'GBP'."
  },
  "from": {
   "type": "string",
   "description": "Source currency ISO 4217 code, e.g. 'USD'."
  },
  "amount": {
   "type": "number",
   "description": "Amount in the source currency to convert, e.g. 100.0."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "GBP",
  "date": "2024-01-15",
  "from": "USD",
  "rate": 0.7861,
  "amount": 100,
  "result": 78.61,
  "source": "ECB via Frankfurter"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-crypto-exchange-rate-converter-6588f46a/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)
