Pricing a fixed-rate loan off Treasuries

Pull the daily Treasury yield curve, one month to 30 years

Quote the borrower a rate built on the matching Treasury, and show how that yield and the rest of the curve have moved since the term sheet went out.

Through Delegate, your AI assistant uses Financial Modeling Prep for you, with no Financial Modeling Prep account or API key.

How to start

  1. Create a free account. New accounts start with free credit.
  2. Connect ChatGPT, Claude or another AI assistant, or use Delegate's own chat in your browser.
  3. Paste the prompt, filled in with your details.

Have ready

  • The date range, or the specific days you want to compare
  • The maturity your deal or analysis is pegged to

The prompt

We're pricing a [5-year] fixed-rate loan at [Treasury plus 250 basis points]. Pull the daily Treasury curve from [term sheet date] to today, show how the [5-year] yield and our all-in rate have moved, and tell me whether the curve has steepened or flattened since.

What you're charged for

  • Nothing is charged when nothing comes back, or when the provider turns the request down or fails on its side.

Prices checked October 22, 2026. See every price in the catalog.

Good to know

Long ranges come in pieces

Each request returns at most 200 trading days, a little over nine months of the curve. Your agent reads a longer range in pieces and joins them.

Built for the curve

GDP, inflation and other indicators, and release dates, come from FRED's history and calendar services.

You need one maturity over decades

Pull a FRED series such as DGS10 from its start, as levels or changes. FRED indicator history

You want the rates central banks set

Get policy rates such as the Fed's, now or over a window. Central bank rates

For developers

Service key fmp-economic-data. The same request from the dlgt CLI:

dlgt hire fmp-economic-data --input '{"mode": "treasury", "from_date": "2026-08-28", "to_date": "2026-09-04"}' --wait

Every field and its limits are listed with the service in the catalog.

Hand it to your agent

Connect Delegate once and your agent can do this job, and use every other service in the catalog.

  • Runs in Claude, ChatGPT, Claude Code, Codex, Cursor or Gemini CLI, or any agent that connects over MCP.
  • Your agent shows the price before each request, and nothing runs past your balance or the spending limits you set.
  • This and every other service in the catalog draw on one Delegate balance, with no subscription.