# Delx Commerce — Is Empty Object Utility

> Delx Commerce — Is Empty Object 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-01).

Checks whether a given JSON object is empty (has no keys) and returns a boolean result.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/is-empty-obj?utm_source=zero.xyz
- Price: $0.001/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-is-empty-object-utility-d1c4504a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7VYW3Lr83UpUslm7Ifqgk

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-is-empty-object-utility-d1c4504a -d '<json body>'
```

Example prompt: Can you check if this object is empty: {} — I need to know if it has any keys before deciding whether to continue processing it.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call, no-signup utility to programmatically check object emptiness inside an agent workflow — especially useful when you want verifiable, on-chain USDC micropayment for every call and don't want to spin up your own validation logic.

## Known failure modes

- Non-object value passed as 'value' field may cause unexpected results or errors
- Missing 'value' field in request body may return an error or treat input as empty
- Network or payment failure via x402 protocol may prevent call completion

## 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 with a boolean 'empty' field (true if the input object has no keys, false otherwise) and a schema identifier string 'delx/util-is-empty-obj/v1'.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "empty": true,
  "schema": "delx/util-is-empty-obj/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-is-empty-object-utility-d1c4504a/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)
