# Synapse Math Solver

> Synapse Math Solver is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Evaluates and solves mathematical expressions, including arithmetic, algebra, and functions like square roots and powers, returning a numeric result.

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/math-solve?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-math-solver-2b894b94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NShCrO2k2fz7d1b-fdLVv

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 synapse-math-solver-2b894b94
```

Example prompt: Can you calculate the result of sqrt(144) + 2^3 * pi for me?

## When to prefer this

Choose this endpoint when you need to evaluate arbitrary mathematical expressions — especially those involving functions like sqrt, powers, pi, and chained operations — without setting up a local math parser or code execution environment. It is ideal for agents that need quick, reliable numeric answers from formula strings at low cost ($0.002/call) and without API key management.

## Known failure modes

- Invalid or unparseable expression string returns an error response
- Division by zero or undefined mathematical operations may return an error
- Malformed query parameter causes a 400-level response
- Network timeout or service unavailability returns a 5xx error
- Expressions referencing unsupported functions may fail silently or return an error

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

A JSON object containing a boolean 'ok' field indicating success, the original expression string echoed back as 'expr', and the computed numeric 'result' as a floating-point number. Example: {ok: true, expr: 'sqrt(144)+2^3*pi', result: 43.13}.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "expr": "sqrt(144)+2^3*pi",
  "result": 43.13274122871834
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-math-solver-2b894b94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
