xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Financial Modeling Prep logo

GetTreasuryRates

getTreasuryRates

Access real-time and historical Treasury rates for all maturities with the FMP Treasury Rates API. Track key benchmarks for interest rates across the economy.

$0.01/call
Flat rate
Financial Modeling Prep
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to access real-time and historical treasury rates for all maturities with the fmp treasury rates api. track key benchmarks for interest rates across the economy.. This is part of the Financial Modeling Prep provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 252+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("financial-modeling-prep/getTreasuryRates")
  2. xpay_run — Execute: xpay_run("financial-modeling-prep/getTreasuryRates", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
fromstringNoOptional start date (YYYY-MM-DD)
tostringNoOptional end date (YYYY-MM-DD)

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Financial Modeling Prep (all tools) — 253 tools
  • SearchSymbol — $0.01/call
  • SearchName — $0.01/call
  • SearchCIK — $0.01/call
  • SearchCUSIP — $0.01/call
  • SearchISIN — $0.01/call

Links

  • Tool page: https://xpay.tools/financial-modeling-prep/gettreasuryrates/
  • Provider: https://xpay.tools/financial-modeling-prep/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("financial-modeling-prep/getTreasuryRates")
// 2. Execute
xpay_run("financial-modeling-prep/getTreasuryRates", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

from

stringNo

Optional start date (YYYY-MM-DD)

to

stringNo

Optional end date (YYYY-MM-DD)

Related Tools from Financial Modeling Prep
SearchSymbol — $0.01SearchName — $0.01SearchCIK — $0.01SearchCUSIP — $0.01SearchISIN — $0.01StockScreener — $0.01SearchExchangeVariants — $0.01GetCompanySymbols — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/financial-modeling-prep/gettreasuryrates/SKILL.md
CLI
npx @xpaysh/cli install financial-modeling-prep/gettreasuryrates
Manual
curl -o SKILL.md https://xpay.tools/skills/financial-modeling-prep/gettreasuryrates/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Financial Modeling Prep

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service