Api Endpoint

contract-api-production-c176.up.railway.app

Validate up to ten JSON documents against JSON Schema draft-07 or 2020-12. Returns per-document validity and actionable errors with instance paths. Runs isolated with bounded time and memory; no remote schema loading or automatic data modification.

Open interactive test console

Offering

Provider
contract-api-production-c176.up.railway.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://contract-api-production-c176.up.railway.app/v1/contracts/validate
MIME type
Not provided
First seen
2026-10-16T01:58:48.885Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x5461f103b54fcFE37a99337D3cb5AB5d30239c18"
  }
]

Observed health

Status
Healthy
Latest latency
39 ms
Average latency
162 ms
HTTP status
200
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "documents": {
          "items": {},
          "maxItems": 10,
          "minItems": 1,
          "type": "array"
        },
        "draft": {
          "default": "2020-12",
          "enum": [
            "2020-12",
            "draft-07"
          ],
          "type": "string"
        },
        "schema": {
          "anyOf": [
            {
              "additionalProperties": {},
              "propertyNames": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "type": "boolean"
            }
          ]
        }
      },
      "required": [
        "schema",
        "documents"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "documents": {
              "items": {},
              "maxItems": 10,
              "minItems": 1,
              "type": "array"
            },
            "draft": {
              "default": "2020-12",
              "enum": [
                "2020-12",
                "draft-07"
              ],
              "type": "string"
            },
            "schema": {
              "anyOf": [
                {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                {
                  "type": "boolean"
                }
              ]
            }
          },
          "required": [
            "schema",
            "documents"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}