{"uid":"cap_ZbV9yv7MNFTdUjwStBAL9","slug":"saylor-innovations-roi-calculator-1e0c35a3","name":"Saylor Innovations ROI Calculator","description":"ROI calculator - return on investment percent, gain, multiple and annualized return from amount invested and returned","url":"https://saylorinnovations.com/api/calc/roi?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["invested","returned"],"properties":{"years":{"type":"string","description":"optional holding period in years"},"invested":{"type":"string","description":"Amount invested"},"returned":{"type":"string","description":"Amount returned"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["gain","roi_percent"],"properties":{"gain":{"type":"number"},"years":{"type":["number","null"],"description":"Years covered"},"invested":{"type":["number","null"]},"multiple":{"type":"number"},"returned":{"type":["number","null"],"description":"Number of items in this response"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"roi_percent":{"type":"number","description":"Roi, as a percentage"},"annualized_return_percent":{"type":["number","null"],"description":"Annualized return, as a percentage"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BAEcTP1e8bAx0ox2Refpi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates return on investment percent, gain, multiple, and optionally annualized return from an amount invested and amount returned","exampleAgentPrompt":"I invested $25,000 and got back $41,500 after holding for 3 years — what's my ROI percentage, gain, multiple, and annualized return?","exampleUseCases":[{"title":"Evaluating a stock investment return","prompt":"I bought $10,000 worth of stock and sold it for $14,200 two years later. What's my ROI, how much did I gain, and what was my annualized return?"},{"title":"Comparing real estate deal performance","prompt":"We put $150,000 into a property and exited for $310,000 after 5 years. Can you calculate the ROI percent, the gain, the multiple, and the annualized return on that deal?"},{"title":"Checking a startup investment outcome","prompt":"I invested $5,000 in a startup and just received $47,500 back. What's my return on investment percentage and what multiple is that?"}],"resultDescription":"Returns a JSON object containing: roi_percent (ROI as a percentage), gain (absolute dollar gain), multiple (return multiple), invested amount, returned amount, and optionally annualized_return_percent and years if a holding period was provided, along with a checked_at timestamp.","failureModes":["Missing required 'invested' or 'returned' query parameters returns an error","Non-numeric values for invested or returned cause a parse failure","Division by zero if invested is 0","years parameter provided as non-numeric string may cause calculation error","Payment failure or expired x402 authorization returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need quick, structured ROI metrics — percent return, gain, multiple, and annualized return — from a simple invested/returned pair, especially when you want a single API call with a micropayment model rather than building the math yourself or calling a heavier financial analytics service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:53:29.952Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-roi-calculator-1e0c35a3"}