# Commercial Proposal Comparisons — Equal-Width Histogram + Secondary-Measure Weighted Mean

> Commercial Proposal Comparisons — Equal-Width Histogram + Secondary-Measure Weighted Mean 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-17).

Runs two local analytical reports on commercial proposal data: an equal-width histogram of a selected measure and a delivery-days-weighted mean of quoted amounts (or vice versa), across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-company-24-172?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/commercial-proposal-comparisons-equal-width-histogram-secondary-3f962a93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mHDcFIr5WRG20suNliVZT

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 commercial-proposal-comparisons-equal-width-histogram-secondary-3f962a93 -d '<json body>'
```

Example prompt: I have 12 commercial proposal records with quoted_amount and delivery_days — can you run a 6-bin equal-width histogram on quoted_amount plus a delivery_days-weighted mean on that same dataset? Here are the rows: [{"row_id":"r1","company_group":"alpha","date":"2025-01-10","quoted_amount":5000,"delivery_days":14}, ...]

## When to prefer this

Choose this endpoint when you have up to 200 commercial proposal rows with quoted_amount and delivery_days fields and need both a distributional view (histogram) and a cross-measure summary (weighted mean) in a single low-cost call. Prefer it over generic statistics APIs when your data is structured around procurement bids and you want both reports bundled for $0.01 USDC without any external data enrichment or prediction.

## Known failure modes

- More than 200 rows submitted — request will be rejected or truncated
- Invalid date format (must be YYYY-MM-DD) causes row validation failure
- bins parameter out of range (must be 1–30) returns validation error
- All values null for the selected field makes histogram and weighted mean undefined
- Missing required row fields (row_id, company_group, date) causes schema validation failure
- Payment of 0.01 USDC not completed — 402 response returned

## How this service works

Commercial proposal comparisons — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied commercial proposal comparisons records (quoted_amount, delivery_days). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two analytical reports: (1) an equal-width histogram showing frequency counts per bin for the selected primary measure (quoted_amount or delivery_days), with bin boundaries; and (2) a weighted mean of the secondary measure using the primary measure values as weights — all computed locally on the supplied rows with no external calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bins": {
   "type": "integer",
   "default": 5,
   "maximum": 30,
   "minimum": 1
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "company_group",
     "date",
     "quoted_amount",
     "delivery_days"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "company_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "delivery_days": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "quoted_amount": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "company_group": "group-a",
     "delivery_days": 1,
     "quoted_amount": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "company_group": "group-b",
     "delivery_days": 2,
     "quoted_amount": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "company_group": "group-a",
     "delivery_days": 3,
     "quoted_amount": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "company_group": "group-b",
     "delivery_days": 4,
     "quoted_amount": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "quoted_amount",
    "delivery_days"
   ],
   "type": "string",
   "default": "quoted_amount"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commercial-proposal-comparisons-equal-width-histogram-secondary-3f962a93/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)
