# Delx Commerce — JSON Type Name Utility

> Delx Commerce — JSON Type Name Utility 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).

Returns the JSON type name (e.g. 'array', 'object', 'string', 'null') for a given JSON value via a pay-per-result API

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-type-name?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-name-utility-571ea44d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0rnFB25N5nSgxyX7A2F38

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-name-utility-571ea44d -d '<json body>'
```

Example prompt: What is the JSON type name of this value: [1, 2, 3]? I need to know whether it's classified as an array, object, or something else.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call utility to programmatically determine the JSON type name of an arbitrary value without setting up an account or subscription. Ideal for agent pipelines that need dynamic type inspection at low cost ($0.001 USDC per call) with verifiable delivery.

## Known failure modes

- Missing or malformed 'value' field in request body returns an error
- Payment not completed via x402 (USDC on Base or Solana) results in 402 Payment Required
- Invalid JSON submitted as input may cause parsing failure
- Network timeout or service unavailability returns a 5xx error

## 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 type name of the input value according to JSON type conventions (e.g. 'array', 'object', 'string', 'number', 'boolean', 'null'), conforming to the delx/util-json-type-name/v1 schema.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "array",
  "schema": "delx/util-json-type-name/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-type-name-utility-571ea44d/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)
