Check JSON text and point at the first syntax error
Check JSON text and point at the first syntax error: its line, column, character position (offset), the path in the document where it stopped, and a short excerpt with a marker under the spot, with a clear message for trailing commas, comments, single quotes, unclosed brackets and bad escapes. Also lists duplicate object keys, which JSON.parse accepts silently. For a trailing comma, json-repair points at the comma and json-lint at the bracket after it.
Answeringour last check, 2026-11-26
4 of 4checks answered this week
350 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent402.tools/api/json-lint
| Category | Code and developer |
|---|---|
| Provider host | agent402.tools |
| Networks | algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:5042, eip155:57073, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet |
| Payment schemes | exact, upto |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 370 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 351 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 350 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 324 ms |
Example input (from the provider)
{
"body": {
"json": "{\n \"name\": \"Ada\",\n \"tags\": [\"eng\", \"math\",]\n}"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"json": {
"description": "JSON text to check (at most 100,000 characters)",
"type": "string"
}
},
"required": [
"json"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"chars": {
"type": "number"
},
"duplicateKeyCount": {
"type": "number"
},
"duplicateKeys": {
"type": "array"
},
"duplicateKeysTruncated": {
"type": "boolean"
},
"syntaxError": {
"type": "object"
},
"valid": {
"type": "boolean"
}
},
"required": [
"valid",
"syntaxError",
"chars",
"duplicateKeyCount",
"duplicateKeys",
"duplicateKeysTruncated"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}