Request Parameters
Body
The text to translate. Supports two formats:
- Single string:
{"text": "Hello, how are you doing"}
- Array of strings:
{"text": ["Hello", "How are you doing"]}
The language code of the target language to translate to. All supported
language codes can be found
here.
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.
Header
Your JigsawStack API key
Response Structure
Indicates whether the call was successful.
Usage information for the API call.
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