Translate
Translate text from one language to another with support for multiple text formats.
POST
Request Parameters
Body
The language code of the source text. If not provided, the API will attempt to auto-detect the language. All supported language codes can be found here.
The language code of the target language to translate to. All supported language codes can be found here.
The text to translate. Supports two formats:
- Single string:
{"text": "Hello, how are you doing"}
- Array of strings:
{"text": ["Hello", "How are you doing"]}
Maximum text length is 5000 characters per string.
Header
Your JigsawStack API key
Response Structure
Indicates whether the call was successful.
The translated text. The format matches your input: - If you sent a single string, you’ll receive a single translated string - If you sent an array of strings, you’ll receive an array of translated strings