# MolCloud Math Evaluator

> MolCloud Math Evaluator is a paid API for AI agents from api.molcloud.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Evaluates mathematical expressions and financial formulas (including compound interest and DEX slippage) via a pay-per-request API settling in USDC on Base.

## Facts

- Endpoint: POST https://api.molcloud.net/api/eval/math?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molcloud-math-evaluator-8be63df4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AC73BLmmZJJ7msju0I-aZ

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 molcloud-math-evaluator-8be63df4 -d '<json body>'
```

Example prompt: Can you calculate compound interest on a $1000 principal at 8% annual rate over 1 year, compounded monthly? Use compound_interest mode.

## When to prefer this

Choose this endpoint when an AI agent needs to perform mathematical or financial calculations — especially compound interest or DEX slippage — as part of a pay-per-request autonomous workflow settling in USDC on Base via x402. It is particularly suited for agentic pipelines that need deterministic numeric results without running a local compute environment.

## Known failure modes

- Invalid or malformed mathematical expression returns an error status
- Unsupported calculation type (outside formula/compound_interest/dex_slippage enum) rejected
- Missing required params for financial modes (e.g. missing principal or rate) may cause computation failure
- Payment failure in USDC/x402 prevents the call from executing
- Division by zero or undefined mathematical operations may return an error result

## How this service works

40 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.

## Output

A JSON object with status 'success', the endpoint path, and a 'calculation' object containing the numeric result of the evaluated expression or financial formula.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "formula",
    "compound_interest",
    "dex_slippage"
   ],
   "type": "string",
   "description": "Calculation mode"
  },
  "params": {
   "type": "object",
   "description": "Optional financial parameters"
  },
  "expression": {
   "type": "string",
   "description": "Mathematical expression to evaluate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "success",
  "endpoint": "/api/eval/math",
  "calculation": {
   "result": 1082.9995
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molcloud-math-evaluator-8be63df4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.molcloud.net](https://www.zero.xyz/host/api.molcloud.net/llms.txt)
