{"uid":"cap_I65u7TEFOHm0te9Lxrutl","slug":"onchain-trading-intelligence-json-schema-validation-endpoint-6dd80c68","name":"Onchain & Trading Intelligence — JSON Schema Validation Endpoint","description":"Validate data against a JSON Schema (strict). Returns valid + detailed errors. Send { schema, data }.","url":"https://x402-services-production.up.railway.app/api/jsonschema","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data","schema"],"properties":{"data":{"type":"object","description":"Data to validate"},"schema":{"type":"object","description":"JSON Schema object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NsoSGjU_qcsqrgRPK1O3V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates arrays of onchain/trading data objects against a provided JSON Schema definition, returning validation results for structured data quality checks.","exampleAgentPrompt":"Validate this batch of token price records against our trading schema — make sure each object has the required fields and correct types before we process them.","exampleUseCases":[{"title":"Pre-trade data quality gate","prompt":"Before we run the arbitrage strategy, validate this array of funding rate objects from Hyperliquid against our expected schema and flag any malformed records."},{"title":"Wallet risk record screening","prompt":"I have a list of wallet risk scores from the onchain screening tool — can you validate them against the wallet-risk JSON schema to make sure none are missing required fields?"},{"title":"DeFi lending health data check","prompt":"Validate these DeFi lending health snapshots against the lending-position schema so we know they're all properly structured before writing them to the database."}],"resultDescription":"Returns validation results indicating whether each data object in the input array conforms to the provided JSON Schema, including details on any schema violations, missing required fields, or type mismatches.","failureModes":["Invalid or malformed JSON Schema provided — returns schema parse error","Data array is empty or null — may return validation error or empty results","Schema references unsupported JSON Schema keywords — may produce unexpected results","Network timeout on Railway-hosted service — returns connection error","Payment not settled (x402) — returns 402 Payment Required before processing"],"whenToPreferThis":"Use this endpoint when you need to validate structured onchain or trading data objects against a JSON Schema definition as part of a data pipeline, before downstream processing, or to enforce data contracts on DeFi/trading intelligence payloads. Prefer this over generic validators when operating within the x402 pay-per-call ecosystem and already consuming other tools from this intelligence suite.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:25.099Z","isFirstParty":false}