json-translate.
Structure-preserving JSON translation API / Powered by Cloudflare Workers AI
14 Languages / Single API Call
Capabilities
Structure-Preserving
Keys, numbers, booleans, nulls, arrays, nesting -- all intact. Only string values are translated.
14 Languages
EN, KO, JA, ZH, ES, FR, DE, PT, IT, RU, AR, HI, TH, VI, ID
Batch Optimized
All strings extracted and translated in a single AI call. Minimal latency.
MCP Compatible
JSON-RPC 2.0 endpoint for AI agent integration via Model Context Protocol.
Endpoints
GET /json-translate/ Landing / Info
GET /json-translate/health Health check
POST /json-translate/api/v1/translate Translate JSON
POST /json-translate/api/v1/detect Detect language
POST /json-translate/mcp MCP JSON-RPC 2.0
Example
# Translate a JSON object to Korean curl -X POST https://api.lazy-mac.com/json-translate/api/v1/translate \ -H "Content-Type: application/json" \ -d '{ "data": { "greeting": "Hello, world!", "menu": { "items": [ {"label": "Settings", "count": 5}, {"label": "Log out", "count": null} ] } }, "target": "ko", "source": "en" }'
{ "translated": { "greeting": "안녕하세요, 세상!", "menu": { "items": [ {"label": "설정", "count": 5}, {"label": "로그아웃", "count": null} ] } }, "meta": { "strings_translated": 3, "source": "en", "target": "ko" } }
Supported Languages
EN English KO Korean JA Japanese ZH Chinese ES Spanish FR French DE German PT Portuguese IT Italian RU Russian AR Arabic HI Hindi TH Thai VI Vietnamese ID Indonesian
Pricing
$19.99 /mo
Unlimited translations / 14 languages / Structure-preserving / MCP ready