# Price Basket Observations — Numeric Distribution + Numeric Row Ordering

> Price Basket Observations — Numeric Distribution + Numeric Row Ordering 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-30).

Computes numeric distribution statistics and row ordering ranks for price basket observation records (item_price, quantity_weight) over up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-07-073?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-basket-observations-numeric-distribution-numeric-row-ordering-953630fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lDd7ZyW86oh2s4dpW2aQJ

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 price-basket-observations-numeric-distribution-numeric-row-ordering-953630fd -d '<json body>'
```

Example prompt: Run a numeric distribution analysis and row ordering on these price basket records — I have 4 rows with item prices of 10, 20, 15, and 30 and quantity weights of 1, 2, 3, and 4, tagged by region and date, and I want the reports for the item_price field.

## When to prefer this

Choose this endpoint when you need both a statistical distribution summary and a ranked ordering of rows for price basket data in a single low-cost call. It is ideal for offline/local analytical processing of up to 200 observation records without requiring external data sources, predictions, or professional assessments. Prefer this over generic statistics APIs when your data is structured as price basket observations with item_price and quantity_weight fields and you need both reports bundled for $0.01.

## Known failure modes

- Fewer than 1 row submitted — request rejected
- More than 200 rows submitted — exceeds row limit
- Missing required fields (row_id, region, date, item_price, quantity_weight) — validation error
- Invalid date format (must be YYYY-MM-DD) — schema validation failure
- Payment of 0.01 USDC not completed — 402 Payment Required
- item_price or quantity_weight out of allowed numeric range — rejected
- field enum value not one of item_price or quantity_weight — validation error

## How this service works

Price basket observations — Numeric distribution + Numeric row ordering: Numeric distribution + Numeric row ordering for supplied price basket observations records (item_price, quantity_weight). 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 independent analytical reports for the submitted price basket rows: (1) a numeric distribution report showing statistical spread (e.g. min, max, mean, percentiles, frequency) for the selected field, and (2) a numeric row ordering report ranking each row by the selected field value. Results are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-basket-observations-numeric-distribution-numeric-row-ordering-953630fd/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)
