# GoCreative Calculator Expression Evaluator

> GoCreative Calculator Expression Evaluator is a paid API for AI agents from api.gocreativeai.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-09).

Evaluates a mathematical or logical expression string and returns the computed result

## Facts

- Endpoint: GET https://api.gocreativeai.com/v1/calc/eval/%7Barg%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gocreative-calculator-expression-evaluator-dffffc44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LiGOJDO_m6QT2eb5UIPAG

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 gocreative-calculator-expression-evaluator-dffffc44
```

Example prompt: Can you evaluate the expression '(1500 * 0.08) + (200 / 4) - 35' and tell me the result?

## When to prefer this

Use this endpoint when an AI agent needs to evaluate an arbitrary arithmetic or mathematical expression string programmatically without embedding a math parser locally. Ideal for agents that receive formula strings from users or upstream data sources and need a reliable, pay-per-call computation service. Prefer this over writing local eval logic when operating in sandboxed environments.

## Known failure modes

- Invalid or malformed expression string returns an error or NaN
- Division by zero in the expression may return an error or Infinity
- Unsupported functions or operators result in a parse error
- Empty or missing `input` query parameter returns a 400-level error
- Payment failure via x402 (insufficient USDC balance) returns 402 Payment Required

## How this service works

Keyless, pay-per-call compliance &amp; regulated-data API for AI agents — OFAC wallet + sanctions/PEP + KYB screening, SEC filings, FRED economics, FDA recalls, federal awards, plus continuous monitoring. USDC on Base/Solana via x402, native MCP. No API key, no signup.

## Output

Returns the numeric result of evaluating the provided mathematical expression string. The response reflects the computed value of the formula passed as the `input` query parameter.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "endpoint argument"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gocreative-calculator-expression-evaluator-dffffc44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gocreativeai.com](https://www.zero.xyz/host/api.gocreativeai.com/llms.txt)
