# Saylor Innovations ROI Calculator

> Saylor Innovations ROI Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Calculates return on investment percent, gain, multiple, and optionally annualized return from an amount invested and amount returned

## Facts

- Endpoint: GET https://saylorinnovations.com/api/calc/roi?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-roi-calculator-1e0c35a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZbV9yv7MNFTdUjwStBAL9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-roi-calculator-1e0c35a3
```

Example prompt: I invested $25,000 and got back $41,500 after holding for 3 years — what's my ROI percentage, gain, multiple, and annualized return?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

ROI calculator - return on investment percent, gain, multiple and annualized return from amount invested and returned

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-roi-calculator-1e0c35a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
