Catalog/finance-treasury-spread

Finance

Treasury yield-curve spreads API

Derive the watched Treasury curve spreads (2s10s, 3m10y, 5s30s) in basis points from the latest US Treasury daily par-yield curve (keyless) and flag inversions — the exact recession-watch metrics, computed rather than handing back a raw curve. Answers 'is the yield curve inverted', 'what is the 2s10s spread', 'current 3-month 10-year spread', 'treasury curve spreads in basis points'.

Price$0.01per request
MethodPOST
Route/v1/finance/treasury-spread
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
financetreasuryyield-curvespread2s10sinversionbondsrates
API URLhttps://x402.hexl.dev/v1/finance/treasury-spread
Integration docs
Example request
{}
Example response
{
  "date": "2026-06-02",
  "curve": {
    "1mo": 3.72,
    "3mo": 3.77,
    "2yr": 4.05,
    "5yr": 4.17,
    "10yr": 4.46,
    "30yr": 4.97
  },
  "spreads": {
    "2s10s": {
      "longLeg": "10yr",
      "shortLeg": "2yr",
      "spreadBps": 41,
      "inverted": false
    },
    "3m10y": {
      "longLeg": "10yr",
      "shortLeg": "3mo",
      "spreadBps": 69,
      "inverted": false
    },
    "5s30s": {
      "longLeg": "30yr",
      "shortLeg": "5yr",
      "spreadBps": 80,
      "inverted": false
    }
  },
  "anyInverted": false
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {}
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}