# Delx Commerce — JSON Array Project Keys

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

Projects (selects/filters) a specified set of keys from each object in a JSON array, returning only those key-value pairs.

## Facts

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

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-project-keys-7ee4ae0f -d '<json body>'
```

Example prompt: From this array of user records, keep only the 'id', 'name', and 'email' fields and drop everything else — the array has up to 100 objects.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup utility to project specific keys from a JSON array in-memory with cryptographic delivery proof (SHA-256 evidence). Ideal for agents that need deterministic field selection without spinning up custom ETL infrastructure, especially when operating in USDC/x402 payment environments on Base or Solana.

## Known failure modes

- Exceeding 256 items in the input array returns a validation error
- Key strings longer than 8192 characters are rejected
- More than 128 properties per object may be truncated or rejected
- Malformed JSON input causes a 400-level error
- Payment failure via x402 protocol prevents the call from executing

## 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 with: a 'result' containing the projected array (only the specified keys per object) and the list of keys used; a 'status' of 'pass'; an 'evidence' block with retained=false, the SHA-256 of the input for verifiability, and external_calls=0; and an 'operation' identifier 'data_batch:json_array_project_keys'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keys": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Keys supplied to JSON Array Project 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 Project Keys; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "keys": [
    "id",
    "name"
   ],
   "items": [
    {
     "id": 1,
     "name": "A"
    }
   ]
  },
  "schema": "delx/util-json-array-project-keys/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "cf97ec299457d0d7e866c72dd379cccee1d633725ce65b3c091d637611c798a6",
   "external_calls": 0
  },
  "operation": "data_batch:json_array_project_keys"
 }
}
```

## More

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