# Tollkit FX Currency Converter

> Tollkit FX Currency Converter is a paid API for AI agents from extract.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Converts an amount between two currency codes using European Central Bank reference rates for the latest business day or any date in the last 90 days

## Facts

- Endpoint: POST https://extract.tollkit.dev/fx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-fx-currency-converter-e80af6b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ct1g08Si91tq9I859NIZ3

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 tollkit-fx-currency-converter-e80af6b8 -d '<json body>'
```

Example prompt: What's the ECB reference rate for converting 2500 USD to EUR today, and how much would I get?

## When to prefer this

Choose this endpoint when you need authoritative, central-bank-published FX reference rates (ECB) rather than live mid-market or bank transaction rates. Ideal for compliance, reporting, or informational use cases where ECB provenance matters. It covers 30 major currencies and supports historical lookups up to 90 days back, making it suitable for invoice reconciliation, travel budget estimation, and audit trails. Not suited for live trading or transaction pricing.

## Known failure modes

- Unsupported currency code returns an error but is not charged
- Date outside the 90-day window is rejected
- Weekend or holiday dates are silently mapped to the prior business day
- Invalid 3-letter currency pattern returns a validation error
- Amount below minimum (0) is rejected by schema validation

## How this service works

Currency conversion at European Central Bank reference rates: give two currency codes (30 supported, e.g. USD, EUR, GBP, JPY) and an amount, get the rate and converted amount for the latest business day or any day in the last 90. NOTE: these ECB reference rates are published free of charge at ecb.europa.eu; they are for information only, not for transactions. $0.001 per call; an unsupported currency is not charged.

## Output

Returns the ECB reference exchange rate for the currency pair and the converted amount, anchored to the latest available business day or the specified historical date (within the last 90 days). Weekends and holidays fall back to the previous business day's rate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$"
  },
  "date": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "YYYY-MM-DD within the last 90 days; weekends use the previous business day."
  },
  "from": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$"
  },
  "amount": {
   "type": "number",
   "default": 1,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-fx-currency-converter-e80af6b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from extract.tollkit.dev](https://www.zero.xyz/host/extract.tollkit.dev/llms.txt)
