# Inventory Record Grouper

> Inventory Record Grouper 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-01).

Groups an array of JSON inventory records by a specified field key, returning records organized into named buckets.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/group-records-inventory?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inventory-record-grouper-bef69824
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GZ_yVAnXEvIDD6unVmfTT

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-record-grouper-bef69824 -d '<json body>'
```

Example prompt: Can you group these inventory records by their 'type' field: [{"type":"open","count":2},{"type":"closed","count":1},{"type":"open","count":5}]?

## When to prefer this

Choose this endpoint when you have a flat array of inventory JSON records and need to partition them into named groups by a single field value — especially within inventory, warehouse, or stock management workflows where field-based categorization is needed without a full database or analytics platform.

## Known failure modes

- Missing or empty 'records' array returns an error or empty result
- Specified 'key' field not present in any records results in a single undefined bucket or empty groupings
- Malformed JSON in records array causes a parse error
- Non-string grouping key values may produce unexpected bucket names

## How this service works

Inventory Record grouper: Group JSON records by a selected field. Tailored for inventory workflows.

## Output

Returns an object where each key is a distinct value of the specified grouping field, and the corresponding value is an array of all records that matched that key. For example, grouping by 'type' produces {"open":[...],"closed":[...]} buckets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "default": "type"
  },
  "records": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "default": [
    {
     "type": "open",
     "count": 2
    },
    {
     "type": "closed",
     "count": 1
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-record-grouper-bef69824/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)
