# US Interest Rates API (Fed Funds, 2Y & 10Y Treasury)

> US Interest Rates API (Fed Funds, 2Y & 10Y Treasury) is a paid API for AI agents from cycle-angela-lamp-hamburg.trycloudflare.com, paid per call via x402, $0.02/call, status down (last checked 2026-10-12).

Returns the latest federal funds rate, 2-year treasury yield, and 10-year treasury yield from FRED, including the most recent and previous observations with dates.

## Facts

- Endpoint: GET https://cycle-angela-lamp-hamburg.trycloudflare.com/api/macro/rates?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-interest-rates-api-fed-funds-2y-10y-treasury-7a96cebd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__m-srUH4bpq5lOK3A911U

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 us-interest-rates-api-fed-funds-2y-10y-treasury-7a96cebd
```

Example prompt: What are the latest US interest rates — the federal funds rate, the 2-year treasury yield, and the 10-year treasury yield — with their most recent dates?

## When to prefer this

Choose this endpoint when you need a quick, structured snapshot of core US interest rate benchmarks (fed funds, 2Y, 10Y treasury) without querying FRED directly. Ideal for macro dashboards, yield curve analysis, monetary policy monitoring, or any workflow needing current rate levels. Prefer this over the market stress indicators sibling if you specifically want the raw rate values rather than derived spreads or volatility metrics.

## Known failure modes

- FRED upstream unavailable — service may return stale or cached data
- Payment not sent or x402 payment rejected — request blocked before data is returned
- Network timeout on Cloudflare tunnel — transient connectivity failure
- Malformed response if FRED series temporarily returns no data

## How this service works

US interest rates: federal funds rate, 2 year treasury yield, 10 year treasury yield, latest values and dates. JSON. Source FRED.

## Output

A JSON object containing three rate series (fed_funds, treasury_2y, treasury_10y), each with the latest and previous observation values (as numeric strings) and dates, plus the FRED series ID, source label, and a Unix timestamp indicating when the payload was generated.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fed_funds": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  },
  "treasury_2y": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  },
  "generated_at": {
   "type": "integer",
   "description": "unix seconds when payload was built"
  },
  "treasury_10y": {
   "type": "object",
   "properties": {
    "latest": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string",
       "description": "numeric string"
      }
     }
    },
    "series": {
     "type": "string",
     "description": "FRED series id"
    },
    "source": {
     "type": "string"
    },
    "previous": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "value": {
       "type": "string"
      }
     }
    }
   },
   "description": "single FRED series, latest two observations"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-interest-rates-api-fed-funds-2y-10y-treasury-7a96cebd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cycle-angela-lamp-hamburg.trycloudflare.com](https://www.zero.xyz/host/cycle-angela-lamp-hamburg.trycloudflare.com/llms.txt)
