# Strale Currency Converter

> Strale Currency Converter is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Converts a monetary amount from one currency to another using ISO 4217 currency codes, returning the converted value with a cryptographic audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/currency-convert
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-currency-converter-4afbc849
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5wyq2XPhuG2ccfyzDXdGV

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 strale-currency-converter-4afbc849
```

Example prompt: Can you convert 500 US dollars to Japanese yen for me?

## When to prefer this

Choose this endpoint when you need currency conversion with a built-in cryptographic audit trail, particularly in regulated, financial, or compliance-sensitive workflows. Prefer it when you need verifiable, tamper-evident conversion records rather than a plain exchange-rate lookup. Also suited for AI agents operating across the 27 countries Strale supports, where trust and auditability of financial calculations matter.

## Known failure modes

- Invalid ISO 4217 currency code returns an error indicating unrecognized currency
- Missing required parameters (amount, from, to) result in a validation error
- Unsupported currency pairs may return an error if exchange rate data is unavailable
- Network or provider downtime may return a 503 or timeout error
- Negative or zero amount values may be rejected with a validation error

## How this service works

Convert an amount between currencies using ECB exchange rates. Supports all major currencies. Returns converted amount and rate.

## Output

Returns the converted monetary amount in the target currency along with the applied exchange rate. Each response includes a cryptographic audit record with chain hashing for provenance and trust verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount",
  "from",
  "to"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "Target currency (ISO 4217)"
  },
  "from": {
   "type": "string",
   "description": "Source currency (ISO 4217)"
  },
  "amount": {
   "type": "number",
   "description": "Amount to convert"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "to": {
  "type": "string"
 },
 "date": {
  "type": "string"
 },
 "from": {
  "type": "string"
 },
 "rate": {
  "type": "number"
 },
 "amount": {
  "type": "number"
 },
 "converted_amount": {
  "type": "number"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-currency-converter-4afbc849/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
