Get Translation Languages
curl --request GET \
--url https://public.reap.video/api/v1/automation/get-translation-languages \
--header 'Authorization: Bearer <token>'import requests
url = "https://public.reap.video/api/v1/automation/get-translation-languages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://public.reap.video/api/v1/automation/get-translation-languages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public.reap.video/api/v1/automation/get-translation-languages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public.reap.video/api/v1/automation/get-translation-languages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public.reap.video/api/v1/automation/get-translation-languages")
.header("Authorization", "Bearer <token>")
.asString();{
"sourceLanguages": [
{
"code": "<string>",
"name": "<string>",
"displayName": "<string>"
}
],
"targetLanguages": [
{
"code": "<string>",
"name": "<string>",
"displayName": "<string>"
}
]
}Presets & Languages
Get Translation Languages
Retrieve all supported languages for caption translation
GET
/
automation
/
get-translation-languages
Get Translation Languages
curl --request GET \
--url https://public.reap.video/api/v1/automation/get-translation-languages \
--header 'Authorization: Bearer <token>'import requests
url = "https://public.reap.video/api/v1/automation/get-translation-languages"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://public.reap.video/api/v1/automation/get-translation-languages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public.reap.video/api/v1/automation/get-translation-languages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public.reap.video/api/v1/automation/get-translation-languages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public.reap.video/api/v1/automation/get-translation-languages")
.header("Authorization", "Bearer <token>")
.asString();{
"sourceLanguages": [
{
"code": "<string>",
"name": "<string>",
"displayName": "<string>"
}
],
"targetLanguages": [
{
"code": "<string>",
"name": "<string>",
"displayName": "<string>"
}
]
}
For AI agents: a documentation index is at /llms.txt. Every page is also available as markdown, just append .md to the URL.
Overview
Get a comprehensive list of all supported source and target languages for caption translation. This endpoint returns language codes and display names for transcription source languages and translation target languages.Response
array
array
Language Coverage
We support over 100 languages for transcription and translation, including:Major Languages
English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Arabic, Russian
Asian Languages
Hindi, Bengali, Tamil, Telugu, Vietnamese, Thai, Indonesian, Malay, Tagalog
European Languages
Dutch, Swedish, Norwegian, Danish, Finnish, Polish, Czech, Hungarian, Greek, Romanian
Other Languages
Hebrew, Turkish, Ukrainian, Persian, Urdu, Swahili, and many more
Example Request
curl -X GET "https://public.reap.video/api/v1/automation/get-translation-languages" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
const response = await fetch('https://public.reap.video/api/v1/automation/get-translation-languages', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const languages = await response.json();
console.log('Source languages:', languages.sourceLanguages.length);
console.log('Target languages:', languages.targetLanguages.length);
import requests
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
response = requests.get(
'https://public.reap.video/api/v1/automation/get-translation-languages',
headers=headers
)
languages = response.json()
print(f"Source languages: {len(languages['sourceLanguages'])}")
print(f"Target languages: {len(languages['targetLanguages'])}")
# Find a specific language
spanish = next((lang for lang in languages['sourceLanguages'] if lang['code'] == 'es'), None)
if spanish:
print(f"Spanish: {spanish['name']}")
<?php
$ch = curl_init('https://public.reap.video/api/v1/automation/get-translation-languages');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$languages = json_decode($response, true);
echo 'Source languages: ' . count($languages['sourceLanguages']) . "\n";
echo 'Target languages: ' . count($languages['targetLanguages']) . "\n";
?>
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://public.reap.video/api/v1/automation/get-translation-languages"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
var languages map[string]interface{}
json.Unmarshal(body, &languages)
fmt.Printf("Source languages: %d\n", len(languages["sourceLanguages"].([]interface{})))
fmt.Printf("Target languages: %d\n", len(languages["targetLanguages"].([]interface{})))
}
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class GetTranslationLanguagesExample {
public static void main(String[] args) throws Exception {
URL url = new URL("https://public.reap.video/api/v1/automation/get-translation-languages");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Authorization", "Bearer YOUR_API_KEY");
conn.setRequestProperty("Content-Type", "application/json");
BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream()));
StringBuilder response = new StringBuilder();
String line;
while ((line = br.readLine()) != null) {
response.append(line);
}
br.close();
System.out.println(response.toString());
}
}
Example Response
Language Selection Guide
Source Languages
Source languages are used for:- Transcription: Specify the language of speech in your video
- Auto-detection: If not specified, the language will be auto-detected
- Accuracy: Specifying the correct language improves transcription accuracy
Target Languages
Target languages determine:- Translation output: The language captions will be translated to
- Currently supported: English (more languages coming soon)
Difference from Dubbing Languages
| Feature | Translation Languages | Dubbing Languages |
|---|---|---|
| Purpose | Caption/subtitle translation | Voice dubbing |
| Format | Simple codes (e.g., “en”) | Regional codes (e.g., “en-US”) |
| Output | Text captions | Audio voiceover |
| Use with | Create Clips, Create Captions | Create Dubbing |
Rate Limiting
This endpoint is subject to the standard rate limit of 10 requests per minute.Common Use Cases
Language Selection UI
Populate language dropdowns in your application
Validation
Validate language codes before creating projects
Multilingual Content
Plan content strategy for different language audiences
Auto-detection Fallback
Show users available languages when auto-detection is uncertain
Best Practices
Language Selection Tips:
- Use auto-detection when unsure of the source language
- Specify the language explicitly for better transcription accuracy
- Consider your target audience when choosing translation languages
- Test with sample content to evaluate transcription quality
Next Steps
Use the language codes from this endpoint when creating projects:- Create Clips - Use
languageandtranslationLanguageparameters - Create Captions - Use
languageandtranslationLanguageparameters - Create Transcription - Use
languageandtranslationLanguageparameters
Was this page helpful?