{"uid":"cap_I3ltlcAR8IyDXInrnr6In","slug":"agentdiet-json-normalizer-9d335f45","name":"AgentDiet JSON Normalizer","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.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_J1Qn03ThFf7m3Bg8UhGD6","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 de-bloats raw JSON input, compressing it to a leaner representation while preserving semantic content — achieving up to 91%+ compression ratio.","exampleAgentPrompt":"Can you normalize and compress this raw JSON for me so it takes up way fewer tokens in my context window? Here's the blob: {\"user\":{\"id\":123,\"name\":\"Alice\",\"metadata\":{\"verbose_field\":\"...\"}}}","exampleUseCases":[{"title":"Compress LLM context window payload","prompt":"I'm about to send a huge JSON object to my AI pipeline but it's way too verbose and eating up my context window — can you normalize and compress it down to just the essential data?"},{"title":"Clean up API response before processing","prompt":"I got this bloated JSON response back from a third-party API and I need to normalize it into a compact, clean format before I run any logic on it. Can you pass it through the JSON normalizer?"},{"title":"Reduce token cost for agent memory","prompt":"I'm storing conversation state as JSON for my AI agent, but it keeps blowing up in size. Can you run it through the JSON normalizer so I can store a leaner version and cut my token spend?"}],"resultDescription":"Returns a normalized, compressed JSON object under a 'data' key, a status field ('ok'), and an 'roi_proof' object containing the compression_ratio_pct — e.g. 91.4% — showing how much bloat was removed.","failureModes":["Missing required 'input' object returns a validation error","Invalid or malformed JSON in raw_json query param may cause parse failure","Non-http input type may be rejected","Empty or null input payload returns an error response","Payment not settled in USDC on Base results in x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pay-per-call JSON normalization and compression service that integrates natively with x402/L402 micropayment protocols on Base/USDC — particularly suited for AI agent pipelines where reducing context window token usage is the primary goal and reproducibility matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:46.758Z","isFirstParty":false,"canonicalSlug":"agentdiet-json-normalizer-9d335f45"}