# payload402 Currency Converter

> payload402 Currency Converter is a paid API for AI agents from payload402.edgebytenet.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a monetary amount from one ISO 4217 currency to another using ECB daily reference rates via Frankfurter

## Facts

- Endpoint: GET https://payload402.edgebytenet.workers.dev/convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payload402-currency-converter-c6064b55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l7ranByq1_AfJ0jbBAw-k

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 payload402-currency-converter-c6064b55
```

Example prompt: Can you convert 250 USD to EUR using the ECB daily reference rate and tell me the exact rate used?

## When to prefer this

Use this endpoint when you need a verifiable, auditable ECB reference rate for non-trading purposes such as invoicing, expense reports, travel budgets, or compliance — rather than relying on LLM-estimated exchange rates. Prefer this over live FX APIs when regulatory-quality ECB rates are acceptable and real-time tradable quotes are not required. Ideal for business document workflows where rate provenance matters.

## Known failure modes

- Unsupported or invalid ISO 4217 currency code returns an error
- Amount of zero or negative number is rejected
- ECB rate not yet published for the current business day may return the previous business day's rate
- Weekend or holiday dates use the most recent available ECB publication
- Network timeout or worker unavailability returns a 5xx error

## How this service works

Convert amounts between ISO 4217 currencies using ECB daily reference rates (Frankfurter). Use for invoices, travel budgets, expense reports, and shopping comparisons when you need a verifiable rate instead of LLM arithmetic. Not live tradable FX — rates follow ECB business-day publication.

## Output

A JSON object containing the converted amount, the exchange rate used, the date of the ECB rate, the source and target currency codes, and a note clarifying these are ECB daily reference rates and not live tradable quotes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "amount",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "ISO 4217 target code (e.g. EUR, USD, HKD)"
      },
      "from": {
       "type": "string",
       "description": "ISO 4217 source code (e.g. USD, EUR, GBP, JPY)"
      },
      "amount": {
       "type": "number",
       "description": "Positive amount in the source currency"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "date": "2026-08-29",
  "from": "USD",
  "note": "ECB daily reference rates, not live quotes",
  "rate": 0.85825,
  "amount": 10,
  "source": "frankfurter",
  "converted": 8.5825
 }
}
```

## More

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