# Inventory JSON Flattener

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

Flattens nested JSON objects into dot-separated key paths, optimized for inventory data workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/json-flatten-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-flattener-9eb8243e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wJgzpEtMD0IC9VxE9Nfof

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-flattener-9eb8243e -d '<json body>'
```

Example prompt: Can you flatten this nested inventory JSON into dot-separated keys: {"product":{"sku":"ABC123","warehouse":{"location":"A4","stock":50}}}?

## When to prefer this

Use this endpoint when you need to flatten nested JSON structures specifically within inventory or supply chain workflows and want a simple, pay-per-call approach without managing your own transformation logic. It is ideal for preprocessing structured inventory data before loading into flat databases, spreadsheets, or CSV exports.

## Known failure modes

- Invalid or malformed JSON string input returns an error
- Empty JSON input may return an empty object
- Extremely large or deeply recursive JSON may cause timeout or truncation
- Non-string input for the json field may be rejected

## How this service works

Inventory JSON flattener: Flatten nested JSON objects into dot-separated key paths. Tailored for inventory workflows.

## Output

Returns a flattened JSON object where all nested keys are collapsed into dot-separated path strings (e.g. 'user.name', 'user.team'), with leaf values preserved at each flattened key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "default": "{\"user\":{\"name\":\"Ada\",\"team\":\"research\"}}"
  }
 }
}
```

## More

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