# JSON Null Coalescer

> JSON Null Coalescer is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Merges a JSON payload object with a defaults object, replacing null or missing values in the payload with corresponding values from defaults

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/json-null-coalescer?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-null-coalescer-fbd0c069
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__FNEnqysuNBe15rVtAKT6

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-null-coalescer-fbd0c069 -d '<json body>'
```

Example prompt: Take this user profile object — where some fields are null or missing — and fill in those gaps using these default values: {name: 'Anonymous', role: 'viewer', active: true}.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call utility to coalesce null or missing fields in a JSON object with a set of defaults, without spinning up custom server-side logic. Prefer it over writing inline null-check code when operating inside an agent pipeline that already uses x402 micropayment infrastructure.

## Known failure modes

- Malformed payload or defaults (not valid JSON objects) may cause a 400-level error
- If both payload and defaults are empty objects, result will be an empty object
- Deeply nested nulls may not be coalesced if only shallow merging is performed
- Network timeouts on slow connections

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

A JSON object containing the merged result where every null or absent field from the input payload has been replaced with the corresponding value from the defaults object. The response includes a 'result' field with the coalesced object and a 'status' field indicating success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "payload": {
   "type": "object"
  },
  "defaults": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-null-coalescer-fbd0c069/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
