# JSON Object Deep Merge

> JSON Object Deep Merge 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).

Deep-merges two JSON objects with right-side precedence, returning a merged result with counts and normalized values as deterministic versioned JSON.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/json-object-deep-merge
- 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-object-deep-merge-ccbf6220
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__CbeXnMzCMzRhrMv2wV1t

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-object-deep-merge-ccbf6220 -d '<json body>'
```

Example prompt: Deep-merge these two JSON objects — use the right object's values wherever both share a key, and give me back the merged result: left is {"theme":"dark","fontSize":14,"notifications":{"email":true}} and right is {"fontSize":16,"notifications":{"sms":true}}.

## When to prefer this

Use this endpoint when you need a reliable, deterministic, stateless deep merge of two JSON objects with explicit right-side precedence — particularly before handing structured configuration or plan data to a downstream tool with a strict schema contract. Prefer this over shallow Object.assign-style merges when nested keys must be recursively merged rather than overwritten at the top level.

## Known failure modes

- Either 'left' or 'right' input exceeds 128 properties limit — returns validation error
- Input is not a valid JSON object (e.g. array or primitive) — returns schema error
- Payment not included or insufficient — returns 402 Payment Required
- Network timeout or service unavailability — returns 5xx error

## How this service works

JSON Object Deep Merge: JSON Object Deep Merge deep-merges two bounded JSON objects with right-side precedence from bounded caller-supplied values without an external provider. Call JSON Object Deep Merge 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 Object Deep Merge as versioned deterministic JSON. Price: $0.00…

## Output

A versioned deterministic JSON object containing the deeply merged result of the two input objects (right-side values take precedence on conflicts), along with field counts, normalized values, and a versioned result contract.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "left": {
   "type": "object",
   "description": "Left supplied to JSON Object Deep Merge; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "right": {
   "type": "object",
   "description": "Right supplied to JSON Object Deep Merge; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "object": {
    "a": {
     "x": 1,
     "y": 3
    },
    "b": 2
   }
  },
  "schema": "delx/util-json-object-deep-merge/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "d864e9714cc079b4beb8920c5ee998ff5bd3d74cbdab3c5b279ff0a96a4f02fe",
   "external_calls": 0
  },
  "operation": "data_batch:json_object_deep_merge"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-object-deep-merge-ccbf6220/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)
