# Shipment Costs Keyed Dataset Comparison

> Shipment Costs Keyed Dataset Comparison 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).

Compares two keyed datasets of shipment cost records (up to 200 rows each) and returns local numeric and data-quality analysis highlighting differences between them.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-compare?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-keyed-dataset-comparison-8443a503
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QRldYiq20NornKCIecWGY

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-keyed-dataset-comparison-8443a503 -d '<json body>'
```

Example prompt: Compare these two sets of shipment records for me — the first batch has rows for carriers Alpha and Beta with weights and shipping costs from October 2026, and the second batch has the same row IDs but with slightly different weights and costs — I want to see what changed between them.

## When to prefer this

Use this endpoint when you have two structured shipment cost datasets keyed by row IDs and need a local, fast numeric comparison and data quality check without calling any external enrichment APIs. Ideal for auditing carrier rate changes, reconciling two data imports, or diffing before/after shipment pricing snapshots for up to 200 records at a time.

## Known failure modes

- Empty or missing 'rows' array returns a validation error
- Row objects missing required fields (row_id, carrier, date, weight_kg, shipping_cost) cause schema rejection
- More than 200 items in either array exceeds the maxItems limit and will be rejected
- Invalid date format (not YYYY-MM-DD) causes pattern validation failure
- Non-numeric values for weight_kg or shipping_cost cause type errors
- Payment of 0.01 USDC must succeed via x402 protocol or the request is rejected

## How this service works

Shipment costs - Keyed dataset comparison: Keyed dataset comparison 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 keyed dataset comparison deliverable.

## Output

A structured comparison deliverable highlighting per-row differences between the two supplied shipment cost datasets, including numeric deltas on weight_kg and shipping_cost fields, and data quality observations — all computed locally without 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
  },
  "other": {
   "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
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shipment-costs-keyed-dataset-comparison-8443a503/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)
