← Agent Data Hub · Search endpoints · /llms.txt

Bond Yield to Maturity (YTM), Current Yield & Duration Calculator

Calculates Bond Current Yield %, approximate Yield-to-Maturity (YTM %), and Modified Duration interest rate sensitivity.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/finance-bond-ytm-duration?face_value=1000&market_price=940&coupon_pct=4.0&years_to_maturity=7&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"finance-bond-ytm-duration"}

Parameters

face_valueBond par value (default: 1000)
market_priceCurrent bond market price (default: 940)
coupon_pctAnnual coupon rate % (default: 4.0)
years_to_maturityYears remaining (default: 7)

Example response (live, compact)

{
  "apiId": "finance-bond-ytm-duration",
  "data_freshness": "live",
  "data": {
    "face_value": 1000,
    "market_price": 940,
    "annual_coupon": 40,
    "current_yield_pct": 4.26,
    "yield_to_maturity_ytm_pct": 5.01,
    "trading_status": "Discount Bond (Below Par)"
  },
  "source": "100% Platform Fixed Income Engine",
  "license": "100% Platform Owned Compute"
}

Source & license

Source100% Platform Fixed Income Engine
License100% Platform Owned Compute
Source URLhttps://localhost:3000/api/v1/call/finance-bond-ytm-duration
Termshttps://localhost:3000/llms.txt
CategoryFinance & Markets › 10. Financial, Real Estate & SaaS Calculators