---
title: "Bond current yield and yield-to-maturity from face value, coupon, market price, and maturity — with the premium/discount/par classification."
method: POST
path: "/v1/investing/bond-yield"
tags: ["Investing"]
---

# Bond current yield and yield-to-maturity from face value, coupon, market price, and maturity — with the premium/discount/par classification.

`POST /v1/investing/bond-yield`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/v1/investing/bond-yield`
- Auth: none declared

Bond current yield and yield-to-maturity from face value, coupon, market price, and maturity — with the premium/discount/par classification.

Payment: x402 ($0.05 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: current yield = annual coupon ÷ price; YTM = periodic rate solving price = Σ coupon/(1+y)ᵏ + face/(1+y)ⁿ (bisection), annualized × payments/yr

## Request body

- object
  - `faceValue` number
  - `couponRatePct` number, required
  - `price` number, required
  - `yearsToMaturity` number, required
  - `paymentsPerYear` number

## Response `200`

Verified result + provenance (formula, sources, reproducible SHA-256 hash).

## Other responses

- `400`: Invalid input (no charge) — body echoes the JSON Schema.
- `402`: Payment required — PAYMENT-REQUIRED header carries the x402 accepts[] quote.

---

[API](https://skmtc.dev/x402toll/apis/tollbooth-verified-calculators-for-ai-agents.md) · [All operations](https://skmtc.dev/x402toll/apis/tollbooth-verified-calculators-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/x402toll/apis/tollbooth-verified-calculators-for-ai-agents/revisions/60cb70a3e1a5?raw)
