{"uid":"cap_op6PKtE5vyCUqXlxK7xwP","slug":"genexxis-yield-curve-api-24c8cab4","name":"Genexxis Yield Curve API","description":"Official government yield curves for agents: U.S. Treasury par yield curve (1M-30Y, U.S. Treasury), euro area AAA spot curve (3M-30Y, ECB) and Morocco Treasury bond reference rates (Bank Al-Maghrib secondary market), each with changes vs 1 month and 1 year ago; curve slopes (2s10s, 3m10y) with inversion flags, cross-market 10Y spreads, and interpolated yields at any tenor. Refreshed every 6 hours from official publications.","url":"https://yields.genexxis.com/curve?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"US, EA (euro area AAA) or MA (Morocco)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asOf":"2026-10-23","points":[{"tenor":"2Y","years":2,"chg1mBp":-12,"chg1yBp":85,"yieldPct":4.61},{"tenor":"10Y","years":10,"chg1mBp":-20,"chg1yBp":96,"yieldPct":4.98}],"source":"U.S. Treasury daily par yield curve rates","country":"US"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CUs_bB5uaTT7iCdAcvD6I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the full government yield curve (all tenors with yield %, change in bp vs 1 month and 1 year ago) for the US, euro area AAA, or Morocco.","exampleAgentPrompt":"Can you pull the full US government yield curve right now, including how yields have moved compared to a month ago and a year ago across all tenors?","exampleUseCases":[{"title":"Daily macro briefing yield snapshot","prompt":"Give me today's complete US Treasury yield curve with the basis point changes versus one month ago and one year ago for every tenor."},{"title":"Euro area bond market monitoring","prompt":"Fetch the full euro area AAA government yield curve for me and show how each tenor has shifted over the past year."},{"title":"Cross-country yield curve comparison","prompt":"Pull the current yield curves for both the US and Morocco so I can compare government borrowing costs across maturities."}],"resultDescription":"A JSON object containing the country, as-of date, data source name, and an array of yield curve points each with tenor label, years to maturity, yield percentage, and basis-point changes versus one month ago and one year ago.","failureModes":["Invalid country code returns an error (only US, EA, MA are accepted)","Data may be stale if the upstream government source has not published for the day","Network or payment failure returns a 402 or 5xx status"],"whenToPreferThis":"Use this endpoint when you need the complete yield curve across all standard tenors for US Treasuries, euro area AAA, or Moroccan government bonds, especially when you also need historical context (1-month and 1-year basis point changes). Prefer this over the sibling interpolation endpoint when you want a full curve snapshot rather than a single specific tenor, and over the slopes endpoint when you need raw yield levels rather than derived spread metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:32:52.472Z","isFirstParty":false,"canonicalSlug":"genexxis-yield-curve-api-24c8cab4"}