Fair value of a fixed-coupon bond given face value, coupon rate, market yield, and maturity.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
face_value | number | optional | Face/par value (default 1000) |
coupon_rate | number | required | Annual coupon rate as a decimal |
market_rate | number | required | Annual market yield as a decimal |
years | number | required | Years to maturity |
frequency | integer | optional | Coupons per year (default 2) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "bond_price", "arguments": {"coupon_rate": 0.07, "market_rate": 0.07, "years": 30}}}'curl -s https://wingmanprotocol.com/tools/bond_price \
-H 'Content-Type: application/json' \
-d '{"coupon_rate": 0.07, "market_rate": 0.07, "years": 30}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/bond_price from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).