# Delx Commerce — JSON-LD Key List

> Delx Commerce — JSON-LD Key List 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).

Extracts and lists all top-level keys from a JSON-LD object or array of objects, returning key names, count, and detected shape.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/jsonld-key-list?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-ld-key-list-3bf28eff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chMAKc9YHYV6kzmc_hDej

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-ld-key-list-3bf28eff -d '<json body>'
```

Example prompt: Can you list all the top-level keys in this JSON-LD object: {"@type": "Person", "name": "Alice", "email": "alice@example.com"}?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.003 USDC) programmatic way to enumerate top-level keys from a JSON-LD or generic JSON object without setting up an account or managing API keys. Ideal for agent workflows that need to dynamically inspect linked data structures before further processing, schema validation, or routing logic.

## Known failure modes

- Invalid or malformed JSON input returns an error
- Empty object returns an empty keys array with key_count of 0
- Payment failure via x402 results in 402 response before processing
- Non-object input types (e.g. plain string) may return unexpected results

## 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 an array of top-level key names found in the input, the total count of those keys, the detected shape (e.g. 'object'), and a schema identifier string ('delx/util-jsonld-key-list/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "JSON object or array of objects whose keys will be listed."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keys": [
   "@type",
   "name"
  ],
  "shape": "object",
  "schema": "delx/util-jsonld-key-list/v1",
  "key_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-ld-key-list-3bf28eff/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)
