Treasury Long-Term Rates, Daily (U.S. Treasury)
treasuryinterestrates/long-term-rates
Returns the U.S. Department of the Treasury's Daily Treasury Long-Term Rates for one calendar month: for each published business day, the 20-year Treasury constant maturity rate (BC_20year), the long-term composite rate for bonds over 10 years (Over_10_Years) and the long-term real average rate (Real_Rate), in percent. Input is the month as YYYYMM. The Treasury server is slow, so a call can take about 20 seconds. A month with no published days returns count 0. Source: U.S. Department of the Treasury.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
U.S. Department of the Treasury
Source: U.S. Department of the Treasury, Interest Rate Statistics (home.treasury.gov). Values are as published; dates are ISO 8601 and the row-id fields are dropped. Served by Eden Engine; not an official Treasury product.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "treasuryinterestrates/long-term-rates" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "treasuryinterestrates/long-term-rates" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "treasuryinterestrates/long-term-rates", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "treasuryinterestrates/long-term-rates", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"month"
],
"properties": {
"month": {
"type": "string",
"pattern": "^(19|20)[0-9]{2}(0[1-9]|1[0-2])$",
"description": "Calendar month as YYYYMM, for example 202510. The call returns every published day of that month; a month with no published days returns count 0."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"dataset",
"count",
"entries"
],
"properties": {
"count": {
"type": "integer",
"description": "Number of published days in the month."
},
"notice": {
"type": "string",
"description": "Present only when the month holds no published days."
},
"dataset": {
"type": "string",
"description": "The Treasury dataset name, for example DailyTreasuryYieldCurveRateData."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"values"
],
"properties": {
"date": {
"type": "string",
"description": "ISO 8601 date."
},
"values": {
"type": "object",
"description": "Fields are `BC_20year`, `Over_10_Years` and `Real_Rate`, in percent; the feed's three rows per day are folded into one entry per day.",
"additionalProperties": {
"type": [
"number",
"string",
"null"
]
}
}
},
"additionalProperties": true
}
},
"first_date": {
"type": "string"
},
"latest_date": {
"type": "string"
}
},
"additionalProperties": true
}