{"uid":"cap_5INvAS1KUpwfawkQNK1CO","slug":"us-treasury-par-yield-curve-api-cb9ea622","name":"US Treasury Par Yield Curve API","description":"Latest US Treasury par yield curve (1 month to 30 years), change in basis points versus N days ago, 10y-2y and 10y-3m spreads and inversion flag. Official US Treasury data (public domain).","url":"https://api.vextorium.com/curva-tesoro-eeuu-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"dias_comparar":{"type":"integer","description":"Compare with N days earlier (1-365, default 30)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"curva":{"type":["array","null"],"items":{"type":["null","object"],"properties":{"plazo":{"type":["null","string"]},"tipo_pct":{"type":["null","number"]},"cambio_pb":{"type":["null","number"]}}}},"fecha":{"type":["string","null"]},"fuente":{"type":["string","null"]},"comparado_con":{"type":["string","null"]},"invertida_2a_10a":{"type":["boolean","null"]},"diferencial_10a_2a_pb":{"type":["number","null"]},"diferencial_10a_3m_pb":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"curva":[{"plazo":"1 Mo","tipo_pct":4.06,"cambio_pb":21},{"plazo":"1.5 Month","tipo_pct":4.1,"cambio_pb":22},{"plazo":"2 Mo","tipo_pct":4.13,"cambio_pb":24},{"plazo":"3 Mo","tipo_pct":4.17,"cambio_pb":25},{"plazo":"4 Mo","tipo_pct":4.26,"cambio_pb":29},{"plazo":"6 Mo","tipo_pct":4.27,"cambio_pb":27},{"plazo":"1 Yr","tipo_pct":4.44,"cambio_pb":26},{"plazo":"2 Yr","tipo_pct":4.78,"cambio_pb":39},{"plazo":"3 Yr","tipo_pct":4.91,"cambio_pb":45},{"plazo":"5 Yr","tipo_pct":5.01,"cambio_pb":46},{"plazo":"7 Yr","tipo_pct":5.12,"cambio_pb":46},{"plazo":"10 Yr","tipo_pct":5.24,"cambio_pb":45},{"plazo":"20 Yr","tipo_pct":5.64,"cambio_pb":37},{"plazo":"30 Yr","tipo_pct":5.61,"cambio_pb":34}],"fecha":"2026-10-01","fuente":"U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates (dominio público)","comparado_con":"2026-09-01","invertida_2a_10a":false,"diferencial_10a_2a_pb":46,"diferencial_10a_3m_pb":107}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p2judlGuvKe3eOx1vGupe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest US Treasury par yield curve rates (1 month to 30 years) with basis-point changes versus N days ago, plus 10y-2y and 10y-3m spreads and inversion flag.","exampleAgentPrompt":"Pull the latest US Treasury par yield curve with rates across all maturities and tell me how yields have shifted versus 60 days ago, including whether the 10y-2y spread is showing an inversion.","exampleUseCases":[{"title":"Daily yield curve inversion monitoring","prompt":"Check the current US Treasury yield curve and tell me if the 10y-2y or 10y-3m spread is inverted, and by how many basis points — compare against 30 days ago."},{"title":"Macro briefing for portfolio manager","prompt":"Give me a snapshot of today's full Treasury yield curve from 1-month to 30-year maturities, with how much each rate has moved in the last 90 days in basis points."},{"title":"Rate change alert for fixed income trader","prompt":"Fetch the latest Treasury par yield curve and highlight which maturities have moved the most in basis points over the past 7 days — I want to see what part of the curve is shifting fastest."}],"resultDescription":"Returns a JSON object with: an array of maturity buckets (1 Mo through 30 Yr) each containing the current par yield (%) and change in basis points vs the comparison date; the data date; the comparison date; the source label; the 10y-2y spread in basis points; the 10y-3m spread in basis points; and a boolean flag indicating whether the 10y-2y portion of the curve is inverted.","failureModes":["Treasury data not yet published for today (data may lag by one business day)","dias_comparar out of range (must be 1-365)","Upstream Treasury website unavailable or rate-limited","Weekend/holiday dates may return last available business day data","No historical data available for the requested comparison date"],"whenToPreferThis":"Choose this endpoint when you need authoritative, official US Treasury par yield curve data with built-in spread calculations and inversion detection — especially useful for macro analysis, fixed income monitoring, or any workflow that needs to track yield curve shape changes over time without building your own data pipeline from Treasury.gov.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:44:17.184Z","isFirstParty":false,"canonicalSlug":"us-treasury-par-yield-curve-api-cb9ea622"}