{
  "x402Version": 2,
  "id": 13167,
  "slug": "13167",
  "resource": "https://genesis.palsus2023.workers.dev/v1/repair_json",
  "description": "Repair malformed, invalid, or broken JSON-like text and return valid parseable JSON when recoverable. Useful for fixing machine-generated JSON, API responses, missing quotes, formatting errors, trailing commas, and structured-data ingestion pipelines. Price: $0.003 USDC via x402 on Base.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x899Be41C39d88c97c264F91A95784707341047eC",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "{\"name\":\"Ada\",\"active\":true,}"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "changed": true,
            "repaired": {
              "active": true,
              "name": "Ada"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "additionalProperties": true,
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "input": {
                    "description": "Malformed or broken JSON-like text to repair into valid parseable JSON when recoverable.",
                    "type": "string"
                  }
                },
                "required": [
                  "input"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "genesis.palsus2023.workers.dev",
  "lastUpdated": "2026-09-07T13:54:36.89Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-07T13:54:36.069Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "genesis.palsus2023.workers.dev",
    "manifest_name": "genesis.palsus2023.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}