# Gross Profit Distribution Summary Calculator

> Gross Profit Distribution Summary Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Summarises up to 200 gross profit observations with quantiles and population standard deviation, returning a statistical distribution report in JSON.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-gross-profit-summary?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gross-profit-distribution-summary-calculator-29a4889f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s79GLFG3RsqyQOIsce9jr

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 gross-profit-distribution-summary-calculator-29a4889f -d '<json body>'
```

Example prompt: I have 8 periods of revenue and cost-of-sales data — can you run a gross profit distribution summary showing quantiles and standard deviation across all of them? The rows are: [{revenue:50000,cost_of_sales:30000},{revenue:52000,cost_of_sales:31000},{revenue:48000,cost_of_sales:29500},{revenue:55000,cost_of_sales:33000},{revenue:51000,cost_of_sales:30500},{revenue:53000,cost_of_sales:32000},{revenue:49000,cost_of_sales:29000},{revenue:54000,cost_of_sales:32500}].

## When to prefer this

Choose this endpoint when you have a batch of pre-calculated or raw revenue/cost-of-sales pairs and need a fast statistical distribution summary (quantiles + standard deviation) of gross profit — without needing a live market feed, financial advice, or trade execution. Ideal for internal reporting, multi-period or multi-entity comparisons, and automated finance pipelines processing up to 200 observations at a time.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 observations required
- Row count exceeds 200 — API rejects with validation error
- Revenue or cost_of_sales values outside ±1,000,000,000,000 range
- cost_of_sales is negative — minimum value is 0
- Malformed JSON input or missing required fields per row
- Payment not processed — x402 payment required at $0.01 USDC

## How this service works

Gross profit - Distribution summary: Summarise up to 200 calculated observations with quantiles and population standard deviation. Metric: Gross profit. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded distribution summary report.

## Output

A JSON object containing the calculated gross profit distribution summary: quantile breakpoints (e.g. min, Q1, median, Q3, max), population standard deviation, the gross profit formula applied, units used, and any limitations of the analysis. Up to 200 observations are supported per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "revenue",
     "cost_of_sales"
    ],
    "properties": {
     "revenue": {
      "type": "number",
      "default": 10000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     },
     "cost_of_sales": {
      "type": "number",
      "default": 6000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "revenue": 10000,
     "cost_of_sales": 6000
    },
    {
     "revenue": 11000,
     "cost_of_sales": 6600.000000000001
    },
    {
     "revenue": 10000,
     "cost_of_sales": 6000
    },
    {
     "revenue": 11000,
     "cost_of_sales": 6600.000000000001
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gross-profit-distribution-summary-calculator-29a4889f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
