Authentication
Pass your API key as a Bearer token in every request.
Authorization: Bearer mk_live_…Endpoint
All tools share the same URL pattern. Always POST with JSON body.
POST /api/v1/category/toolRate Limit
Generous daily quota for building and automation.
Quick Start
Validate a JSON string in one curl command.
curl -X POST https://tools.devops-monk.com/api/v1/json/validator \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{"input": "{\"name\": \"Alice\", \"age\": 32}"}'{
"success": true,
"tool": "json-validator",
"result": {
"valid": true,
"formatted": "{\n \"name\": \"Alice\",\n \"age\": 32\n}"
}
}Response Format
Every endpoint returns the same wrapper — check success first, then read result.
✓ Success
{
"success": true,
"tool": "json-validator",
"result": { ... }
}✗ Error
{
"error": "Invalid API key"
}Error Codes
Standard HTTP status codes indicate what went wrong.
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 404 | Tool not found — check category/slug spelling |
| 429 | Daily rate limit exceeded — resets at midnight UTC |
| 400 | Invalid JSON request body |
| 500 | Tool execution error — check your input |
JSON Endpoints
31 toolsAll endpoints: POST https://tools.devops-monk.com/api/v1/json/tool
Format & Fix
/api/v1/json/validatorFormat, minify, and validate JSON in one place.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/validator \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}"}'/api/v1/json/repairFix broken JSON — trailing commas, single quotes, unquoted keys, and more.
Request Body
{
"input": "{name: 'Alice', age: 32,}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/repair \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{name: 'Alice', age: 32,}"}'/api/v1/json/escapeEscape special characters in a string for safe embedding in JSON.
Request Body
{
"input": "{\"name\":\"Alice\"}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/escape \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\"}"}'/api/v1/json/unescapeUnescape a JSON-encoded string back to human-readable text.
Request Body
{
"input": "{\\\"name\\\": \\\"Alice\\\"}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/unescape \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\\\"name\\\": \\\"Alice\\\"}"}'/api/v1/json/stringifyConvert a JavaScript object literal to valid, spec-compliant JSON.
Request Body
{
"input": "{ name: 'Alice', active: true }"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/stringify \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{ name: 'Alice', active: true }"}'/api/v1/json/sortSort all object keys alphabetically (A→Z or Z→A), deeply nested.
Request Body
{
"input": "{\"z\":1,\"a\":2}",
"direction": "asc"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/sort \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"z\":1,\"a\":2}","direction":"asc"}'View & Query
/api/v1/json/diffCompare two JSON objects and highlight added, removed, and changed fields.
Request Body
{
"left": "{\"a\":1,\"b\":2}",
"right": "{\"a\":1,\"b\":3,\"c\":4}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/diff \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"left":"{\"a\":1,\"b\":2}","right":"{\"a\":1,\"b\":3,\"c\":4}"}'/api/v1/json/jsonpathRun JSONPath expressions to extract data from JSON.
Request Body
{
"input": "{\"users\":[{\"name\":\"Alice\"},{\"name\":\"Bob\"}]}",
"path": "$.users[*].name"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/jsonpath \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"users\":[{\"name\":\"Alice\"},{\"name\":\"Bob\"}]}","path":"$.users[*].name"}'/api/v1/json/flattenFlatten nested JSON into a single-level object with dot-notation keys.
Request Body
{
"input": "{\"a\":{\"b\":{\"c\":1}}}",
"delimiter": "."
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/flatten \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"a\":{\"b\":{\"c\":1}}}","delimiter":"."}'/api/v1/json/unflattenRestore a flat dot-notation object back to a nested JSON structure.
Request Body
{
"input": "{\"a.b.c\":1}",
"delimiter": "."
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/unflatten \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"a.b.c\":1}","delimiter":"."}'/api/v1/json/sizeAnalyze JSON byte size, key count, nesting depth, and type breakdown.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/size \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}"}'/api/v1/json/searchSearch for keys or values anywhere in a JSON document.
Request Body
{
"input": "{\"name\":\"Alice\",\"role\":\"admin\"}",
"query": "admin",
"searchIn": "both"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/search \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"role\":\"admin\"}","query":"admin","searchIn":"both"}'Converters
/api/v1/json/to-yamlConvert JSON to YAML format.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"indent": 2
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-yaml \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","indent":2}'/api/v1/json/from-yamlConvert YAML to JSON format.
Request Body
{
"input": "name: Alice\nage: 32"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/from-yaml \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"name: Alice\nage: 32"}'/api/v1/json/to-csvConvert a JSON array of objects to CSV rows.
Request Body
{
"input": "[{\"name\":\"Alice\",\"age\":32}]",
"delimiter": ","
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-csv \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"[{\"name\":\"Alice\",\"age\":32}]","delimiter":","}'/api/v1/json/from-csvParse CSV and convert each row to a JSON object.
Request Body
{
"input": "name,age\nAlice,32",
"header": true
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/from-csv \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"name,age\nAlice,32","header":true}'/api/v1/json/to-xmlConvert JSON to well-formed XML with a configurable root tag.
Request Body
{
"input": "{\"name\":\"Alice\"}",
"rootTag": "root"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-xml \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\"}","rootTag":"root"}'/api/v1/json/from-xmlParse XML and convert it to JSON.
Request Body
{
"input": "<root><name>Alice</name></root>"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/from-xml \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"<root><name>Alice</name></root>"}'/api/v1/json/to-tomlConvert JSON config objects to TOML format.
Request Body
{
"input": "{\"title\":\"App\",\"port\":3000}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-toml \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"title\":\"App\",\"port\":3000}"}'/api/v1/json/to-sqlGenerate SQL INSERT statements from a JSON array.
Request Body
{
"input": "[{\"id\":1,\"name\":\"Alice\"}]",
"tableName": "users",
"dialect": "postgres"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-sql \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"[{\"id\":1,\"name\":\"Alice\"}]","tableName":"users","dialect":"postgres"}'Code Generators
/api/v1/json/to-typescriptGenerate TypeScript interfaces from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-typescript \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-pythonGenerate Python dataclasses from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-python \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-golangGenerate Go structs with JSON tags from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-golang \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-javaGenerate Java POJOs from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-java \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-csharpGenerate C# classes from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-csharp \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-rustGenerate Rust structs with Serde from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-rust \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'/api/v1/json/to-zodGenerate a Zod validation schema from JSON.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"typeName": "User"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/to-zod \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","typeName":"User"}'Schema & Advanced
/api/v1/json/schema-validateValidate JSON data against a JSON Schema (Draft 7/2019/2020).
Request Body
{
"data": "{\"name\":\"Alice\",\"age\":32}",
"schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}}}"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/schema-validate \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"data":"{\"name\":\"Alice\",\"age\":32}","schema":"{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}}}"}'/api/v1/json/schema-generateInfer a JSON Schema from an example JSON document.
Request Body
{
"input": "{\"name\":\"Alice\",\"age\":32}",
"title": "User",
"draft": "draft-07"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/schema-generate \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"name\":\"Alice\",\"age\":32}","title":"User","draft":"draft-07"}'/api/v1/json/jwt-decodeDecode and inspect JWT header, payload, and expiry.
Request Body
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/jwt-decode \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"}'/api/v1/json/token-countCount GPT tokens in any JSON or text (cl100k_base encoding).
Request Body
{
"input": "{\"messages\":[{\"role\":\"user\",\"content\":\"Hello!\"}]}",
"model": "gpt-4o"
}curl
curl -X POST https://tools.devops-monk.com/api/v1/json/token-count \
-H "Authorization: Bearer <key>" \
-H "Content-Type: application/json" \
-d '{"input":"{\"messages\":[{\"role\":\"user\",\"content\":\"Hello!\"}]}","model":"gpt-4o"}'