json-schema-validation
api-response-validation
schema-validate
contract-testing
data-validation-api
url-to-validation
json-validator
verifiable-validation
attestation
provenance
keyless
agent-native
data-quality

Cited Validate — JSON API response vs JSON Schema, signed pass/fail + per-field errors (keyless x402)

URL (a JSON/API endpoint) + a JSON Schema in → a deterministic pass/fail with per-field errors (missing/wrong-type/enum/range/pattern), plus a signed provenance receipt binding the verdict to the exact response bytes AND the exact schema. Deterministic, keyless, no LLM — x402, USDC on Base mainnet.

get/buy/validate

Request

Query parameters

urlstring required

the JSON/API endpoint to fetch + validate (http/https)

schemastring required

the JSON Schema to validate against. THREE accepted forms: (1) COMPACT URL-native comma list of field[:type] (type in string|number|integer|boolean|array|object|null; default string), e.g. id:integer,name,price:number,inStock:boolean — every field becomes a REQUIRED typed property; (2) a JSON-Schema string (Draft-07 core subset: type/required/properties/items/enum/const/min*/max*/pattern/format/additionalProperties/nullable/anyOf/oneOf/allOf/not); (3) a shorthand-map string {"id":"integer","name":"string"}.

pointerstring

optional JSON-Pointer (e.g. /data or /result/0) to validate a SUB-DOCUMENT of the response instead of the whole body (for APIs that wrap the payload).

Response

Delivered after the x402 payment settles on Base mainnet.

okboolean required

true when the validation RAN (delivered); false on an honest undeliverable (503-before-charge)

urlstring required

final URL after redirects

statusinteger

upstream HTTP status of the fetched JSON

textstring

the canonical signed string: JSON.stringify(report, sorted-keys) — the exact bytes the provenance receipt covers (embeds documentHash + schemaHash + verdict)

fetchedAtstring

ISO timestamp of the fetch (also in the signed attestation)

errorstring

present only when ok:false (undeliverable, not charged)

Changes

No recorded changes to this operation across all 1 revision of this API.