# Marketplace Proceeds Distribution Histogram

> Marketplace Proceeds Distribution Histogram 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).

Generates a distribution histogram of marketplace net proceeds computed from supplied gross sale, fee percentage, fixed fee, and refund data across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-marketplace-proceeds-histogram?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/marketplace-proceeds-distribution-histogram-3090371d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MKv7lYw6F1QtdOEOWC2-I

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 marketplace-proceeds-distribution-histogram-3090371d -d '<json body>'
```

Example prompt: Generate a distribution histogram of marketplace proceeds using these 5 sales rows — each has a gross sale, a percentage fee, a fixed fee, and a refund amount — and split the results into 8 bins so I can see how my net earnings are spread out.

## When to prefer this

Choose this endpoint when you need a local, offline distribution analysis of marketplace net proceeds across multiple transactions and want to understand the spread or concentration of earnings without needing live platform data, inventory access, or order execution. Ideal for scenario planning, fee structure comparisons, and summarizing earnings distributions from exported transaction records.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required
- More than 200 rows supplied — exceeds maxItems limit
- bin count outside 1–30 range returns validation error
- fee_percent exceeds 100 or is negative — invalid input
- gross_sale or fixed_fee is negative — rejected by schema
- Malformed row objects missing required fields cause request failure

## How this service works

Marketplace proceeds from supplied fees - Distribution histogram: Distribution histogram for Marketplace proceeds from supplied fees. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded distribution histogram deliverable.

## Output

Returns a bounded distribution histogram showing how computed net marketplace proceeds (gross sale minus percentage fee, fixed fee, and refunds) are distributed across the specified number of bins, including bin ranges and frequency counts for each bucket.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "gross_sale",
     "fee_percent",
     "fixed_fee",
     "refunds"
    ],
    "properties": {
     "refunds": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "fixed_fee": {
      "type": "number",
      "default": 1,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "gross_sale": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "fee_percent": {
      "type": "number",
      "default": 10,
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "refunds": 5,
     "fixed_fee": 1,
     "gross_sale": 100,
     "fee_percent": 10
    },
    {
     "refunds": 5.5,
     "fixed_fee": 1.1,
     "gross_sale": 110.00000000000001,
     "fee_percent": 11
    },
    {
     "refunds": 5,
     "fixed_fee": 1,
     "gross_sale": 100,
     "fee_percent": 10
    },
    {
     "refunds": 5.5,
     "fixed_fee": 1.1,
     "gross_sale": 110.00000000000001,
     "fee_percent": 11
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketplace-proceeds-distribution-histogram-3090371d/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)
