api_finance_bond_ytm
Read-onlyIdempotent
Solve annualized bond yield-to-maturity numerically from quoted clean price, par, coupon rate, maturity and payments per year. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| par | Yes | par; see operation description for units and format | |
| price | Yes | price; see operation description for units and format | |
| years | Yes | years; see operation description for units and format | |
| coupon_pct | Yes | coupon pct; see operation description for units and format | |
| payments_per_year | No | payments per year; see operation description for units and format |