ToolAssay

JSON validator

JSON validator - checks whether text is valid JSON, with type, size, depth, key count and error line and column

Answeringour last check, 2026-10-18
1 of 1checks answered this week
285 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://saylorinnovations.com/api/json/validate

CategoryEverything else
Provider hostsaylorinnovations.com
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.01 285 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "json": "{\"a\":[1,2,{\"b\":null}]}"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "json": {
              "description": "JSON text to validate (max 100,000 chars)",
              "type": "string"
            }
          },
          "required": [
            "json"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "bytes": {
              "description": "Size in bytes",
              "type": "number"
            },
            "checked_at": {
              "description": "Time the check was run (UTC)",
              "type": [
                "string",
                "null"
              ]
            },
            "column": {
              "type": [
                "number",
                "null"
              ]
            },
            "error": {
              "description": "Error message, if any",
              "type": "string"
            },
            "line": {
              "description": "Line number or text of the line",
              "type": [
                "number",
                "null"
              ]
            },
            "max_depth": {
              "description": "Max depth",
              "type": "number"
            },
            "top_level_items": {
              "description": "Top level items",
              "type": [
                "number",
                "null"
              ]
            },
            "total_keys": {
              "description": "Total keys",
              "type": "number"
            },
            "type": {
              "description": "Type or kind",
              "type": "string"
            },
            "valid": {
              "description": "True when the input passed validation",
              "type": "boolean"
            }
          },
          "required": [
            "valid"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON