# x402stock Average Interest Rates

> x402stock Average Interest Rates is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.01/call, status healthy (last checked 2026-09-13, last successful call 2026-09-02).

Retrieves US average interest rate data (e.g. Treasury yields, Fed funds, mortgage rates) for AI agents via pay-per-request USDC micropayment

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/avg-interest-rates
- Price: $0.01/call
- Payment: x402, MPP
- Status: healthy
- Last checked: 2026-09-13
- Last successful call: 2026-09-02
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-average-interest-rates-98d6a274
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SsBpPChjY_sNWJ1Gat4iQ

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 x402stock-average-interest-rates-98d6a274
```

Example prompt: What are the current average US interest rates — specifically the Fed funds rate and 10-year Treasury yield — so I can use them in my macro analysis?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-use access to US average interest rate data without API key setup. Ideal for AI agents that need macro rate context (Fed funds, Treasury yields) on demand with autonomous micropayment via USDC/x402. Prefer over free alternatives when reliability and breadth of rate types matter, or when building autonomous agents that self-fund API calls.

## Known failure modes

- Invalid or unrecognized properties parameter returns an error
- Payment failure or insufficient USDC balance blocks the request
- Unsupported rate category or time range returns empty or error response
- Network timeout from upstream x402stock API
- Malformed request body causes 400-level error

## How this service works

The average interest rate the US Treasury currently pays on its outstanding debt, broken out by security (Treasury Bills, Notes, Bonds, TIPS, FRNs, savings, and the marketable/total aggregates) for the latest reported month, in percent. No ticker needed. A read on the government's cost of borrowing that complements the /treasury-yields curve. Sourced from the US Treasury (FiscalData).

## Output

Returns average interest rate data for US benchmarks such as the Federal funds rate, Treasury yields across maturities, and potentially mortgage or prime rates. Likely includes rate values, dates/periods, and rate category identifiers.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-average-interest-rates-98d6a274/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
