# SignalDesk AI Profit Margin Calculator

> SignalDesk AI Profit Margin Calculator is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Calculates gross profit and margin percentage from cost and selling price inputs

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/finance/margin?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-profit-margin-calculator-b835f23c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_82QnbKw6cP0qafm8nKBOt

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 signaldesk-ai-profit-margin-calculator-b835f23c -d '<json body>'
```

Example prompt: What's my profit margin if my product costs $60 to make and I'm selling it for $100?

## When to prefer this

Use this endpoint when you need a quick, deterministic gross margin calculation from raw cost and price figures, without any tax, accounting, or advisory complexity. Ideal for agents embedded in pricing workflows, product management tools, or financial dashboards that need a simple margin figure on demand. Prefer this over building your own arithmetic when you want a standardized, schema-validated result with a built-in advisory disclaimer.

## Known failure modes

- Missing required fields (cost or selling_price) results in validation error
- selling_price must be strictly positive (exclusiveMinimum: 0); zero or negative values rejected
- cost or selling_price exceeding maximum bounds (1e12) will be rejected
- Non-numeric inputs cause schema validation failure
- Network timeout or Cloudflare Worker cold-start latency may delay response

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing the calculated profit (selling_price minus cost), margin_percent (profit as a percentage of selling price), and a disclaimer notice clarifying that the result is a simple calculation with no tax, investment, or lending advice implied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": 0,
   "description": "Amount in one consistent currency; floating-point calculation, not an accounting ledger."
  },
  "selling_price": {
   "type": "number",
   "maximum": 1000000000000,
   "minimum": -1000000000000000,
   "description": "Positive price.",
   "exclusiveMinimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "notice": "Calculation from supplied inputs only; no tax, investment or lending advice.",
  "profit": 40,
  "margin_percent": 40
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-profit-margin-calculator-b835f23c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
