# Delx Commerce — JSON Array Filter Keys

> Delx Commerce — JSON Array Filter Keys 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).

Filters an array of JSON objects to only include specified keys, returning the trimmed objects and a match count, paid per-call via USDC microtransaction.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-array-filter-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-json-array-filter-keys-4731a8cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_93t1eqYaZjMKF3DY7c6GV

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-array-filter-keys-4731a8cd -d '<json body>'
```

Example prompt: Take this list of user objects and filter each one so only the 'id' and 'status' fields are kept — there are 50 records total.

## When to prefer this

Choose this endpoint when you need a verifiable, no-signup, pay-per-call JSON key projection operation with cryptographic evidence of non-retention. Ideal for agents that process sensitive data and need proof the service did not store inputs, or for pipelines that want deterministic microtransaction-priced utilities without API key management. Prefer over self-hosted solutions when auditability and zero-retention evidence are required.

## Known failure modes

- items array exceeds 256 item limit — request rejected
- individual object exceeds 128 property limit — processing error
- allowed list exceeds 256 entries — request rejected
- key string exceeds 8192 character limit — validation failure
- malformed JSON body — 400 error
- payment not included or insufficient USDC — 402 Payment Required

## 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 a filtered 'items' array where each object retains only the keys listed in 'allowed', a 'matched_count' of how many items were processed, an operation identifier, a status field ('pass'), and an evidence block with the input SHA-256 hash, a 'retained: false' flag confirming no data was stored, and a count of zero external calls made.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "items": [
    {
     "id": 1,
     "status": "ok"
    }
   ],
   "matched_count": 1
  },
  "schema": "delx/util-json-array-filter-keys/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "c1b64d403dd4df4223045c843cca745575ec8fc78aca3b171b5d12f60601eb75",
   "external_calls": 0
  },
  "operation": "data_batch:json_array_filter_keys"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-array-filter-keys-4731a8cd/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)
