---
title: "Parse and format a JSON document or report errors"
method: GET
path: "/json"
---

# Parse and format a JSON document or report errors

`GET /json`

## Request

- Base URL: `https://api.gadgethumans.com`
- URL: `https://api.gadgethumans.com/json`
- Auth: none declared

JSON formatter and validator - Validate, pretty-print or minify a JSON document (?json=) and get back errors with line numbers when it is invalid.

## Query parameters

- `data` string, required: Parameter: data (required)

## Response `200`

Success

- object

## Other responses

- `402`: Payment Required: x402 exact scheme, USDC on Base

---

[API](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub.md) · [All operations](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub/llms.txt) · [OpenAPI document](https://skmtc.dev/gadgethumans/apis/gadgethumans-api-hub/revisions/7e0ce6386a0d?raw)
