# JSON Cross Field Equal

> JSON Cross Field Equal is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Checks two named top-level fields in a JSON object for exact equality and returns a versioned validation result with counts and normalized values.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-cross-field-equal
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-cross-field-equal-6940bd8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wA2hYRdQGMSoym3E_ua5R

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 json-cross-field-equal-6940bd8b -d '<json body>'
```

Example prompt: Check if the 'price' and 'confirmed_price' fields in this order object are exactly equal: {"price": 49.99, "confirmed_price": 49.99, "item": "widget"}.

## When to prefer this

Use this endpoint when an agent needs to programmatically verify that two named fields within a single JSON object are exactly equal before passing structured data to a downstream tool or API with a strict contract. It is ideal for pre-flight validation steps in agent pipelines, confirmation field matching (e.g. password/confirm_password, price/confirmed_price), or cross-field consistency checks without needing to spin up custom code execution. Prefer it over generic code execution or LLM-based checks when you need deterministic, versioned, auditable equality validation at low cost ($0.001 USDC).

## Known failure modes

- Field name not found in object — one or both specified field names do not exist as top-level keys
- Object exceeds maxProperties limit of 128 — request rejected
- Field name string exceeds 8192 character limit — request rejected
- Type mismatch causing unexpected equality result — deep JSON equality is used so differing types (e.g. string '1' vs integer 1) will not match
- Malformed JSON object in request body — parse error returned

## How this service works

JSON Cross Field Equal: JSON Cross Field Equal checks two top-level fields for exact JSON equality from bounded caller-supplied values without an external provider. Call JSON Cross Field Equal before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Cross Field Equal as versioned deterministic JSON. Price: $0.001 USDC via x…

## Output

Returns a versioned deterministic JSON result indicating whether the two specified top-level fields are exactly equal, along with normalized values of both fields, counts, and a versioned result contract envelope.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "object": {
   "type": "object",
   "description": "Object supplied to JSON Cross Field Equal; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "left_field": {
   "type": "string",
   "maxLength": 8192,
   "description": "Left Field supplied to JSON Cross Field Equal; used only for this bounded calculation and processed in memory without retention."
  },
  "right_field": {
   "type": "string",
   "maxLength": 8192,
   "description": "Right Field supplied to JSON Cross Field Equal; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "left": 10,
   "right": 10,
   "matched": true
  },
  "schema": "delx/util-json-cross-field-equal/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "ca96ab3c4e08fd0bc3ad129dc6be30b34456bf51239c8408dacaa3ac35bb03fe",
   "external_calls": 0
  },
  "operation": "data_batch:json_cross_field_equal"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-cross-field-equal-6940bd8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
