# Delx Commerce JSON Shape Profile

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

Analyzes a JSON object and returns a structural profile describing its shape, field names, schema type, and canonical byte size

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-shape-profile?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-shape-profile-20fe4e85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZG8BYfn3tmlupua8N5s6e

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

Example prompt: Can you profile the structure of this JSON object for me — tell me what shape it is, what fields it has, and how many items it contains?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use structural fingerprint of a JSON object without running a full schema validation or transformation — especially useful in agent pipelines where you need to quickly understand an unknown payload's layout before deciding how to route or process it.

## Known failure modes

- Missing or null 'data' field returns an error
- Non-object input may produce unexpected shape results
- Deeply nested structures may only profile the top level
- Payment failure via x402 results in 402 response before processing

## 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 detected shape (e.g. 'object'), a list of top-level field names, a schema label (e.g. 'delx/util-json-shape-profile/v1'), the item count, and the canonical byte size of the input.

## 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-commerce-json-shape-profile-20fe4e85/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)
