x402

Validate and pretty-print a JSON document (JSON body)

Validate JSON and return it pretty-printed and minified, with type, depth and key count. No account or API key. Without PAYMENT-SIGNATURE the response is HTTP 402 with an x402 v2 payment challenge; pay and resend the identical request. Input as query string (GET) or JSON body (POST), max 64 KB; the payment is bound to the exact input. Price: 0.002 USDC per call.

post/api/util/json

Request

  • Base URL: https://yruz.one
  • URL: https://yruz.one/api/util/json
  • Auth: none required

Headers

PAYMENT-SIGNATUREstring

x402 v2 PaymentPayload (base64 JSON). Omit to receive the 402 payment challenge.

Request body

jsonstring

JSON text (required)

Response

Tool result

toolstring
resultobject

Changes

No recorded changes to this operation across all 1 revision of this API.