# Delx Commerce — JSON Hash Fields Check

> Delx Commerce — JSON Hash Fields Check 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).

Validates that specified fields in a JSON object match expected hash values, returning a pass/fail result with verifiable evidence.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-hash-fields-check?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-hash-fields-check-adfee742
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6klE1Fch1YQrPQ_9eyHsm

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-hash-fields-check-adfee742 -d '<json body>'
```

Example prompt: Check whether the fields 'user_id' and 'signature' in this JSON object match valid hashes with a hex length of 64 — the object is {"user_id": "abc123", "signature": "deadbeef...", "amount": 500}.

## When to prefer this

Choose this endpoint when you need lightweight, in-memory, pay-per-use hash validation of specific JSON object fields without any data retention, and when you require a verifiable evidence receipt (SHA-256 input fingerprint, zero external calls) to prove the check was performed cleanly. Ideal for agent pipelines that need cryptographic integrity checks on JSON payloads before passing data downstream, especially when privacy matters and you don't want field data stored server-side.

## Known failure modes

- Fields array exceeds 256 items — request rejected
- Object exceeds 128 properties — request rejected
- Individual field string exceeds 8192 characters — rejected
- Malformed JSON body — 400 error
- Invalid hex_length value — validation error
- Payment not provided 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 with a 'passed' boolean, a list of any 'invalid_fields' that failed the hash check, a status string ('pass' or 'fail'), and an evidence block containing the SHA-256 fingerprint 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": {
  "fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Fields supplied to JSON Hash Fields Check; used only for this bounded calculation and processed in memory without retention."
  },
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Hash Fields Check; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "hex_length": {
   "type": "integer",
   "description": "Hex Length supplied to JSON Hash Fields Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "passed": true,
   "invalid_fields": []
  },
  "schema": "delx/util-json-hash-fields-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "b34b373467de4fd6c74125aa7caaaca2d8f0a53e73f08fb6d013e1409f387018",
   "external_calls": 0
  },
  "operation": "data_batch:json_hash_fields_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-hash-fields-check-adfee742/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)
