Analyze yield curves API
Analyze supplied sovereign yield tenors for slope, curvature, and curve shape without inventing missing points.
The Analyze yield curves operation is part of the Global Financial Markets & Macro Intelligence API on BRAINIAC.software. Analyze supplied sovereign yield tenors for slope, curvature, and curve shape without inventing missing points. It is exposed as POST /api/v1/macro-intelligence/yield-curve-analyze and priced at $0.05 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied public economic series World Bank Open Data (no API key) when requested Limitations: No paid financial data provider is used and no API key is required. Missing consensus, FX, and debt values are not invented. Country risk labels summarize supplied indicators only and are not a credit rating. Event timelines do not claim causation. World Bank responses are used only when country and indicator codes are supplied. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Compare central bank rates, Compare inflation series, Track economic indicator releases, Calculate macro surprises. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/macro-intelligence/yield-curve-analyzeExample request
curl -i -X POST "https://www.brainiac.software/api/v1/macro-intelligence/yield-curve-analyze" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"tenors": [
{
"country": "US",
"asOf": "2026-10-01",
"tenor": "2y",
"yieldPct": 3.8,
"source": "Caller-supplied Treasury curve"
},
{
"country": "US",
"asOf": "2026-10-01",
"tenor": "10y",
"yieldPct": 4.2,
"source": "Caller-supplied Treasury curve"
},
{
"country": "US",
"asOf": "2026-10-01",
"tenor": "30y",
"yieldPct": 4.5,
"source": "Caller-supplied Treasury curve"
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Compare central bank rates — $0.04 USDC
- Compare inflation series — $0.04 USDC
- Track economic indicator releases — $0.04 USDC
- Calculate macro surprises — $0.05 USDC
Related APIs
Global Financial Markets & Macro Intelligence APIFull docsHow it works