LLM JSON Repair & Schema Validator
Pricing
$0.50 / 1,000 repaired jsons
LLM JSON Repair & Schema Validator
Fast, deterministic repair and schema validation for broken or malformed JSON from ChatGPT, Claude, DeepSeek, and local LLMs.
LLM JSON Repair & Schema Validator
Pricing
$0.50 / 1,000 repaired jsons
Fast, deterministic repair and schema validation for broken or malformed JSON from ChatGPT, Claude, DeepSeek, and local LLMs.
You can access the LLM JSON Repair & Schema Validator programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "texts": [< "```json\\n{\\n name: '\''Alice'\'',\\n \\"role\\": '\''Engineer'\'',\\n \\"skills\\": ['\''Python'\'', '\''AI'\'',],\\n \\"active\\": True,\\n}\\n```\\nHope this helps!",< "Here is the product info: {\\"id\\": 101, \\"title\\": \\"Smart Lamp\\", \\"price\\": 29.99, \\"inStock\\": true}"< ],< "schema": {< "type": "object",< "properties": {< "name": {< "type": "string"< },< "role": {< "type": "string"< },< "skills": {< "type": "array",< "items": {< "type": "string"< }< },< "active": {< "type": "boolean"< }< },< "required": [< "name",< "role"< ]< }<}' |<apify call kadev-code/llm-json-repair --silent --output-datasetThe Apify CLI is the official tool that allows you to use LLM JSON Repair & Schema Validator locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: