Skip to content
Eden Engine

Treasury Par Yield Curve Rates, Daily (U.S. Treasury)

treasuryinterestrates/yield-curve

Returns the U.S. Department of the Treasury's Daily Treasury Par Yield Curve Rates for one calendar month: the par yield, in percent, for each published business day at 1, 1.5, 2, 3, 4 and 6 months and 1, 2, 3, 5, 7, 10, 20 and 30 years maturity (fields BC_1MONTH to BC_30YEAR). 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.

activeper callv2

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
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "treasuryinterestrates/yield-curve" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "treasuryinterestrates/yield-curve" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "treasuryinterestrates/yield-curve", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "treasuryinterestrates/yield-curve", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not 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.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "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
output_schema.json
{
  "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_1MONTH`, `BC_1_5MONTH`, `BC_2MONTH`, `BC_3MONTH`, `BC_4MONTH`, `BC_6MONTH`, `BC_1YEAR`, `BC_2YEAR`, `BC_3YEAR`, `BC_5YEAR`, `BC_7YEAR`, `BC_10YEAR`, `BC_20YEAR`, `BC_30YEAR` and `BC_30YEARDISPLAY`, in percent; a maturity not yet offered on a date is null.",
            "additionalProperties": {
              "type": [
                "number",
                "string",
                "null"
              ]
            }
          }
        },
        "additionalProperties": true
      }
    },
    "first_date": {
      "type": "string"
    },
    "latest_date": {
      "type": "string"
    }
  },
  "additionalProperties": true
}