# Numora ROI Calculator

> Numora ROI Calculator is a paid API for AI agents from numormo.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Computes Return on Investment (ROI) given a cost and a gain value, returning the ROI percentage and related financial metrics.

## Facts

- Endpoint: POST https://numormo.vercel.app/api/financial/roi
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-roi-calculator-484170a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LI26RA3Dus6xw1v7A1mIR

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 numora-roi-calculator-484170a4 -d '<json body>'
```

Example prompt: Calculate the ROI for an investment where I spent $4,000 and got back $6,500 in total gain.

## When to prefer this

Use this endpoint when you need a fast, dependency-free server-side ROI computation given a numeric cost and gain — ideal for AI agents that need reliable financial math without spinning up a local calculator or calling a heavyweight financial API. Prefer this over general-purpose math APIs when the specific ROI formula with clear labeled output is needed.

## Known failure modes

- Missing required 'cost' field returns a validation error
- Missing required 'gain' field returns a validation error
- Non-numeric values for cost or gain cause a bad request error
- Division by zero if cost is 0 may return an error or undefined result
- Payment failure via x402 micropayment protocol returns 402 status

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a 'success' boolean, a 'result' object containing the computed ROI (typically as a percentage and related metrics like net gain), and a 'computation' string describing in human-readable form what was calculated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "cost",
  "gain"
 ],
 "properties": {
  "cost": {
   "type": "number"
  },
  "gain": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-roi-calculator-484170a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormo.vercel.app](https://www.zero.xyz/host/numormo.vercel.app/llms.txt)
