# AllTheBot Central Bank Rates

> AllTheBot Central Bank Rates is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-13).

Returns current central bank policy interest rates for ~40 countries with carry-trade spread rankings versus a chosen funding currency

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/finance/central-bank-rates?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-central-bank-rates-fc26cd0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sN_94L2ltuie9Ur9n_Mh-

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 allthebot-central-bank-rates-fc26cd0c
```

Example prompt: Show me today's central bank policy rates ranked from highest to lowest, and give me the carry-trade spread rankings using JPY as the funding currency.

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-country view of central bank policy rates in a single call, especially with carry-trade spread ranking built in. It is superior to scraping individual central bank websites or using a generic FX rate API (like the ECB endpoint) when the goal is macroeconomic policy rate comparison or FX carry strategy analysis across ~40 countries simultaneously.

## Known failure modes

- Invalid or unsupported funding currency code returns an error or empty spread rankings
- Countries filter with unrecognized country codes may return partial results or an error
- BIS data may have a lag of hours to days for very recent rate decisions
- Payment failure (insufficient USDC balance) blocks the request with a 402 response
- Malformed query parameters (e.g. countries list exceeding 200 chars) may return a 400 error

## How this service works

Central bank policy interest rates (Fed, ECB, BoE, BoJ, SNB and ~40 countries) from the BIS, ranked, with an FX carry-trade spread ranking versus a funding currency (e.g. JPY, CHF). Macro data API.

## Output

Returns a structured list of central bank policy interest rates for approximately 40 countries sourced from the BIS, ranked by rate level. When a funding currency (e.g. JPY or CHF) is specified, also returns carry-trade spread rankings showing the yield differential between each country's rate and the funding currency rate.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "funding": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{2}$"
      },
      "countries": {
       "type": "string",
       "maxLength": 200
      }
     }
    }
   },
   "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/allthebot-central-bank-rates-fc26cd0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
