# PowaHub FX Rates – All Currencies for One Base

> PowaHub FX Rates – All Currencies for One Base is a paid API for AI agents from api.powahub.ai, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Returns ECB mid-market reference exchange rates for a given base currency against every published currency, with optional historical date lookup.

## Facts

- Endpoint: GET https://api.powahub.ai/CertainData/fx-rates/:base?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/powahub-fx-rates-all-currencies-for-one-base-8d5c7475
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_72N3HPzy8dqOdlZ3wIi4A

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 powahub-fx-rates-all-currencies-for-one-base-8d5c7475
```

Example prompt: Pull today's ECB mid-market reference rates for EUR against all available currencies — I need the full list so I can see where the euro stands globally.

## When to prefer this

Choose this endpoint when you need exchange rates for one base currency against ALL published currencies in a single call, rather than a specific currency pair. It is ideal for bulk currency lookups, building dashboards, pricing models, or any scenario where you need a comprehensive rate snapshot. If you only need a single currency pair, use the sibling pair-specific endpoint instead. ECB rates are authoritative mid-market references suitable for reporting and financial modeling, not live trading rates.

## Known failure modes

- Invalid or unsupported base currency ISO code returns an error or empty result
- Date out of ECB historical data range may return no data
- Future dates not supported — only current or past dates are valid
- ECB publishes rates on business days only — weekend/holiday dates may return no rate or fallback to previous business day
- Malformed date format (not YYYY-MM-DD) causes a validation error
- Network or upstream ECB data unavailability may cause 5xx errors

## How this service works

Mid-market reference rates for one base currency against all published currencies, from the European Central Bank.

## Output

A structured object containing mid-market reference exchange rates sourced from the European Central Bank, mapping the specified base currency (e.g. USD, EUR) to every published quote currency. Each entry includes the currency code and its corresponding rate. When a date is provided, historical rates for that specific date are returned instead of the latest available.

## 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",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "base"
     ],
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency as a 3-letter ISO code, e.g. EUR."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string",
       "description": "Optional. A specific date (YYYY-MM-DD) for a historical rate, e.g. 2026-01-01. Omit for the latest."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/powahub-fx-rates-all-currencies-for-one-base-8d5c7475/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.powahub.ai](https://www.zero.xyz/host/api.powahub.ai/llms.txt)
