Api Endpoint

AveDaris Agent Utilities

Fix broken JSON from an LLM or scraper: send the malformed text (single quotes, trailing commas, unquoted keys, code fences) and get back parsed, valid JSON plus a repaired flag. Use it before JSON.parse fails in an agent pipeline. $0.005 USDC per call on Base.

Open interactive test console

Offering

Provider
api.avedaris.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.avedaris.com/v1/paid/json-repair
MIME type
application/json
First seen
2026-10-16T03:04:46.000Z
Last seen
Tags
JSON, json-repair, llm-output, data-cleaning, parse

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x6c10344d3f96511438458e07a6f2be568a76dfff"
  }
]

Observed health

Status
Healthy
Latest latency
37 ms
Average latency
796 ms
HTTP status
204
Last checked
Reachability
100% over 13 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",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "input": {
          "type": "string",
          "minLength": 1,
          "description": "Malformed JSON text to repair, sent as a string, e.g. {'hello':'world',}. Handles single quotes, trailing commas and similar common breakage."
        }
      },
      "required": [
        "input"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "input": {
              "description": "Malformed JSON text to repair, sent as a string, e.g. {'hello':'world',}. Handles single quotes, trailing commas and similar common breakage.",
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "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": {
            "result": {
              "description": "Output of json.repair. The fields below are the documented core; some responses add further detail fields.",
              "properties": {
                "repaired": {
                  "description": "The repaired value as parsed JSON (object, array or scalar), ready to use without another parse."
                }
              },
              "required": [
                "repaired"
              ],
              "type": "object"
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}