# Delx Dict Keys

> Delx Dict Keys is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the list of keys and their count from a JSON object passed in the request body

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dict-keys
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-dict-keys-96e54503
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_viB1IXYfuEG91Ker3c3aI

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-dict-keys-96e54503 -d '<json body>'
```

Example prompt: What are all the keys in this JSON object — {"name": "Alice", "age": 30, "role": "admin"} — and how many are there?

## When to prefer this

Use this endpoint when an AI agent needs to quickly introspect the structure of a JSON object it already holds in memory — particularly when the object's schema is unknown or dynamic. It is ideal for lightweight, stateless key enumeration without shipping a code execution environment. Prefer this over writing custom code when operating in a no-code pipeline or when you want a reproducible, paid-per-call audit trail for introspection steps.

## Known failure modes

- Missing or non-object input — returns error if 'object' field is absent or not a JSON object
- Empty object — returns keys array as empty with count 0
- Deeply nested objects — only top-level keys are returned, not recursive keys
- Malformed JSON in request body — returns parse error

## How this service works

List object keys. Call when you introspect agent-held JSON objects. Returns keys and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

## Output

Returns the list of top-level key names found in the submitted JSON object, along with a count of how many keys were found. No data is retained server-side; results are purely derived from the submitted object.

## 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-dict-keys-96e54503/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
