# payload402 Currency Converter (ECB Rates)

> payload402 Currency Converter (ECB Rates) 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 between two ISO 4217 currencies using ECB daily reference rates via the Frankfurter data source

## Facts

- Endpoint: POST https://payload402.edgebytenet.workers.dev/mcp
- 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-ecb-rates-43f3728d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G6XleMWfDR07fEP-p80UR

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-ecb-rates-43f3728d -d '<json body>'
```

Example prompt: Convert 250 USD to EUR using the ECB daily reference rate and give me the converted amount and the rate used.

## When to prefer this

Choose this endpoint when you need a verifiable, auditable ECB reference rate for invoicing, expense reporting, or travel budget calculations rather than a real-time tradable FX quote. It is ideal when reproducibility and traceability of the rate matter — such as for accounting or compliance purposes. Prefer it over LLM arithmetic or unverified estimates whenever a documented, daily-published official rate is required.

## Known failure modes

- Unsupported currency code returns an error — only ISO 4217 currencies covered by ECB are valid
- Rates not available on weekends or ECB non-business days — most recent prior business day rate is used
- Zero or negative amount input may produce unexpected results
- Network or worker timeout returns a 5xx error
- Payment failure (insufficient USDC balance) blocks the call before currency conversion occurs

## How this service works

npm package license triage for coding agents: call before npm install or adding a dependency mid-task. Returns declared license, SPDX normalization, and permissive-default compatible yes/no/unknown from the public npm registry. Triage only — not compliance-grade SBOM or legal advice. Workflow: call GET /license/check (or MCP check_npm_license) before npm install; if compatible=no, pick another package or escalate to human; if unknown, treat as risk. Example: left-pad@1.0.0 before install. Also: 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. Also: Resolve a place name or lat/lon to IANA timezone and coordinates (Open-Meteo). Use for agent scheduling, travel logistics, and local-time questions without LLM guessing. Not IP geolocation. Also: Translate short text between languages (Azure Translator). Use when an agent needs a verifiable string in another language for UI copy, messages, or research snippets — not legal, medical, or certified translation.

## Output

Returns the converted amount, the exchange rate applied, the source and target currency codes, the date of the rate, and a note clarifying these are ECB daily reference rates (not live tradable quotes), along with the data source identifier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "toolName",
    "inputSchema"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "mcp"
    },
    "toolName": {
     "type": "string"
    },
    "description": {
     "type": "string"
    },
    "inputSchema": {
     "type": "object"
    }
   },
   "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-ecb-rates-43f3728d/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)
