# Delx Commerce JSON Object Pick

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

Extracts a subset of keys from a JSON object, returning only the specified fields and a key count.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-object-pick?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-json-object-pick-e36a8510
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jzoH7fso36wBVqXkCYOMa

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

Example prompt: From this JSON object {"id":1,"name":"Alice","email":"alice@example.com","age":30,"role":"admin"}, pick only the keys 'id' and 'name' and give me back just those fields.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup utility to deterministically pick specific keys from a JSON object, especially in agent pipelines where verifiable, tamper-evident processing (SHA-256 evidence hash, no data retention) is required. Ideal for agents that need to filter API responses, reduce payload size before storage, or redact fields before forwarding data to downstream systems.

## Known failure modes

- Requested keys not present in the object — result object will be empty or partial with key_count of 0
- Object exceeds 128 properties limit — request rejected
- Keys array exceeds 256 items — request rejected
- Malformed or non-object input — validation error returned
- Payment failure via x402 — 402 response before processing begins

## 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 the filtered 'object' with only the requested keys, the number of keys matched ('key_count'), a schema identifier, a pass/fail status, and evidence metadata including whether data was retained (always false), an SHA-256 hash of the input, and the number of external calls made (always 0).

## 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/delx-commerce-json-object-pick-e36a8510/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)
