# Delx JSON Shape Profile

> Delx JSON Shape Profile is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Profiles the top-level shape, fields, size, and cardinality of a JSON value for preflight analysis before downstream decisions

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-shape-profile
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-json-shape-profile-89897502
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7JJUYSFUuS_i0g5otEd3X

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-json-shape-profile-89897502 -d '<json body>'
```

Example prompt: Profile the shape of this JSON for me — I need to know its top-level fields, their types, and cardinality before I decide whether to route it further: {"userId":"abc123","score":42,"tags":["a","b"],"meta":{"created":"2024-01-01"}}.

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, stateless structural summary of a JSON value before making downstream data, policy, integration, or security decisions. It is ideal for preflight analysis steps in agent workflows where you need to understand the shape and cardinality of an unknown or variable payload without executing expensive logic. Prefer it over manual inspection or schema validators when you need a machine-readable summary at low cost and high speed.

## Known failure modes

- Input 'data' field is missing or not a JSON object — returns validation error
- Malformed JSON body causes a parse error response
- Oversized payload may exceed processing limits and return an error
- x402 payment not completed — returns 402 Payment Required before processing begins

## How this service works

Profile the top-level shape, fields, size, and cardinality of a JSON value. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorizatio…

## Output

A deterministic, machine-readable JSON object describing the top-level shape of the input, including field names, inferred types, size metrics, and cardinality of any array or object fields. Results are advisory and stateless — no input data is retained after the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Input field: data."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "shape": "object",
  "fields": [
   "id",
   "status"
  ],
  "schema": "delx/util-json-shape-profile/v1",
  "item_count": 2,
  "canonical_bytes": 25
 }
}
```

## More

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