Finance Bond
by Saylor Innovations Data Desk in Markets & finance
Bond price from yield or yield to maturity from price with duration, modified duration, convexity, current yield and the price move for a one point yield change
https://saylorinnovations.com/api/finance/bond- Price
- $0.01
- per call in USDC
- Uptime
- 77.8%
- last 30 days
- Response time
- 278 ms
- 723 ms slowest 5%
- Last check
- Failed
- 7 h ago, next any minute now
Reliability
Latest check failed 7 h ago: Expected HTTP 402, got 404
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/finance/bond
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/finance/bond?coupon=0.05&freq=2&years=10&ytm=0.045Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
coupon | string | Yes | Annual coupon rate as decimal (0.05 = 5%) |
freq | string | No | optional payments per year 1, 2 (default), 4 or 12 |
years | string | Yes | Years to maturity |
ytm | string | Yes | Yield to maturity decimal (to compute price) |
Example response
The provider's example. We can't check it without paying.
{
"annual_coupon_income": 50,
"approx_price_move_per_1pt_usd": -77.847,
"convexity": 74.5506,
"current_yield_percent": 4.808,
"inputs": {
"annual_coupon_rate": 0.05,
"face_value": 1000,
"payments_per_year": 2,
"years_to_maturity": 10
},
"macaulay_duration_years": 8.0356,
"modified_duration": 7.8587,
"note": "Plain-vanilla fixed-coupon bond priced at a coupon date (no accrued interest, no call or default risk). Pass ytm to get price and risk measures, or price to solve the yield by bisection.",
"price": 1039.9093,
"price_change_if_yield_falls_1pt_percent": 8.231,
"price_change_if_yield_rises_1pt_percent": -7.486,
"price_percent_of_par": 103.991,
"source": "discounted cash flow",
"trading": "premium",
"yield_to_maturity": 0.045,
"yield_to_maturity_percent": 4.5
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/finance/bond?coupon=0.05&freq=2&years=10&ytm=0.045'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/finance/bond?coupon=0.05&freq=2&years=10&ytm=0.045' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Ffinance%2Fbond
const res = await pay("https://saylorinnovations.com/api/finance/bond?coupon=0.05&freq=2&years=10&ytm=0.045");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/finance/bond?coupon=0.05&freq=2&years=10&ytm=0.045")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 7 h ago | Expected HTTP 402, got 404 | 404 | 447 ms | - |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 308 ms | $0.01 |
| 4 days ago | Passed | 402 | 293 ms | $0.01 |
| 5 days ago | Passed | 402 | 278 ms | $0.01 |
Show 10 older checks
| 6 days ago | Passed | 402 | 351 ms | $0.01 |
| 6 days ago | Passed | 402 | 301 ms | $0.01 |
| 7 days ago | Passed | 402 | 179 ms | $0.01 |
| 7 days ago | Passed | 402 | 393 ms | $0.01 |
| 8 days ago | Passed | 402 | 414 ms | $0.01 |
| 8 days ago | Passed | 402 | 387 ms | $0.01 |
| 9 days ago | Passed | 402 | 278 ms | $0.01 |
| 9 days ago | Passed | 402 | 522 ms | $0.01 |
| 10 days ago | Passed | 402 | 201 ms | $0.01 |
| 10 days ago | Passed | 402 | 174 ms | $0.01 |
History
| 2 Nov 2026 | Price on Solana changed from 102212 units of So11111111111111111111111111111111111111112 to 102960 units of So11111111111111111111111111111111111111112 |
| 2 Nov 2026 | Price on Solana changed from 104010 units of So11111111111111111111111111111111111111112 to 102212 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102764 units of So11111111111111111111111111111111111111112 to 104010 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 102287 units of So11111111111111111111111111111111111111112 to 102764 units of So11111111111111111111111111111111111111112 |
| 1 Nov 2026 | Price on Solana changed from 101591 units of So11111111111111111111111111111111111111112 to 102287 units of So11111111111111111111111111111111111111112 |
| 29 Oct 2026 | Price on Solana changed from 94679 units of So11111111111111111111111111111111111111112 to 97038 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95706 units of So11111111111111111111111111111111111111112 to 94679 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95190 units of So11111111111111111111111111111111111111112 to 95706 units of So11111111111111111111111111111111111111112 |
| 28 Oct 2026 | Price on Solana changed from 95706 units of So11111111111111111111111111111111111111112 to 95190 units of So11111111111111111111111111111111111111112 |
| 27 Oct 2026 | Price on Solana changed from 95811 units of So11111111111111111111111111111111111111112 to 95706 units of So11111111111111111111111111111111111111112 |
| 26 Oct 2026 | Price on Solana changed from 95359 units of So11111111111111111111111111111111111111112 to 95811 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 96010 units of So11111111111111111111111111111111111111112 to 95359 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95802 units of So11111111111111111111111111111111111111112 to 96010 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 94855 units of So11111111111111111111111111111111111111112 to 95802 units of So11111111111111111111111111111111111111112 |
| 25 Oct 2026 | Price on Solana changed from 95982 units of So11111111111111111111111111111111111111112 to 94855 units of So11111111111111111111111111111111111111112 |