# Gross Profit IQR Outlier Flags Calculator

> Gross Profit IQR Outlier Flags 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-18).

Flags gross profit observations that fall beyond 1.5× the interquartile range, returning a statistical outlier report in JSON format.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-gross-profit-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gross-profit-iqr-outlier-flags-calculator-4b7e5801
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4P4UoPfAKS6z95WdgjQoA

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-iqr-outlier-flags-calculator-4b7e5801 -d '<json body>'
```

Example prompt: Can you flag any gross profit outliers in my dataset using IQR? I have 5 periods: revenues of 10000, 11000, 10500, 95000, and 10200 with cost of sales of 6000, 6600, 6300, 57000, and 6100 respectively.

## When to prefer this

Choose this endpoint when you need a fast, bounded statistical outlier check on gross profit across a set of observations (2–200 rows) and want a machine-readable JSON result with the formula and limitations included. It is purpose-built for gross profit using revenue minus cost-of-sales, not generic IQR computation. Prefer this over a general statistics API when you specifically need gross profit outlier flags with transparent methodology and per-call pricing.

## Known failure modes

- Fewer than 2 rows submitted (minimum required)
- More than 200 rows submitted (maximum exceeded)
- Missing required fields (revenue or cost_of_sales) in one or more rows
- cost_of_sales values outside 0 to 1,000,000,000,000 range
- revenue values outside -1,000,000,000,000 to 1,000,000,000,000 range
- Payment of 0.01 USDC not completed via x402 protocol

## How this service works

Gross profit - IQR outlier flags: Flag observations beyond 1.5 times the interquartile range; statistical flags are not errors or fraud findings. 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 iqr outlier flags report.

## Output

A JSON object containing IQR-based outlier flags for each gross profit observation, along with the formula used, units, and limitations. Each row is assessed against the 1.5×IQR threshold computed from the submitted dataset. The response explicitly notes these are statistical flags, not error or fraud findings.

## 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-iqr-outlier-flags-calculator-4b7e5801/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)
