{"staticExample":true,"notice":"Demonstration data only; purchase the endpoint for fresh analysis.","requestExample":{"content":"```json\n{\n  // generated result\n  status: 'ok',\n  rows: [1, 2, 3,],\n  active: True,\n}\n```","repairs":["markdown_fence","comments","single_quoted_strings","unquoted_keys","python_literals","trailing_commas"]},"purchase":{"endpoint":"https://apiacre.com/v1/data/json-repair","method":"POST","protocol":"x402","network":"eip155:8453","asset":"USDC","exactAmount":"0.005","authorizationRequired":true,"browserCheckoutUrl":"https://apiacre.com/try/data.json-repair","documentationUrl":"https://apiacre.com/services/data.json-repair","sampleUrl":"https://apiacre.com/samples/data.json-repair","buyerGuideUrl":"https://apiacre.com/buyers","coinbaseAgenticWallet":{"client":"official-coinbase","payCommand":"npx --yes awal@latest x402 pay https://apiacre.com/v1/data/json-repair \\\n  -X POST \\\n  -d '{\"content\":\"```json\\n{\\n  // generated result\\n  status: '\"'\"'ok'\"'\"',\\n  rows: [1, 2, 3,],\\n  active: True,\\n}\\n```\",\"repairs\":[\"markdown_fence\",\"comments\",\"single_quoted_strings\",\"unquoted_keys\",\"python_literals\",\"trailing_commas\"]}' \\\n  --max-amount 5000 \\\n  --json","documentationUrl":"https://docs.cdp.coinbase.com/agentic-wallet/cli/skills/pay-for-service","maximumUsdc":"0.005","maximumAtomicUsdc":"5000","authenticationRequired":true,"copyingCommandPays":false,"runningCommandMayPay":true},"agentcash":{"client":"third-party","checkCommand":"npx --yes agentcash@latest check https://apiacre.com/v1/data/json-repair","fetchCommand":"npx --yes agentcash@latest fetch https://apiacre.com/v1/data/json-repair \\\n  --method POST \\\n  --header 'content-type: application/json' \\\n  --body '{\"content\":\"```json\\n{\\n  // generated result\\n  status: '\"'\"'ok'\"'\"',\\n  rows: [1, 2, 3,],\\n  active: True,\\n}\\n```\",\"repairs\":[\"markdown_fence\",\"comments\",\"single_quoted_strings\",\"unquoted_keys\",\"python_literals\",\"trailing_commas\"]}' \\\n  --payment-protocol x402 \\\n  --payment-network base \\\n  --max-amount 0.005","maximumUsdc":"0.005","copyingCommandPays":false,"fetchMayAutomaticallyPay":true},"priceUsdc":"0.005","path":"/v1/data/json-repair","url":"https://apiacre.com/v1/data/json-repair","checkoutUrl":"https://apiacre.com/try/data.json-repair","freshResultRequiresPayment":true},"result":{"request_id":"018f1f54-7f38-7ba2-8dc3-5f90272d9f1a","service":"data.json-repair","version":"1","data":{"valid":true,"validInput":false,"repaired":true,"content":"{\n  \"active\": true,\n  \"rows\": [\n    1,\n    2,\n    3\n  ],\n  \"status\": \"ok\"\n}","inputSha256":"9dd0095fe6576143aa8e835ced506030e8065e2589c4478a4be1342dc1aaa2ed","attemptSha256":"4db25e6c34e4f507a7b3addba28d9c40bda76572ef52c9a7b49facdea7f19440","outputSha256":"b1b2333ad8949036facfd8ce006b4da0e612468a0e8a9b016514208af13321d5","appliedRepairs":[{"strategy":"markdown_fence","occurrences":1,"beforeSha256":"9dd0095fe6576143aa8e835ced506030e8065e2589c4478a4be1342dc1aaa2ed","afterSha256":"e47f9ab1e0ee78db083237290fcdd35f83668f2b939c92e434b2103af7856f4f"},{"strategy":"comments","occurrences":1,"beforeSha256":"e47f9ab1e0ee78db083237290fcdd35f83668f2b939c92e434b2103af7856f4f","afterSha256":"32c07c381a864b84081a14113c51362f1bd433d11508384527398201c6297f13"},{"strategy":"single_quoted_strings","occurrences":1,"beforeSha256":"32c07c381a864b84081a14113c51362f1bd433d11508384527398201c6297f13","afterSha256":"342754701e195410b00be4982ce0f253988027a4d8aaeefcc6919f0322e75d0c"},{"strategy":"unquoted_keys","occurrences":3,"beforeSha256":"342754701e195410b00be4982ce0f253988027a4d8aaeefcc6919f0322e75d0c","afterSha256":"59847350008ddd4fc3961827f32dff57a40e71cd232b55e1791d75fa3f677256"},{"strategy":"python_literals","occurrences":1,"beforeSha256":"59847350008ddd4fc3961827f32dff57a40e71cd232b55e1791d75fa3f677256","afterSha256":"01ee6bffd9608824b7e78f21446bf858c5b64bfcd60ad539b1dd5879af7f3121"},{"strategy":"trailing_commas","occurrences":2,"beforeSha256":"01ee6bffd9608824b7e78f21446bf858c5b64bfcd60ad539b1dd5879af7f3121","afterSha256":"4db25e6c34e4f507a7b3addba28d9c40bda76572ef52c9a7b49facdea7f19440"}],"error":null,"repair":{"version":"apiacre-json-repair/1","permitted":["markdown_fence","comments","single_quoted_strings","unquoted_keys","python_literals","trailing_commas"],"executionOrder":["markdown_fence","comments","single_quoted_strings","unquoted_keys","python_literals","trailing_commas"],"appliedStrategyCount":6,"outputCanonicalization":"json-sort-keys-indent-2-utf8","duplicateKeysAllowed":false,"nonFiniteNumbersAllowed":false,"deterministic":true,"networkRequestsMade":0},"warnings":[]},"meta":{"duration_ms":42,"cached":false,"sources":[],"warnings":[],"next_actions":[{"service":"data.schema","title":"Schema inference","reason":"Infer a reusable Draft 2020-12 contract from the successfully repaired JSON.","method":"POST","path":"/v1/data/schema","price":"$0.025","input_template":{"content":"$result.data.content","format":"json","root_mode":"preserve"},"use_output":"Continue only when result.data.valid is true; persist the schema together with the repair input and output hashes.","authorization_required":true}]}}}