Translation API for Developers
Integrate powerful AI translation into your applications with just a few lines of code. Translate articles, on-site texts, and more in one click.
Get translations in milliseconds with our optimized API infrastructure
Support for dozens of languages with accurate AI-powered translation
Enterprise-grade security with unique keys for each company
Step 1: Get Your API Key
Contact us to receive your unique API key (uniqueKey) that identifies your company. This key is required for all API requests.
Step 2: Get Available Languages
Fetch the list of available languages and their IDs using our languages endpoint:
GET https://content.api24.ge/api/LanguageStep 3: Translate Your Text
Send your text for translation using our translation endpoint. Simply provide the text, target language ID, and your unique key.
Translation Endpoint
POST https://content.api24.ge/api/Content/translateHTTP POST request with JSON body
Request Body
Send your translation request with the following JSON structure:
{
"description": "Text to translate",
"languageId": 2,
"uniqueKey": "your-unique-key-here"
}Response
A successful response will return the translated text:
{
"translatedText": "Translated text here",
"status": "success"
}Enhance Translation Endpoint
POST https://content.api24.ge/api/Content/enhance-translateHTTP POST request with JSON body
Request Body
Send your enhancement request with the following JSON structure:
{
"userInput": "Original text to enhance",
"translateOutput": "Translated text to enhance",
"targetLanguageId": 2,
"uniqueKey": "your-unique-key-here"
}Response
A successful response will return the enhanced translation:
{
"enhancedText": "Enhanced and improved translated text",
"status": "success"
}JavaScript / TypeScript
async function translateText(text, languageId, uniqueKey) {
const response = await fetch('POST https://content.api24.ge/api/Content/translate', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
description: text,
languageId: languageId,
uniqueKey: uniqueKey
})
});
const result = await response.json();
return result.translatedText;
}Python
import requests
def translate_text(text, language_id, unique_key):
url = "POST https://content.api24.ge/api/Content/translate"
payload = {
"description": text,
"languageId": language_id,
"uniqueKey": unique_key
}
response = requests.post(url, json=payload)
result = response.json()
return result["translatedText"]cURL
curl -X POST "POST https://content.api24.ge/api/Content/translate" \
-H "Content-Type: application/json" \
-d '{
"description": "Text to translate",
"languageId": 2,
"uniqueKey": "your-unique-key-here"
}'Enhance Translation Code Examples
Code snippets for enhancing translations in popular programming languages
JavaScript / TypeScript
async function enhanceTranslation(userInput, translateOutput, targetLanguageId, uniqueKey) {
const response = await fetch('POST https://content.api24.ge/api/Content/enhance-translate', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
userInput: userInput,
translateOutput: translateOutput,
targetLanguageId: targetLanguageId,
uniqueKey: uniqueKey
})
});
const result = await response.json();
return result.enhancedText;
}Python
import requests
def enhance_translation(user_input, translate_output, target_language_id, unique_key):
url = "POST https://content.api24.ge/api/Content/enhance-translate"
payload = {
"userInput": user_input,
"translateOutput": translate_output,
"targetLanguageId": target_language_id,
"uniqueKey": unique_key
}
response = requests.post(url, json=payload)
result = response.json()
return result["enhancedText"]cURL
curl -X POST "POST https://content.api24.ge/api/Content/enhance-translate" \
-H "Content-Type: application/json" \
-d '{
"userInput": "Original text",
"translateOutput": "Translated text",
"targetLanguageId": 2,
"uniqueKey": "your-unique-key-here"
}'Use this endpoint to retrieve all available languages and their IDs:
GET https://content.api24.ge/api/LanguageThe response is an array of language objects with the following structure:
| Language ID | English Name | Georgian Name |
|---|---|---|
| 1 | Georgian Language | ქართული |
| 2 | English Language | ინგლისური |
| 3 | Greek Language | ბერძნული |
| 4 | Latvian Language | ლატვიური |
| 5 | Slovenian Language | სლოვენიური |
| 6 | Azerbaijani Language | აზერბაიჯანული |
| 7 | Turkish Language | თურქული |
| 8 | German Language | გერმანული |
| 9 | Armenian Language | სომხური |
| 11 | Slovak Language | სლოვაკური |
| 12 | French Language | ფრანგული |
| 13 | Italian Language | იტალიური |
| 15 | Latin | ლათინური |
| 16 | Russian Language | რუსული |
| 17 | Japanese | იაპონური |
| 18 | Chinese | ჩინური |
| 19 | Serbian language | სერბული |
| 20 | Urdu Language | ურდუ |
| 21 | Spanish Language | ესპანური |
| 22 | Hebrew Language | ივრითი |
| 23 | Portuguese Language | პორტუგალიური |
| 24 | Finish Language | ფინური |
| 31 | Ukrainian Language | უკრაინული |
| 32 | Polish Language | პოლონური ენა |
| 33 | Arabic Language | არაბული ენა |
Show JSON response example
[
{
"id": 1,
"name": "Georgian Language",
"nameGeo": "ქართული"
},
{
"id": 2,
"name": "English Language",
"nameGeo": "ინგლისური"
}
]Ready to Get Started?
Contact us today to receive your unique API key and start translating content in seconds
Contact Us