# Survey JSON Structure Inspector

> Survey 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 returns its root type, top-level keys, and item count, optimized for survey workflow data inspection.

## Facts

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

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

Example prompt: Can you inspect this JSON string for me and tell me its root type, what keys it has at the top level, and how many items it contains? Here it is: {"survey_id":123,"responses":["yes","no","maybe"],"completed":true}

## When to prefer this

Choose this endpoint when you need a quick structural summary of a JSON payload in a survey workflow context — specifically when you need to know root type, keys, and item count without writing custom parsing logic. Prefer it over generic JSON tools when your pipeline is survey-oriented and you want a lightweight, paid-per-call micro-service rather than a self-hosted solution.

## Known failure modes

- Invalid or malformed JSON string causes a parse error response
- Empty or null input may return an error or empty structure report
- Deeply nested JSON is only inspected at the root level, not recursively
- Very large JSON strings may time out or be truncated

## How this service works

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

## Output

Returns the root type of the JSON (e.g. object, array), the list of top-level keys (if it's an object), and the count of items or properties — giving a structural summary of the submitted JSON payload.

## 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/survey-json-structure-inspector-c1e908ee/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)
