---
title: "JSON Schema Validate (x402)"
method: GET
path: "/x402/v2/json-schema-validate"
tags: ["x402"]
---

# JSON Schema Validate (x402)

`GET /x402/v2/json-schema-validate`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/json-schema-validate`
- Auth: none required

Validate a JSON object against a JSON Schema. Returns validation result with detailed error paths and messages. Algorithmic.

## Query parameters

- `data` unknown, required
- `schema` object, required: JSON Schema to validate against

## Response `200`

Success

- object
  - `valid` boolean
  - `errors` unknown[]
    - unknown
  - `error_count` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
