JSON Formatter API
The JSON Validator & Formatter API is a comprehensive tool for working with JSON data. Validate, format, minify, query, and convert JSON with support for JSON Schema, JSONPath, and more. ## Core Features - **Validation**: Validate JSON syntax with detailed error messages - **Formatting**: Beautify JSON with custom indentation (2-8 spaces) - **Minification**: Compress JSON to remove whitespace -…
JSON Formatter API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Core | ||
| GET |
healthCheck /health |
|
| Validation | ||
| POST |
getJsonStats /api/json/stats |
Analyze JSON and return statistics such as size, depth, key count, and type distribution. |
| POST |
validateJson /api/json/validate |
|
| Formatting | ||
| POST |
formatJson /api/json/format |
|
| POST |
fixJson /api/json/fix |
Attempt to automatically fix common JSON syntax errors such as trailing commas, unquoted keys, and single quotes. |
| POST |
sortJsonKeys /api/json/sort-keys |
Sort all keys in a JSON object alphabetically, including nested objects. |
| POST |
minifyJson /api/json/minify |
|
| Query | ||
| POST |
queryJsonPath /api/json/query |
|
| Schema | ||
| POST |
validateJsonSchema /api/json/schema/validate |
|
| Diff | ||
| POST |
compareJson /api/json/diff |
|
| Conversion | ||
| POST |
jsonToXml /api/json/to-xml |
|
| POST |
jsonToCsv /api/json/to-csv |
|
JSON Formatter API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $9 / month | 500 / minute |
|
| ULTRA | $29 / month | 2000 / minute |
|
| MEGA | $99 / month | 5000 / minute |
|