{"uid":"cap_X2fnnqAgndopiiPm4sFB1","slug":"netintel-schema-validate-f4dc42ca","name":"NetIntel Schema Validate","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/schema/validate","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":["object","array","string"],"description":"The data to validate: an object, an array, or a JSON string (malformed strings are repaired first). Max 64KB."},"coerce":{"type":"boolean","description":"Default false. Coerce values to the declared types where lossless (\"5\" → 5, \"yes\" → true)."},"repair":{"type":"boolean","description":"Default false. When invalid, also return a repaired copy of the data plus is_repaired_valid. Deterministic first (coercion, declared defaults, enum casing, strict extra-key removal)."},"schema":{"type":"object","description":"JSON Schema ({\"type\":\"object\",\"properties\":{...},\"required\":[...]}) or a simplified field→type map ({\"age\":\"number\",\"email\":\"email\",\"tags\":\"string[]\",\"bio\":\"string?\"}). In the map form a field is required unless suffixed with '?'. Formats: email, url, date, date-time, uuid, ipv4, ipv6, hostname."},"allow_llm":{"type":"boolean","description":"Default true. Gates the LLM repair fallback only — validation itself is always deterministic."}}},"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"},"valid":{"type":"boolean"},"errors":{"type":"array"},"coerced":{"type":"boolean"},"findings":{"type":"array"},"repaired":{"type":["object","array","null"]},"warnings":{"type":"array"},"error_count":{"type":"number"},"is_repaired_valid":{"type":["boolean","null"]}}}}}}},"responseSchema":{"type":"json","example":{"grade":"A","score":100,"valid":false,"errors":[{"path":"$.email","message":"required field is missing","expected":"required","received":"undefined"},{"path":"$.age","message":"expected number, received string","expected":"number","received":"string"}],"coerced":false,"findings":[{"rule":"data_invalid","detail":"Data does not satisfy the schema (2 errors)","deduction":0}],"repaired":null,"warnings":[],"error_count":2,"is_repaired_valid":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4qdLHsn_ST9EJ6UHV7LUh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON object, array, or string against a provided JSON Schema (or simplified field-type map), returning a pass/fail grade, error list, and optional coercion or repair.","exampleAgentPrompt":"Can you validate this user registration object against my schema — it needs email (required), age (number), and tags (string array) — and if it's invalid, also return a repaired version?","exampleUseCases":[{"title":"API payload pre-flight check","prompt":"Before I write this order object to the database, validate it against my schema: required fields are orderId (uuid), quantity (number), and customerEmail (email). Tell me every field that's wrong or missing."},{"title":"Coerce and validate form submission","prompt":"I've got a form submission where numbers came in as strings — validate it against my schema with coercion on so '42' becomes 42, and let me know if it's valid after coercion."},{"title":"LLM-assisted schema repair","prompt":"This JSON payload has some errors but I want to know if it can be automatically repaired to satisfy my schema. Run validation with repair enabled and show me the fixed version if it passes after repair."}],"resultDescription":"Returns a JSON object containing: valid (boolean), grade (letter A–F), score (0–100), error_count, errors (array of path + message + expected/received), warnings, findings (rule-based deductions), coerced (boolean), repaired (fixed data object or null), and is_repaired_valid (boolean or null). Failed calls due to server errors, upstream failures, or input-validation rejections are not billed.","failureModes":["Invalid or missing 'data' field — returns 400 with input validation rejection, not billed","Schema too large or data exceeds 64KB limit — rejected with validation error","Malformed JSON string in 'data' that cannot be repaired — returns validation failure response","Network or upstream server error — returns error, call is not billed","Schema uses unsupported format keywords — may produce unexpected validation results"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JSON schema validation service with no signup, API key, or subscription — especially useful for agents that need occasional data quality checks, form validation, or schema-guided repair without committing to a dedicated validation infrastructure. The built-in coercion, LLM-assisted repair, and simplified field-type map syntax (e.g. 'email', 'url', 'string[]') make it faster to use than raw JSON Schema validators when working with messy real-world data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:51.666Z","isFirstParty":false}