# QuantOracle Real Yield Calculator

> QuantOracle Real Yield Calculator is a paid API for AI agents from api.quantoracle.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Computes the real yield from a nominal yield and inflation expectation for a given bond tenor, using both simple and Fisher equation methods

## Facts

- Endpoint: POST https://api.quantoracle.dev/v1/macro/real-yield
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-quantoracle-dev-74ca04f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X5IivITwKfnXTn4oCZQhs

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 api-quantoracle-dev-74ca04f9 -d '<json body>'
```

Example prompt: What's the real yield on a 10-year bond with a 4.5% nominal yield and 2.3% inflation expectation? Give me both the simple and Fisher equation results.

## When to prefer this

Use this endpoint when you need fast, precise real yield decomposition for macro analysis, fixed income research, or portfolio construction — especially when you need both simple real yield and the more precise Fisher equation adjustment in a single call. Prefer this over manual calculation when accuracy and speed matter at scale.

## Known failure modes

- Missing required fields (tenor_years, nominal_yield, or inflation_expectation) returns a 400 error
- Non-numeric or out-of-range values for yield inputs may return a validation error
- Negative nominal yields or extreme inflation values may produce unexpected or economically nonsensical results
- Payment failure or insufficient USDC balance returns a 402 Payment Required error

## How this service works

QuantOracle: macro/real-yield

## Output

Returns the computed real yield (simple subtraction), the Fisher-equation-adjusted real yield percentage, the breakeven inflation rate, and echoes back the input tenor and nominal yield — all returned in under 20ms.

## Example request

```json
{
 "tenor_years": 10,
 "nominal_yield": 4.5,
 "inflation_expectation": 2.3
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tips_yield": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ],
   "title": "Tips Yield",
   "description": "TIPS real yield (percentage, alternative to inflation_expectation)"
  },
  "tenor_years": {
   "type": "number",
   "title": "Tenor Years",
   "default": 10,
   "description": "Bond tenor in years"
  },
  "nominal_yield": {
   "type": "number",
   "title": "Nominal Yield",
   "description": "Nominal bond yield (percentage)"
  },
  "inflation_expectation": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ],
   "title": "Inflation Expectation",
   "description": "Expected inflation rate (percentage)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-quantoracle-dev-74ca04f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.quantoracle.dev](https://www.zero.xyz/host/api.quantoracle.dev/llms.txt)
