{"uid":"cap_gOHsJ_XimXIiv3EzrmNaI","slug":"brainiac-yield-curve-analyzer-384c11b8","name":"BRAINIAC Yield Curve Analyzer","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/macro-intelligence/yield-curve-analyze?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"asOf":{"type":"string","maxLength":40},"debt":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"amount":{"type":"number","maximum":1000000000000000,"minimum":0},"coupon":{"type":"number","maximum":100,"minimum":0},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"currency":{"type":"string","maxLength":12},"instrument":{"type":"string","maxLength":160},"maturityDate":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":500},"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"rates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"asOf":{"type":"string","maxLength":40},"bank":{"type":"string","maxLength":160},"rate":{"type":"number","maximum":100,"minimum":-100},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"previousRate":{"type":"number","maximum":100,"minimum":-100}},"additionalProperties":false},"maxItems":200},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"kind":{"type":"string","maxLength":80},"title":{"type":"string","maxLength":300},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":200},"series":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"kind":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":200},"unit":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"frequency":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200},"tenors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"asOf":{"type":"string","maxLength":40},"tenor":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"yieldPct":{"type":"number","maximum":100,"minimum":-100}},"additionalProperties":false},"maxItems":400},"releases":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"unit":{"type":"string","maxLength":40},"actual":{"type":"number","maximum":1000000000,"minimum":-1000000000},"period":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"previous":{"type":"number","maximum":1000000000,"minimum":-1000000000},"consensus":{"type":"number","maximum":1000000000,"minimum":-1000000000},"indicator":{"type":"string","maxLength":160},"releaseDate":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":400},"worldBank":{"type":"object","properties":{"country":{"type":"string","maxLength":3,"minLength":2},"perPage":{"type":"integer","maximum":60,"minimum":1},"indicator":{"type":"string","maxLength":80,"minLength":3}},"additionalProperties":false},"commodities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"name":{"type":"string","maxLength":120},"unit":{"type":"string","maxLength":40},"price":{"type":"number","maximum":1000000000,"minimum":0},"source":{"type":"string","maxLength":160}},"additionalProperties":false},"maxItems":1000},"priceLevels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"asOf":{"type":"string","maxLength":40},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"currency":{"type":"string","maxLength":12},"fxPerUsd":{"type":"number","maximum":1000000000,"minimum":0},"priceIndex":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":200},"observations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"unit":{"type":"string","maxLength":40},"value":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"source":{"type":"string","maxLength":160},"country":{"type":"string","maxLength":80},"seriesId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":5000}}},"responseSchema":{"type":"json","example":{"items":[{"asOf":"2026-10-01","shape":"upward","points":[{"tenor":"2y","months":24,"source":"Caller-supplied Treasury curve","yieldPct":3.8},{"tenor":"10y","months":120,"source":"Caller-supplied Treasury curve","yieldPct":4.2},{"tenor":"30y","months":360,"source":"Caller-supplied Treasury curve","yieldPct":4.5}],"country":"US","longTenor":"30y","longYield":4.5,"pointCount":3,"shortTenor":"2y","shortYield":3.8,"apiKeyRequired":false,"slopePctPoints":0.7,"paidProviderUsed":false,"longYieldSupplied":true,"curvaturePctPoints":-0.7,"shortYieldSupplied":true,"slopePctPointsSupplied":true,"curvaturePctPointsSupplied":true}],"status":"analyzed","findings":[],"checkedAt":"2026-11-04T21:00:00.000Z","limitations":["Observations, rates, yields, releases, debt, commodities, and events are copied only from labeled fields supplied by the caller, or from key-free public World Bank responses when requested.","No paid financial data provider is used and no API key is required.","Missing consensus, previous values, FX rates, and debt amounts are not invented.","Country risk labels summarize supplied indicators only and are not a credit rating.","Event impact timelines link supplied events to nearby observation dates; causation is not claimed."],"publicSources":[],"apiKeyRequired":false,"ratingAssigned":false,"causationClaimed":false,"paidProviderUsed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kIRMKR1IIjF-2y-3zt4jk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes yield curve shape, slope, and curvature from caller-supplied interest rate and bond data, returning structured macro intelligence findings.","exampleAgentPrompt":"Analyze this yield curve data: 2-year yield 3.8%, 10-year yield 4.2%, 30-year yield 4.5% for the US as of 2026-10-01 — tell me the curve shape, slope, and curvature.","exampleUseCases":[{"title":"Detect yield curve inversion signal","prompt":"I have US Treasury yields — 3-month at 5.2%, 2-year at 4.9%, 10-year at 4.1%, 30-year at 4.3% as of today. Analyze the yield curve and tell me if it's inverted, what the slope is between the 2-year and 10-year, and what the curvature looks like."},{"title":"Sovereign debt macro assessment","prompt":"I've got a list of German Bund yields by maturity from last week: 2y at 2.1%, 5y at 2.4%, 10y at 2.7%, 30y at 2.9%. Can you analyze the yield curve shape and slope for Germany and give me a macro intelligence summary?"},{"title":"Portfolio risk context from rate data","prompt":"Here are the central bank rates and bond yields I've scraped for Japan as of 2025-06-01: policy rate -0.1%, 2y JGB 0.05%, 10y JGB 0.9%, 30y JGB 1.8%. Analyze the yield curve shape and curvature so I understand the fixed income macro environment."}],"resultDescription":"Returns a JSON object with an array of analyzed yield curve items, each containing: curve shape label (e.g. 'upward', 'inverted', 'flat'), short and long tenor identifiers and yields, slope and curvature in percentage points, point count, country, asOf date, public sources used, and a list of analytical limitations and findings. Also flags whether paid data providers or API keys were used.","failureModes":["Insufficient tenor/yield data points provided — need at least two points to compute slope","Malformed date strings in asOf or maturityDate fields — returns validation error","CSV or base64 file payload exceeds size limits — truncation or rejection","Missing required rate or yield fields result in incomplete curve metrics with null values","Country not recognized or inconsistent with supplied data — may produce generic output","Input yields outside plausible range may trigger schema validation rejection"],"whenToPreferThis":"Use this endpoint when you have caller-supplied yield curve or treasury rate data and need structured macro analysis — curve shape classification, slope, and curvature — without requiring a paid financial data subscription or API key. It is best when you already hold the rate data (from your own scrape, a data feed, or a file) and need an analytical layer on top. It operates purely on what you supply, does not invent missing values, and transparently reports limitations. Prefer this over generic LLM interpretation when you need deterministic, structured output with labeled fields and reproducible results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:35.177Z","isFirstParty":false,"canonicalSlug":"brainiac-yield-curve-analyzer-384c11b8"}