Request
Body Params application/json
{
"text":[
"hello, world"
],
"source_lang":"",
"target_lang":"ZH"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/deepl/v2/translate' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"text":[
"hello, world"
],
"source_lang":"",
"target_lang":"ZH"
}'
Responses
application/json Modified at 2025-06-26 08:19:22