# Inventory Counts Keyed Dataset Comparison

> Inventory Counts 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-19).

Compares two sets of inventory count records (book units vs. counted units per warehouse and date) by row ID, computing numeric differences and data-quality metrics between the two datasets.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-inventory-counts-compare?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-counts-keyed-dataset-comparison-2129dfea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q-1chLixbfuTIzjPXHEUx

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 inventory-counts-keyed-dataset-comparison-2129dfea -d '<json body>'
```

Example prompt: Compare these two sets of inventory count records for me — the first dataset has warehouse group-a on 2026-10-01 with book_units 10 and counted_units 1 (row-1), and the second has the same row but book_units 12 — I want to see the numeric differences and any data quality issues between them.

## When to prefer this

Choose this endpoint when you need a lightweight, local numeric comparison of two bounded inventory count datasets (up to 200 rows each) keyed by row_id, with no need for external enrichment, forecasting, or large-scale batch processing. It is ideal for reconciliation tasks, audit variance checks, and data-quality validation on structured warehouse count exports.

## Known failure modes

- Missing required fields (row_id, warehouse, date, book_units, or counted_units) cause validation errors
- Date values not matching pattern YYYY-MM-DD are rejected
- Submitting more than 200 rows in either array exceeds the maxItems limit
- Empty primary rows array (minItems:1) causes rejection
- Numeric values outside ±1,000,000,000,000 are rejected
- Payment failure (insufficient USDC balance) blocks the request

## How this service works

Inventory counts - Keyed dataset comparison: Keyed dataset comparison for Inventory counts. 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 keyed comparison deliverable that matches records from both input datasets by row_id and returns numeric differences between book_units and counted_units across the two datasets, along with data-quality indicators such as missing values, unmatched keys, and summary statistics on variance.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-counts-keyed-dataset-comparison-2129dfea/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)
