# Business Utils Agent – KPI Calculator

> Business Utils Agent – KPI Calculator is a paid API for AI agents from business-utils-agent.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Calculates business KPIs such as ROI, profit margin, customer acquisition cost, and churn rate from raw business metrics, returning formulas, values, and plain-English explanations.

## Facts

- Endpoint: POST https://business-utils-agent.up.railway.app/kpi/calculator
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-utils-agent-kpi-calculator-a83d222d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__zr6D5cuN_RUuUuYnKC3i

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 business-utils-agent-kpi-calculator-a83d222d -d '<json body>'
```

Example prompt: Calculate my ROI and profit margin — my revenue is $100,000 and my total costs are $50,000. Give me the formulas and a plain-English explanation of what the numbers mean.

## When to prefer this

Choose this endpoint when you need structured, formula-backed KPI computations with human-readable explanations rather than manual spreadsheet work. It is ideal when you want ROI, profit margin, CAC, or churn rate computed consistently from raw business metric dictionaries, especially when explanations and formulas are needed alongside numbers for reporting or presentation purposes.

## Known failure modes

- Missing required 'data' field returns a validation error
- Providing non-numeric values for metrics (e.g. strings instead of numbers) causes computation failure
- Requesting an unsupported KPI name in the 'kpis' list may return null or an error for that metric
- Supplying a zero cost value can cause division-by-zero errors in ROI calculations
- Network timeout or service unavailability on the Railway.app host

## How this service works

A comprehensive business utilities agent offering KPI calculations, ROI analysis, profit margin calculations, customer acquisition cost analysis, churn rate calculations, and AI-powered business plan reviews.

## Output

A JSON object containing: 'results' with numeric KPI values and percentages (e.g. roi, profit_margin, roi_percentage, profit_margin_percentage), 'formulas' with the mathematical formula used for each KPI, and 'explanations' with human-readable interpretations of each metric.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Dictionary containing business metrics (e.g., {'revenue': 100000, 'cost': 50000})"
  },
  "kpis": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Optional list of specific KPIs to calculate (e.g., ['roi', 'profit_margin'])"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": {
   "roi": 2,
   "profit_margin": 0.5,
   "roi_percentage": 200,
   "profit_margin_percentage": 50
  },
  "formulas": {
   "roi": "gain / cost",
   "profit_margin": "profit / revenue"
  },
  "explanations": {
   "roi": "Return on Investment: For every dollar invested, you earn $2.00",
   "profit_margin": "Profit Margin: 50.00% of revenue is profit"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-utils-agent-kpi-calculator-a83d222d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from business-utils-agent.up.railway.app](https://www.zero.xyz/host/business-utils-agent.up.railway.app/llms.txt)
