{"uid":"cap_I7Ai7MtE6n8yIABVW8Grv","slug":"fastapi-online-bond-yields-calculator-61a44ce8","name":"fastapi.online — Bond Yields Calculator","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/yields?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UH_4DaigIhj4Ym-X7Uz3j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates bond yield metrics via a self-hosted finance calculator endpoint, priced per call with crypto.","exampleAgentPrompt":"Calculate the yield to maturity for a bond with a face value of $1000, a coupon rate of 5%, a current price of $950, and 10 years to maturity.","exampleUseCases":[{"title":"Bond investment yield check","prompt":"I'm looking at a corporate bond priced at $920 with a $1000 face value, 6% annual coupon, and 7 years left to maturity — what's the yield to maturity?"},{"title":"Portfolio fixed-income analysis","prompt":"Can you compute the current yield and YTM for a government bond with face value $5000, coupon rate 3.5%, current market price $4850, and 5 years remaining?"},{"title":"Bond pricing vs yield tradeoff","prompt":"I want to understand the yield on a bond I'm considering — it has a $1000 par value, pays a 4% coupon annually, and is currently trading at $1050 with 3 years to maturity."}],"resultDescription":"Returns computed bond yield metrics such as yield to maturity (YTM), current yield, or related financial calculations based on the bond parameters provided.","failureModes":["Missing required bond input parameters returns a validation error","Invalid numeric values (negative price, zero maturity) may cause computation errors","Malformed JSON body returns 400 bad request","Network or server unavailability returns 5xx error","Insufficient USDC payment causes 402 payment required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call bond yield computation without subscribing to a full financial data platform. Ideal for agents that need on-demand fixed-income math without API keys or monthly fees, paying only $0.002 USDC per calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:46:54.403Z","isFirstParty":false,"canonicalSlug":"fastapi-online-bond-yields-calculator-61a44ce8"}