# FiatDock Webhook/JSON Repair

> FiatDock Webhook/JSON Repair is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-19).

Repairs malformed or broken JSON payloads and webhook bodies, returning a corrected, valid JSON structure

## Facts

- Endpoint: POST https://fiatdock.com/s/svc_bbf495b4-47cd-4e54-9ad5-39fc01d1484c?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-webhook-json-repair-b0e83945
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qTDhUSVm8PnYPr6OQ1UQ0

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 fiatdock-webhook-json-repair-b0e83945 -d '<json body>'
```

Example prompt: This webhook response came back with broken JSON — can you repair it and give me a valid, parseable JSON object? Here's the raw body: {"name": "Alice", "age": 30, "city": "New York",,}

## When to prefer this

Choose this endpoint when you have a JSON string or webhook body that fails JSON.parse() due to syntax errors (trailing commas, unquoted keys, mismatched brackets, missing quotes) and you need a best-effort repair without writing custom parsing logic. Ideal for agentic pipelines that receive third-party or LLM-generated JSON that occasionally breaks schema compliance.

## Known failure modes

- Input is so corrupted that intent cannot be inferred — returns an argument error
- Input is not JSON-like at all (e.g. plain text or binary) — returns error
- Missing required 'input' body field — returns argument/validation error
- Ambiguous repair where multiple valid interpretations exist — may return best-guess result
- Network or upstream MCP server timeout

## How this service works

Pay-per-call: Webhook/JSON Repair

## Output

A corrected, syntactically valid JSON object reconstructed from the provided malformed input, suitable for immediate programmatic use.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "description": "e.g. tools/call"
  },
  "params": {
   "type": "object",
   "description": "the seller's own tool name + arguments. The example body above is EMPTY on purpose: this listing's required arguments are not published here, and a call missing one can come back as an argument error, which is settled as your call. Read the callable shape of every tool on this seller's server free at GET https://fiatdock.com/v1/marketplace/services/svc_bbf495b4-47cd-4e54-9ad5-39fc01d1484c?include=schemas"
  },
  "jsonrpc": {
   "type": "string",
   "description": "\"2.0\" — the body is forwarded VERBATIM to the seller's MCP endpoint, so send whatever that server expects"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-webhook-json-repair-b0e83945/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
