# QuantOracle Taylor Rule Calculator

> QuantOracle Taylor Rule 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 Taylor Rule prescribed interest rate given inflation, output gap, and neutral rate inputs

## Facts

- Endpoint: POST https://api.quantoracle.dev/v1/macro/taylor-rule
- 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-dd0b0ccb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JsyCiFTnixxqHTYjmp-Mp

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-dd0b0ccb -d '<json body>'
```

Example prompt: Using the Taylor Rule, what interest rate should be prescribed right now if current inflation is 3.2%, target inflation is 2%, the output gap is -0.5%, the neutral real rate is 0.5%, and I'm weighting inflation and output equally at 0.5 each?

## When to prefer this

Use this endpoint when you need to compute a Taylor Rule-prescribed policy interest rate for a given macroeconomic scenario, especially when you want a full decomposition of the rate components (inflation adjustment, output adjustment). Prefer this over manual calculation when you need fast, reliable, parameterized Taylor Rule results with configurable weights and neutral rate assumptions.

## Known failure modes

- Missing required fields (current_inflation, target_inflation, neutral_real_rate, output_gap_pct) returns validation error
- Weights (inflation_weight, output_weight) not summing as expected may produce unexpected results
- Invalid numeric types for rate or gap inputs return parse errors
- Payment not included or insufficient USDC balance returns 402 Payment Required

## How this service works

QuantOracle: macro/taylor-rule

## Output

Returns the Taylor Rule prescribed interest rate along with a full component breakdown: inflation gap, output gap, inflation adjustment, output adjustment, neutral real rate, current inflation, and the final prescribed rate in percentage points. Also includes response time in milliseconds.

## Example request

```json
{
 "output_gap": -0.5,
 "neutral_rate": 0.5,
 "inflation_weight": 0.5,
 "target_inflation": 2,
 "current_inflation": 3.2,
 "output_gap_weight": 0.5
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "output_weight": {
   "type": "number",
   "title": "Output Weight",
   "default": 0.5,
   "description": "Weight on output gap"
  },
  "output_gap_pct": {
   "type": "number",
   "title": "Output Gap Pct",
   "default": 0,
   "description": "Output gap as percentage of potential GDP"
  },
  "inflation_weight": {
   "type": "number",
   "title": "Inflation Weight",
   "default": 0.5,
   "description": "Weight on inflation gap"
  },
  "target_inflation": {
   "type": "number",
   "title": "Target Inflation",
   "default": 2,
   "description": "Target inflation rate (percentage)"
  },
  "current_inflation": {
   "type": "number",
   "title": "Current Inflation",
   "description": "Current inflation rate (percentage)"
  },
  "neutral_real_rate": {
   "type": "number",
   "title": "Neutral Real Rate",
   "default": 2,
   "description": "Neutral real interest rate (percentage)"
  },
  "current_policy_rate": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ],
   "title": "Current Policy Rate",
   "description": "Current policy rate for gap analysis"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-quantoracle-dev-dd0b0ccb/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)
