# Delx Commerce — Dictionary Key Extractor

> Delx Commerce — Dictionary Key Extractor 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).

Returns the list of keys from a JSON object, along with a count, via a pay-per-result API using x402 micropayments.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/dict-keys?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-dictionary-key-extractor-c3fa77cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kaQIhxeRrZueZ8Sl5PWgR

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-dictionary-key-extractor-c3fa77cd -d '<json body>'
```

Example prompt: What are all the keys in this JSON object? {"name": "Alice", "age": 30, "city": "Boston"} — just give me the list of property names and how many there are.

## When to prefer this

Use this endpoint when you need a fast, cheap, verifiable utility call to extract the top-level keys of a JSON object without setting up an account or managing credentials. Ideal for agent workflows that process arbitrary or unknown JSON payloads and need to inspect object structure programmatically. Best when micropayment via USDC on Base or Solana is already part of the agent's payment stack.

## Known failure modes

- Input is not a valid JSON object — may return an error or empty result
- Nested objects are not recursively traversed — only top-level keys are returned
- Payment failure via x402 will block the request from completing
- Null or empty object input returns zero keys and an empty array

## 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 key names extracted from the input object, a count of those keys, and a schema identifier string ('delx/util-dict-keys/v1') for result verification.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keys": [
   "b",
   "a"
  ],
  "count": 2,
  "schema": "delx/util-dict-keys/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-dictionary-key-extractor-c3fa77cd/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)
