# 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-10).

Merges a JSON payload object with a defaults object, returning non-null/undefined values from payload or falling back to defaults

## Facts

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

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-462228a4 -d '<json body>'
```

Example prompt: I have a config object where some fields are null and I want to fill them in from a defaults object — can you run a null coalesce merge on my payload and defaults so I get back a complete, filled-in JSON object?

## When to prefer this

Use this endpoint when you need a lightweight, stateless null-coalescing utility that merges two JSON objects — ideal for filling in missing or null fields in API responses, user configs, or partial data payloads before passing them downstream. Prefer this over writing custom merge logic when you need a simple hosted fallback-resolution step in an agentic pipeline.

## Known failure modes

- Missing or malformed payload/defaults — may return an error or unexpected output if neither field is provided
- Type mismatch between payload values and defaults (e.g. array vs object) may cause undefined behavior
- Empty body request with no payload or defaults may return a generic error
- Rate-limit or payment failure due to x402 micropayment not being processed correctly

## 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

Returns a JSON object with the result of coalescing the input payload with the defaults object — each field in the output will use the payload value if it is non-null/non-undefined, otherwise the corresponding value from the defaults object. The response includes a 'result' field with the merged 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-462228a4/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)
