# JSON Object Pick

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

Filters a JSON object to retain only the specified top-level keys, returning a clean subset of the original object

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-object-pick
- 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/json-object-pick-045692b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tC8d6ejU011U8RiW0D-oA

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 json-object-pick-045692b9 -d '<json body>'
```

Example prompt: From this JSON object {"name":"Alice","age":30,"email":"alice@example.com","role":"admin","createdAt":"2024-01-01"}, pick only the keys 'name' and 'email' and give me back the trimmed object.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, stateless filter of top-level keys from a JSON object before handing data to a downstream tool with a strict schema contract. It is ideal when you want an auditable, versioned record of the transformation (not just an in-memory slice) and when you are already operating in an x402/Base payment context. Prefer it over ad-hoc in-agent object filtering when you need guaranteed bounded execution, count metadata, and a versioned result for compliance or debugging purposes.

## Known failure modes

- Keys array exceeds 256 items — request rejected
- Source object exceeds 128 top-level properties — request rejected
- Key name string exceeds 8192 characters — request rejected
- Payment of $0.001 USDC via x402 on Base fails or is not included — 402 response
- Malformed JSON body — 400 bad request
- None of the requested keys exist in the object — empty filtered object returned

## How this service works

JSON Object Pick: JSON Object Pick keeps selected top-level keys from one JSON object from bounded caller-supplied values without an external provider. Call JSON Object Pick before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Object Pick as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party,…

## Output

A versioned deterministic JSON result containing the filtered object with only the requested top-level keys present, along with metadata such as key counts, normalized values, and a versioned result contract identifier. Keys not found in the source object are omitted gracefully.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keys": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Keys supplied to JSON Object Pick; used only for this bounded calculation and processed in memory without retention."
  },
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Object Pick; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "object": {
    "id": 1,
    "name": "A"
   },
   "key_count": 2
  },
  "schema": "delx/util-json-object-pick/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "1a7f9253ab434afa84b8a0eabd2599e98f2f96ace45abb5e67ffeac9897a7d88",
   "external_calls": 0
  },
  "operation": "data_batch:json_object_pick"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-object-pick-045692b9/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)
