# GoCreative Margin Calculator

> GoCreative Margin Calculator 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-08).

Calculates profit margin percentage given a cost and revenue or price input value

## Facts

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

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-margin-calculator-11c74b64
```

Example prompt: What's the profit margin if my product costs $40 to make and I sell it for $100?

## When to prefer this

Use this endpoint when you need a quick, serverless margin calculation without setting up your own formula — ideal for AI agents that need on-the-fly profitability analysis during pricing decisions, business analysis tasks, or financial planning workflows, paid per-call with no API key required.

## Known failure modes

- Missing or invalid input query parameter returns an error
- Non-numeric input value causes computation failure
- Malformed path or missing arg segment returns 404
- Zero or negative denominator values may cause divide-by-zero errors
- Payment not completed (x402) results in 402 response with no data

## 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 computed margin percentage or value based on the input argument provided, representing profit margin as a numeric result.

## 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-margin-calculator-11c74b64/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)
