{"uid":"cap_tkELXrwpdKnk9Db374E8g","slug":"writerslogic-json-duplicate-key-auditor-2f24736d","name":"WritersLogic JSON Duplicate Key Auditor","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/duplicate-key-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":200000,"description":"Raw JSON text, up to 200000 characters and 64 levels of nesting."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F7gwPNEgsT5kbNi7xj-QU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans raw JSON text for duplicate and Unicode-equivalent object member names at any nesting depth, reporting each with its JSON pointer, byte offset, line, column, values, and conflict status.","exampleAgentPrompt":"Can you scan this JSON text for duplicate keys — including ones that look different but resolve to the same name after Unicode unescaping — and tell me exactly where each occurs and whether their values conflict?","exampleUseCases":[{"title":"Gateway payload duplicate key check","prompt":"Before we forward this JSON payload to our payment gateway, scan it for any duplicate keys including Unicode-equivalent ones like 'amount' vs '\\u0061mount' — the gateway silently keeps the last value and I need to know if anything conflicts."},{"title":"API response integrity audit","prompt":"This API response JSON looks suspicious — can you check it for repeated object member names at every nesting level and tell me the JSON pointer path, line number, and whether the values differ for each duplicate you find?"},{"title":"Security scan for prototype pollution","prompt":"Run a duplicate key audit on this incoming JSON request body and flag any __proto__ keys, unpaired surrogates, or repeated member names, along with their byte offsets, so I can block it before it hits json.loads."}],"resultDescription":"Returns a structured report listing every duplicate key occurrence with its JSON pointer, UTF-8 byte offset, line number, column number, all values carried by each occurrence, and a flag indicating whether those values conflict. Also reports: presence of a leading BOM, any unpaired surrogates, any __proto__ keys found, and the exact byte offset of any syntax error. Does not modify or repair the input JSON.","failureModes":["Input exceeds 200,000 character limit — request rejected","Input exceeds 64 nesting levels — may not fully analyze deeply nested structures","Malformed or missing 'text' field in request body returns an error","Non-JSON input (e.g. XML or plain text) will be reported as a syntax error at offset 0","Network timeout on very large but valid payloads near the character limit"],"whenToPreferThis":"Use this endpoint when an agent needs to inspect raw JSON text before it is parsed by json.loads, JSON.parse, or passed through a gateway that silently discards all but the last duplicate key — particularly when security, data integrity, or RFC 8259 strict compliance matters. Prefer this over manual parsing when you need exact byte offsets, line/column positions, Unicode-equivalent key detection, and __proto__ or surrogate reporting in a single call. Not a schema validator or JSON repairer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:35:36.316Z","isFirstParty":false,"canonicalSlug":"writerslogic-json-duplicate-key-auditor-2f24736d"}