# Shipment Costs Grouped Numeric Summary

> Shipment Costs Grouped Numeric Summary 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-15).

Computes grouped numeric summary statistics (e.g. min, max, mean, count) for shipment cost or weight data, grouped by carrier, from up to 200 records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-group-summary?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shipment-costs-grouped-numeric-summary-e94f1e9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_igmaTueVjCTpcZT0fODxs

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 shipment-costs-grouped-numeric-summary-e94f1e9e -d '<json body>'
```

Example prompt: Can you group these shipment records by carrier and give me a numeric summary of their shipping costs? I have 4 records: row-1 on 2026-10-01 carrier group-a weight 10kg cost $1, row-2 on 2026-10-02 carrier group-b weight 20kg cost $2, row-3 on 2026-10-03 carrier group-a weight 15kg cost $3, row-4 on 2026-10-04 carrier group-b weight 30kg cost $4 — summarize the shipping_cost field.

## When to prefer this

Use this endpoint when you have raw shipment records (up to 200) and need a quick grouped numeric summary by carrier without setting up your own aggregation pipeline. It is ideal for lightweight analytics tasks where you want per-carrier aggregate statistics on shipping cost or weight, at very low cost ($0.01 USDC per call). Prefer it over general analytics services when you already have structured shipment data ready and need a fast, bounded computation.

## Known failure modes

- Empty or missing rows array returns an error
- Row count exceeds 200 items — request rejected
- Missing required fields (row_id, carrier, date, weight_kg, shipping_cost) cause validation failure
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Invalid field enum value (not weight_kg or shipping_cost) causes rejection
- Payment not included or insufficient USDC causes 402 response

## How this service works

Shipment costs - Grouped numeric summary: Grouped numeric summary for Shipment costs. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded grouped numeric summary deliverable.

## Output

A grouped numeric summary of the selected field (weight_kg or shipping_cost) broken down by carrier, including aggregate statistics such as count, min, max, mean, and possibly sum or standard deviation for each carrier group, computed locally from the supplied records with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shipment-costs-grouped-numeric-summary-e94f1e9e/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)
