# Delx JSON Object Keys

> Delx JSON Object 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-13).

Returns the top-level keys of a JSON object, enabling agents to discover object shape without full schema inference.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-keys
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-json-object-keys-16de4907
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SP4qj702Gvh7Ddvc0TFE5

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-json-object-keys-16de4907 -d '<json body>'
```

Example prompt: What are the top-level keys in this JSON? {"name":"Alice","age":30,"address":{"city":"NYC"}} — just give me the list of field names.

## When to prefer this

Choose this endpoint when an agent needs to quickly enumerate the fields of an unknown or dynamic JSON object without performing full schema inference or parsing. It is ideal for preflight checks before data processing, validating expected fields, or summarizing object shape to a user. At $0.001 USDC with no API key required, it is lightweight and cost-effective for high-frequency structural inspection tasks within agentic pipelines.

## Known failure modes

- Input is not valid JSON — endpoint returns a structured validation error and no charge is applied
- Input is a JSON array or primitive rather than an object — may return an empty list or error
- Empty JSON object input returns an empty key list
- Malformed or truncated JSON string causes a parse error

## How this service works

List top-level JSON keys. Call when agents must discover object shape without full schema inference. Returns top-level keys of a JSON object. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

A list of top-level key names found in the provided JSON object, allowing the agent to understand the object's shape without performing full schema inference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json_text": {
   "type": "string",
   "description": "Serialized JSON text to inspect or reformat."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keys": [
   "agent",
   "ready"
  ],
  "count": 2,
  "schema": "delx/json-keys/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-json-object-keys-16de4907/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)
