{"uid":"cap_9AMz-M5pLcZDYInPBlkdu","slug":"minia2a-x402-json-validate-3e771659","name":"minia2a x402-json-validate","description":"minia2a service: x402-json-validate","url":"https://minia2a.uk/x402/json-validate","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_3XY5tks-XdtiTG8yy8I4g","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":"Validates a JSON request structure — including type, HTTP method, body type, query params, and output type — against expected schema rules","exampleAgentPrompt":"Can you validate this JSON request structure for me — it's a GET method with a JSON body type and query params like {\"userId\": \"string\"}, and the expected output type is object?","exampleUseCases":[{"title":"Pre-flight API request validation","prompt":"Before I send this API call, validate the request structure — method is POST, bodyType is JSON, queryParams has a required 'id' field of type string, and the output type should be object."},{"title":"Catching malformed query param schemas","prompt":"Check whether this request config is valid: it's a GET method with no body, queryParams set to {\"page\": \"number\", \"limit\": \"number\"}, and the expected output is an array type."},{"title":"Validating agent-generated request specs","prompt":"My agent just generated a request spec with method PUT, bodyType form-data, and output type string — can you validate whether that's a legitimate and well-formed JSON request structure?"}],"resultDescription":"Returns a validation result indicating whether the submitted JSON request structure (method, body type, query params, output type) is valid, along with any errors or conformance issues found.","failureModes":["Missing required 'input' field returns a validation error","Unrecognized HTTP method value may fail validation","Malformed queryParams object structure causes parse error","Network or payment errors (402) if USDC payment not properly provided","Empty or null input causes schema rejection"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a JSON-described API request object conforms to expected structure before executing it — especially useful in agentic workflows where requests are dynamically constructed and must be validated before submission.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:44.205Z","isFirstParty":false}