# Delx Commerce JSON Type Inspector

> Delx Commerce JSON Type Inspector is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Inspects and analyzes serialized JSON text to determine its root type, size, and schema structure

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-type?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-type-inspector-cff1e760
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0wV73_3bALLBAEYJ9UqpH

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 delx-commerce-json-type-inspector-cff1e760 -d '<json body>'
```

Example prompt: Can you inspect this JSON string and tell me what type it is at the root level and how large it is: '{"name":"Alice","age":30}'?

## When to prefer this

Use this endpoint when you need a quick, cheap, pay-per-call inspection of a JSON string to determine its root type and structure without setting up an account or subscription. Ideal for AI agents that occasionally need to classify JSON blobs as part of a larger pipeline, especially when no local JSON parsing is available or desired.

## Known failure modes

- Invalid or malformed JSON text returns an error or unexpected result
- Empty string input may result in a parsing error
- Very large JSON payloads may be truncated or rejected
- Payment failure via x402 protocol prevents request from being processed

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the size (number of top-level keys or items), the schema identifier (e.g. 'delx/json-type/v1'), and the root type of the parsed JSON (e.g. 'dict', 'list', 'string', 'number').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json_text": {
   "type": "string",
   "description": "Serialized JSON text to inspect or reformat."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "size": 2,
  "schema": "delx/json-type/v1",
  "root_type": "dict"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-type-inspector-cff1e760/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
