# Inventory JSON Structure Inspector

> Inventory JSON Structure Inspector 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).

Parses a JSON string and reports its root type, top-level keys, and item count, tailored for inventory workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/json-inspect-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-json-structure-inspector-c37583c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QAoL4DmgHH1lVCXsI_dsn

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-json-structure-inspector-c37583c7 -d '<json body>'
```

Example prompt: Can you inspect this inventory JSON and tell me its root type, what keys it has, and how many items are in it: '{"product_id":"A123","stock":50,"locations":["WH1","WH2"]}'?

## When to prefer this

Choose this endpoint when you need a quick structural summary of an inventory-specific JSON payload — its root type, top-level keys, and item count — without needing full schema validation or deep nested traversal. It is ideal for lightweight pre-processing steps in inventory automation pipelines where you need to understand JSON shape before routing or transforming data.

## Known failure modes

- Invalid or malformed JSON string returns a parse error
- Empty or missing 'json' field causes a bad request response
- Deeply nested JSON may only report top-level structure, not nested keys
- Very large JSON strings may time out or be truncated
- Non-inventory JSON is still processed but may yield less meaningful results in context

## How this service works

Inventory JSON structure inspector: Parse JSON and report its root type, keys, and item count. Tailored for inventory workflows.

## Output

Returns the root type of the JSON (object, array, string, etc.), a list of top-level keys (if the root is an object), and the count of items (array length or number of keys), structured as a summary for inventory workflow processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "default": "{\"name\":\"Ada\",\"active\":true,\"items\":[1,2]}"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inventory-json-structure-inspector-c37583c7/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)
