# StableFinance Central Bank Codes List

> StableFinance Central Bank Codes List is a paid API for AI agents from stablefinance.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the list of supported central bank codes (e.g. FED, ECB, BOJ) available for interest rate queries on stablefinance.dev.

## Facts

- Endpoint: GET https://stablefinance.dev/api/macro/interest-rates/banks
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablefinance-dev-641a3320
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aRF1fPMV_l95HWCs_-7iK

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 stablefinance-dev-641a3320
```

Example prompt: What central banks are supported on stablefinance.dev for interest rate data — like FED, ECB, BOJ? Just give me the full list of valid bank codes I can use.

## When to prefer this

Use this endpoint first to discover valid central bank codes before querying interest rate data — it acts as a reference/enum lookup so you don't send invalid bank codes to downstream endpoints. Prefer this over hardcoding bank codes since the supported set may change.

## Known failure modes

- HTTP 402 if payment header is missing or invalid — endpoint requires $0.02 USDC via x402 protocol
- HTTP 500 if the upstream data source is unavailable
- Empty banks array if no central banks are currently configured

## How this service works

Supported central bank codes (FED, ECB, BOJ, etc.).

## Output

Returns a JSON object with a 'banks' array of strings, each being a central bank code (e.g. 'FED', 'ECB', 'BOJ'), and optionally a 'resource' field indicating the endpoint resource path.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "banks": [
   "BOC",
   "BOE",
   "BOJ",
   "BOK",
   "ECB",
   "FED",
   "PBOC",
   "RBA",
   "RBI",
   "SNB"
  ],
  "resource": "interest_rates"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablefinance-dev-641a3320/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablefinance.dev](https://www.zero.xyz/host/stablefinance.dev/llms.txt)
