{"uid":"cap_aUtzLZpabcuX8s4bqnWYK","slug":"netintel-json-normalizer-0a2fe76c","name":"NetIntel JSON Normalizer","description":"Conform messy or inconsistent JSON to a target schema using Claude Haiku — renames keys, coerces types (string→number, \"true\"→boolean, etc.), and fills missing fields with null, returning JSON that matches the exact shape the caller specified so agents can normalize data from varied sources into one consistent structure.","url":"https://netintel-production-440c.up.railway.app/normalize/json","method":"POST","headers":{},"bodySchema":{"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":["data","schema"],"properties":{"data":{"type":["string","object"],"description":"The messy JSON to normalize — a JSON string or an already-parsed object. Max 10000 words or 50KB."},"schema":{"type":"object","description":"A map of field name → type token. Supported tokens: string, number, boolean, date, string[], number[], object. Max 50 fields. Output keys are forced to exactly these field names."}}},"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","description":"Letter grade A-F."},"score":{"type":"number","description":"Quality score 0-100."},"cached":{"type":"boolean","description":"True if served from the in-memory cache."},"findings":{"type":"array","items":{"type":"string"},"description":"Informational findings (e.g. schema_mismatch_corrected, mostly_nulled)."},"normalized":{"type":"object","description":"The input conformed to the target schema: keys are exactly the schema field names, values coerced to the declared types, missing fields null."},"schema_match":{"type":"boolean","description":"True when the model's output keys were exactly the schema field names. False when code had to force-conform (strip extra / add missing) keys."},"fields_nulled":{"type":"number","description":"Number of null fields in the output."},"fields_in_schema":{"type":"number","description":"Number of fields in the target schema."},"fields_populated":{"type":"number","description":"Number of non-null fields in the output."}}}}}}},"responseSchema":{"type":"json","example":{"grade":"A","score":100,"cached":false,"findings":[],"normalized":{"age":42,"tags":["vip","beta"],"full_name":"Jane Doe","is_active":true,"signup_date":"2024-03-01"},"schema_match":true,"fields_nulled":0,"fields_in_schema":5,"fields_populated":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wb4Mf008eII5n1Q_ViYoo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and validates a JSON payload against a schema, returning a quality grade, score, null field counts, and a normalized output object","exampleAgentPrompt":"Can you normalize and grade this user record JSON — it has fields like age, tags, full_name, is_active, and signup_date — against our schema and tell me the quality score, how many fields were populated, and whether it fully matches the schema?","exampleUseCases":null,"resultDescription":"Returns a letter grade (e.g. 'A'), numeric score (0–100), normalized JSON object with cleaned field values, a schema_match boolean, counts of fields in schema and populated, count of nulled fields, a list of findings or issues, and a cached flag indicating whether the result was served from cache.","failureModes":["Invalid or malformed JSON input returns a 400 error","Schema mismatch with no recoverable fields may return a low grade with schema_match: false","Missing required schema definition may result in an error or ungraded response","Payment not received or x402 micropayment failure results in a 402 Payment Required response","Oversized payload may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need to validate, clean, and score a JSON object against a defined schema in a single call, especially when you want a structured quality grade (A–F) and field-level diagnostics rather than a simple pass/fail. It is particularly useful for data pipeline quality checks or user record normalization where you want both cleaned output and a completeness report.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:51:32.319Z","isFirstParty":false}