JSON Formatter API Documentation

Complete reference for the JSON Formatter API

Authentication

Authorization: Bearer sk_live_your_key_here

GET POST /v1/json/process

Parameters

Parameter Type Required Description
actionstringYesvalidate, format, minify, stats, flatten, unflatten, query, diff, to_csv, to_yaml, sort_keys, sample
jsonstringYes*JSON string input (max 500KB). Not required for sample.
json2stringNoSecond JSON for diff action
indentintegerNoIndentation spaces for format (1-8, default 4)
pathstringNoDot-notation path for query action (e.g. address.city)
separatorstringNoKey separator for flatten/unflatten (default ".")