JSON repair for AI agents - fix malformed JSON and return structured output
JSON repair for AI agents - fix malformed JSON and return structured output.
1000 (raw units)
price
16
calls / 30d
9
unique payers
2026-09-17
updated
Provider
agentproof-murex.vercel.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9299ea851Fcf213071a6dD94ffCd026834D61023",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"input": "{\"user_id\": 123, \"email\": \"[email protected]\","
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"changed": true,
"endpoint": "json.repair",
"parsed": {
"email": "[email protected]",
"user_id": 123
},
"repairedText": "{\n \"user_id\": 123,\n \"email\": \"[email protected]\"\n}",
"service": "AgentProof",
"valid": true,
"warnings": []
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"oneOf": [
{
"additionalProperties": true,
"properties": {
"input": {
"description": "Malformed JSON string or JSON-compatible value to repair."
}
},
"required": [
"input"
],
"type": "object"
},
{
"description": "Malformed JSON string to repair.",
"type": "string"
}
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"changed": {
"type": "boolean"
},
"endpoint": {
"const": "json.repair",
"type": "string"
},
"parsed": {
"description": "Any JSON value."
},
"repairedText": {
"type": "string"
},
"service": {
"const": "AgentProof",
"type": "string"
},
"valid": {
"type": "boolean"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"service",
"endpoint",
"valid",
"changed",
"repairedText",
"parsed",
"warnings"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agentproof-murex.vercel.app/json/repair" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agentproof-murex.vercel.app/json/repair");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agentproof-murex.vercel.app/json/repair")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/8508.json, and this resource appears in /discovery/resources and /discovery/search.