Api Endpoint

FERAL JSON Guard

Validate JSON against an optional schema, canonicalize it, and return a SHA-256 fingerprint

Open interactive test console

Offering

Provider
feral-tools.vercel.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://feral-tools.vercel.app/api/format
MIME type
application/json
First seen
2026-10-16T02:08:53.176Z
Last seen
Tags
JSON, developer-tools, Agents, deterministic

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
1334 ms
Average latency
587 ms
HTTP status
204
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

{
  "body": {
    "json": "{\"b\":2,\"a\":1}",
    "indent": 2,
    "schema": {
      "type": "object",
      "required": [
        "a",
        "b"
      ]
    },
    "sortKeys": true
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "required": [
            "json"
          ],
          "properties": {
            "json": {
              "description": "A JSON value or a string containing JSON"
            },
            "indent": {
              "type": "integer",
              "default": 2,
              "maximum": 8,
              "minimum": 0
            },
            "schema": {
              "type": "object",
              "description": "Optional JSON Schema (draft-07) used to validate the input"
            },
            "sortKeys": {
              "type": "boolean",
              "default": false
            }
          },
          "additionalProperties": false
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "required": [
            "ok",
            "formatted",
            "canonical",
            "sha256",
            "type",
            "indent",
            "sortKeys",
            "schemaValid",
            "schemaErrors"
          ],
          "properties": {
            "ok": {
              "type": "boolean",
              "const": true
            },
            "type": {
              "type": "string"
            },
            "indent": {
              "type": "integer"
            },
            "sha256": {
              "type": "string"
            },
            "sortKeys": {
              "type": "boolean"
            },
            "canonical": {
              "type": "string"
            },
            "formatted": {
              "type": "string"
            },
            "schemaValid": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "schemaErrors": {
              "type": "array"
            }
          }
        }
      }
    }
  }
}