{"uid":"cap_jlDznq2OE4UFdrzX5T2u7","slug":"agentdiet-json-normalizer-a5426974","name":"AgentDiet JSON Normalizer","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/json-normalizer?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"raw_json":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f6OMShmiLqkrey_8muJsl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and compresses raw JSON into a clean, deduplicated structure with compression ratio proof","exampleAgentPrompt":"I have a really messy, bloated JSON object I fetched from an external API — can you normalize and compress it into a clean structure and tell me how much smaller it got?","exampleUseCases":[{"title":"Clean noisy API response before storage","prompt":"I just got a huge JSON response from a third-party API with tons of redundant fields and nesting — can you normalize it into a clean flat structure before I store it in the database?"},{"title":"Reduce JSON token count for LLM pipeline","prompt":"This JSON payload is way too large to fit in my LLM context window. Can you compress and normalize it so it takes up as little space as possible and tell me the compression ratio?"},{"title":"Standardize JSON across multiple sources","prompt":"I'm merging JSON data from three different services and the schemas are all over the place. Can you normalize this raw JSON blob into a consistent canonical structure?"}],"resultDescription":"Returns a JSON object with a 'data' field containing the normalized JSON, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4% compression).","failureModes":["Missing required 'input' field returns validation error","Invalid JSON string in raw_json query param causes parse failure","Unsupported HTTP method (not GET or POST) returns schema validation error","Empty or null JSON input may return empty data object","Malformed input object missing 'type' or 'method' fields returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need to normalize, deduplicate, or compress a raw JSON payload before downstream processing — especially in agent pipelines where token count or payload size matters. Prefer it over manual parsing when you want a quantified compression ratio as proof of optimization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:43.966Z","isFirstParty":false,"canonicalSlug":"agentdiet-json-normalizer-a5426974"}