# 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-09-14).

Replaces null or missing values in a JSON payload object with corresponding defaults from a provided defaults object

## Facts

- Endpoint: POST https://kihustle.tech/agents/api/v1/json-null-coalescer
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-null-coalescer-6865e11b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nmx8WrsRc4K_TKzCnfBVy

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-6865e11b -d '<json body>'
```

Example prompt: I have a JSON payload where some fields are null — can you fill in those nulls using my defaults object so I get back a clean, fully-populated object?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call utility to perform null coalescing on a JSON object without setting up local transformation logic. Particularly useful in agent pipelines where API responses contain sporadic nulls and you need a clean, default-filled object before passing data to the next step.

## Known failure modes

- Malformed payload or defaults objects may cause a 400 error
- If neither payload nor defaults is provided the endpoint may return an empty or error result
- Deeply nested null values may not be coalesced if the implementation is shallow-only
- Non-object input types may be rejected

## 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 processed JSON object where any null or missing fields in the input payload have been replaced with the corresponding values from the defaults object. Returns {result: 'processed', status: 'success'} along with the coalesced output object.

## 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-6865e11b/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)
