# DataNexusAI US Yield Curve Analytics

> DataNexusAI US Yield Curve Analytics is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Returns the current US Treasury yield curve spread (10Y-2Y) as a percentage point indicator

## Facts

- Endpoint: GET https://api.datanexusai.org/api/analytics/us/yield-curve?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-us-yield-curve-analytics-c4ab72ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3bFv7K2z95xlqXDFrUfQo

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 datanexusai-us-yield-curve-analytics-c4ab72ae
```

Example prompt: What's the current US 10-year minus 2-year Treasury yield spread? I want to know if the yield curve is inverted right now.

## When to prefer this

Choose this endpoint when you need a simple, machine-readable US yield curve spread (10Y-2Y) with minimal setup and per-call micropayment billing via USDC. Ideal for agents that need on-demand macro indicators without a subscription, particularly when integrating yield curve inversion signals into automated financial analysis, daily briefings, or risk monitoring workflows.

## Known failure modes

- 402 Payment Required if USDC micropayment via x402 is not attached or insufficient
- Data may be delayed or stale if upstream Treasury data source is not refreshed
- 500 Internal Server Error if the analytics backend is unavailable
- Empty or null value if spread data is momentarily unavailable

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

Returns a JSON object with the current US 10Y-2Y yield curve spread, including the indicator name (US_10Y_2Y_SPREAD), the spread value in percentage points, and the date of the observation.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-09-24",
  "unit": "percentage_points",
  "value": 0.42,
  "indicator": "US_10Y_2Y_SPREAD"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-us-yield-curve-analytics-c4ab72ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
