# Delx Commerce JSON Key Allowlist Validator

> Delx Commerce JSON Key Allowlist Validator 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).

Checks a JSON object against an allowlist of permitted keys, returning pass/fail and any unexpected keys found

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-key-allowlist?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-key-allowlist-validator-db7b91e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SWFcrkUKRL3lPQNL1cyxd

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-key-allowlist-validator-db7b91e0 -d '<json body>'
```

Example prompt: Check whether this JSON object — {"name": "Alice", "role": "admin", "secret": "xyz"} — only contains the allowed keys ["name", "role"] and tell me if there are any unexpected fields.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup JSON key validation with cryptographic evidence of processing (input SHA256, zero-retention proof). Prefer it over custom validation logic when you want verifiable, auditable results, especially in agent pipelines where tamper-evident proof of data handling matters. It is particularly well-suited for agent workflows on Base or Solana that already use x402 micropayments.

## Known failure modes

- Object exceeds 128 properties — request rejected
- Allowed list exceeds 256 items — request rejected
- Malformed JSON input — parsing error returned
- Payment not included or insufficient USDC — 402 response returned
- Network timeout before processing completes

## 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 indicating whether the input object passed the allowlist check (passed: true/false), a list of any unexpected keys found, the operation status, and an evidence block including the SHA256 hash of the input, confirmation that no data was retained, and the count of external calls made (always 0).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "passed": true,
   "unexpected_keys": []
  },
  "schema": "delx/util-json-key-allowlist/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "8db5924d2566b60a20ce9bbc77d50f76ea1135a98e526ba746e027da4b772dda",
   "external_calls": 0
  },
  "operation": "data_batch:json_key_allowlist"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-key-allowlist-validator-db7b91e0/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)
