---
title: "Get the JSON Schema validation contract"
method: GET
path: "/api/market-snapshot/v1.schema.json"
tags: ["Market data"]
---

# Get the JSON Schema validation contract

`GET /api/market-snapshot/v1.schema.json`

## Request

- Base URL: `https://btcwar.net`
- URL: `https://btcwar.net/api/market-snapshot/v1.schema.json`
- Auth: none required

Public, read-only endpoint; no API key or authentication is required. Returns the canonical JSON Schema Draft 2020-12 contract used to validate the live snapshot.

## Headers

- `If-None-Match` string
- `If-Modified-Since` string, http-date

## Response `200`

The canonical validation contract.

## Other responses

- `304`: The validation contract matches If-None-Match or has not changed since If-Modified-Since.
- `405`: Only GET and HEAD are supported.
- `503`: The validation contract asset is temporarily unavailable.

---

[API](https://skmtc.dev/btcwar/apis/btc-war-live-market-data-api.md) - [All operations](https://skmtc.dev/btcwar/apis/btc-war-live-market-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/btcwar/apis/btc-war-live-market-data-api/revisions/c893fd0a8e73?raw)
