# Delx Commerce — Object Empty Check

> Delx Commerce — Object Empty Check 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 properties/keys) and returns its size and empty status

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/obj-empty?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-object-empty-check-01364b41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qwbzcc9yjjvwqI6jR77lh

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-object-empty-check-01364b41 -d '<json body>'
```

Example prompt: Can you check whether this object is empty for me: {}

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use, no-signup utility to programmatically verify whether a JSON object is empty as part of an agent workflow — especially when using the x402 micropayment protocol on Base or Solana and you want verifiable, trustless delivery of results.

## Known failure modes

- Non-object input types (arrays, strings, numbers) may not be handled as expected
- Missing or malformed 'object' field in request body may result in an error
- Network or payment-related failures if USDC payment via x402 is not properly configured

## 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 indicating whether the input object is empty (boolean true/false), its size (number of top-level keys), and a schema identifier string ('delx/util-obj-empty/v1').

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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