{"api":"v1","generated_at":"2026-09-15T22:53:17.737Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/netintel-dev-json-repair-bfadaf","pinned_page":"https://tollindex.com/e/netintel-dev-json-repair-bfadaf/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"netintel-dev-json-repair-bfadaf","canonical_url":"https://netintel.dev/json/repair","resource":"https://netintel.dev/json/repair","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Repair malformed JSON into valid JSON — fixes code fences, trailing commas, single quotes, unquoted keys, bad escapes, duplicate keys, truncation, and JSON buried in prose. A deterministic tokenizer runs first (no LLM cost), with an optional Haiku fallback, plus optional schema validation and type coercion — so agents can rescue broken model output or dirty data in one call.","service_name":"NetIntel","declared_category":null,"declared_tags":["json repair","fix json","malformed json","data cleaning","json parser"],"route_template":null,"registry_updated":"2026-08-20T15:47:21.726Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"json repair","category":"market-data","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.02 USDC","amount_units":0.02,"decimals_known":true,"pay_to":"0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df","scheme":"exact"},{"registry":"cdp","ordinal":1,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","asset_name":null,"symbol":"USDC","decimals":6,"amount_display":"0.02 USDC","amount_units":0.02,"decimals_known":true,"pay_to":"8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-20T15:47:21.488Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:25:24.318Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:25:24.318Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T05:54:51.243Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:47:30.696Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:04:46.355Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T12:01:45.077Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df","page":"https://tollindex.com/seller/0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df","endpoints":125,"hosts":2},"reports":0,"registry_record":{"cdp":[{"tags":["json repair","fix json","malformed json","data cleaning","json parser"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df","amount":"20000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"},"payTo":"8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s","amount":"20000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300}],"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png","quality":{"lastCalledAt":"2026-08-20T15:47:21.488Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://netintel.dev/json/repair","extensions":{"bazaar":{"info":{"input":{"body":{"input":"```json\n{'name': 'acme', 'ports': [80, 443,],}\n```"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"grade":"A","score":100,"method":"deterministic","changes":["removed markdown code fences","converted 3 single-quoted strings to double-quoted","removed 2 trailing commas"],"findings":[],"repaired":{"name":"acme","ports":[80,443]},"warnings":[],"was_valid":false,"confidence":1,"schema_valid":null,"repair_succeeded":true,"validation_errors":[]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"The malformed JSON, as a string. May include markdown code fences or surrounding prose. Max 100KB."},"coerce":{"type":"boolean","description":"Default false. With a schema supplied, coerce values to the declared types where lossless (\"5\" → 5, \"yes\" → true)."},"schema":{"type":"object","description":"Optional. Validate the repaired JSON against this schema. Accepts a flat field→type map ({\"n\":\"number\"}) or a JSON-Schema-shaped object ({\"type\":\"object\",\"properties\":{...},\"required\":[...]}). Types: string, number, integer, boolean, object, array, null."},"allow_llm":{"type":"boolean","description":"Default true. When false, deterministic-only: if the tokenizer cannot fix the input, repair_succeeded is false (still a 200)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"method":{"type":"string"},"changes":{"type":"array"},"findings":{"type":"array"},"repaired":{"type":["object","array","null"]},"warnings":{"type":"array"},"was_valid":{"type":"boolean"},"confidence":{"type":"number"},"schema_valid":{"type":["boolean","null"]},"repair_succeeded":{"type":"boolean"},"validation_errors":{"type":"array"}}}}}}}}},"description":"Repair malformed JSON into valid JSON — fixes code fences, trailing commas, single quotes, unquoted keys, bad escapes, duplicate keys, truncation, and JSON buried in prose. A deterministic tokenizer runs first (no LLM cost), with an optional Haiku fallback, plus optional schema validation and type coercion — so agents can rescue broken model output or dirty data in one call.","lastUpdated":"2026-08-20T15:47:21.726Z","serviceName":"NetIntel","x402Version":2}]}}