JSON Repair
Repair malformed JSON text into valid parsed JSON: markdown code fences, single quotes, smart quotes, unquoted keys, trailing commas, comments, Python literals (True/None), raw newlines in strings, and truncated output (auto-closes strings, arrays and objects). Returns the parsed value plus a log of every repair applied. Built for LLM output that almost parses. POST a JSON body like: {"text":"```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"}
Offering
- Provider
- keyronne.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Development
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://keyronne.com/api/json-repair- MIME type
- application/json
- First seen
- 2026-10-16T01:50:10.647Z
- Last seen
- Tags
- JSON, repair, llm-outputs, parsing, malformed
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4"
}
]Observed health
- Status
- Healthy
- Latest latency
- 161 ms
- Average latency
- 538 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST"
]
},
"bodyType": {
"type": "string",
"enum": [
"json"
]
},
"body": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "The malformed JSON text to repair."
}
}
}
}
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"text": {
"description": "The malformed JSON text to repair.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"type": "object"
},
"output": {
"properties": {
"repairs": {
"description": "Human-readable list of repairs applied (empty if input was valid).",
"items": {
"type": "string"
},
"type": "array"
},
"value": {
"description": "The repaired, parsed JSON value."
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}