# Shipment Costs Date-by-Category Pivot

> Shipment Costs Date-by-Category Pivot 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-12).

Pivots shipment cost records by date and carrier category, aggregating up to 200 rows of shipping data into a cross-tabulated summary.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-pivot?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shipment-costs-date-by-category-pivot-311f6513
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1YHzSkAaOGr_sVF8ezwWi

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-date-by-category-pivot-311f6513 -d '<json body>'
```

Example prompt: Pivot my shipment cost records by date and carrier — I have 4 rows with carriers group-a and group-b, dates from 2026-10-01 to 2026-10-04, and I want to see the shipping_cost field cross-tabulated.

## When to prefer this

Choose this endpoint when you need a structured date-by-carrier pivot of shipment cost or weight data locally, without sending data to an external enrichment or forecasting service. Ideal for logistics analytics agents processing batches up to 200 records that need fast, deterministic aggregation with no side effects.

## Known failure modes

- Input array exceeds 200 items — request rejected
- Missing required fields (row_id, carrier, date, weight_kg, shipping_cost) on any row — validation error
- Invalid date format (must match YYYY-MM-DD) — pattern validation failure
- Empty rows array — minimum 1 item required
- Invalid field enum value — must be weight_kg or shipping_cost

## How this service works

Shipment costs - Date by category pivot: Date by category pivot 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 date by category pivot deliverable.

## Output

A date-by-category (carrier) pivot table aggregating the selected numeric field (weight_kg or shipping_cost) across up to 200 input shipment records, with dates as one axis and carrier categories as the other.

## 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-date-by-category-pivot-311f6513/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)
