# Macro Rates & Dollar Index Data for Crypto

> Macro Rates & Dollar Index Data for Crypto is a paid API for AI agents from asistent-crypto.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns key US macroeconomic indicators — Fed funds rate, 2Y/10Y Treasury yields, CPI inflation YoY, and DXY dollar index — that drive crypto market regimes

## Facts

- Endpoint: POST https://asistent-crypto.vercel.app/api/x402/data/macro-rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macro-rates-dollar-index-data-for-crypto-64c6df41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mg3evrVsE1-SxkGX3CWVW

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 macro-rates-dollar-index-data-for-crypto-64c6df41 -d '<json body>'
```

Example prompt: Pull the current macro rates snapshot — Fed funds rate, 2-year and 10-year Treasury yields, CPI year-over-year, and the DXY dollar index — so I can assess the macro regime before sizing my crypto position.

## When to prefer this

Choose this endpoint when you need a consolidated snapshot of the macro rate environment specifically contextualized for crypto analysis. It is superior to generic financial data APIs because it bundles the exact five indicators (Fed funds rate, 2Y yield, 10Y yield, CPI YoY, DXY) that collectively define the crypto macro regime. Use it before sizing positions, during volatility spikes, or when monitoring Fed/dollar dynamics. Not suitable for granular tick-by-tick rate data or non-US macro indicators.

## Known failure modes

- Upstream data source unavailable — official US data feed temporarily offline
- Payment not processed — USDC payment of $0.01 not confirmed, request rejected
- Rate limit exceeded — too many calls in a short window
- Stale data — indicators may lag real-time market prices if upstream APIs are delayed
- Network timeout — Vercel serverless function cold start or timeout

## How this service works

The macro regime that drives crypto, as signals rather than raw levels: the 2s10s yield curve spread with its direction and an inverted flag, Fed funds, 2Y and 10Y yields, CPI year-over-year, the broad dollar index, VIX and M2 — each with its previous reading, so direction comes free. The slope of the curve, not the level of any single yield, is the liquidity signal: re-steepening out of inversion marks the easing that risk assets price first.

## Output

Returns a structured snapshot of US macroeconomic indicators including the Federal funds rate, 2-year Treasury yield, 10-year Treasury yield, CPI inflation year-over-year percentage, and the DXY US dollar index — all sourced from official US data providers. Enables crypto traders and agents to assess the prevailing macro regime (risk-on vs risk-off, dollar strength/weakness, yield curve shape) before making positioning decisions.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "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/macro-rates-dollar-index-data-for-crypto-64c6df41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from asistent-crypto.vercel.app](https://www.zero.xyz/host/asistent-crypto.vercel.app/llms.txt)
