# FX Carry Trade Rate Differential Ranker

> FX Carry Trade Rate Differential Ranker is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Ranks currency pairs by carry trade interest rate differentials using official BIS central bank policy rates across 38 countries, sorted by spread from highest to lowest

## Facts

- Endpoint: GET https://api.x402node.dev/finance/carry
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-carry-trade-rate-differential-ranker-fd8e92d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mDpr-T8fzATtTAV-XdQ49

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 fx-carry-trade-rate-differential-ranker-fd8e92d8
```

Example prompt: Show me the current FX carry trade ranking across major currencies using JPY as the funding currency — sorted by rate differential so I can see which pairs have the best borrow-low-hold-high spread right now.

## When to prefer this

Choose this endpoint when building macro FX strategies, carry trade signals, or currency selection tools that require an authoritative multi-country rate differential ranking. Prefer over manually aggregating central bank rates when you need a ready-ranked signal across 38 countries based on official BIS data. Ideal for carry strategy agents, FX macro models, or portfolio screens.

## Known failure modes

- BIS rate data unavailable or stale — returns error or empty ranking
- Invalid funding currency code specified — may return error or ignore parameter
- Network timeout from upstream rate source — delayed or failed response
- No rate data available for a specific currency — excluded from ranking silently

## How this service works

x402node — precise, deterministic developer and data tools for AI agents. Chain data, parsing, crypto, conversion. Pay-per-call over x402, settled in USDC on Base.

## Output

Returns a ranked array of currency pairs ordered by carry spread (rate differential), identifying the highest-yield and lowest-yield currencies, the funding currency used, the number of currencies covered, the data source (BIS official policy rates), and the timestamp of the data.

## 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": [
      "funder",
      "top"
     ],
     "properties": {
      "top": {
       "type": "string",
       "description": "可选，返回前N个carry机会，默认15，上限100"
      },
      "funder": {
       "type": "string",
       "description": "可选，融资(做空/借入)货币码，如 JPY/CHF/EUR；只返回以它为空头的carry机会"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-carry-trade-rate-differential-ranker-fd8e92d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
