KhaleejiAPIKhaleejiAPI
PricingDocumentationAbout
Sign InGet Started
Back to all APIs

Translation API

AI-powered translation for 22+ languages with transliteration and formality control

Category: UtilitiesEndpoint: /v1/translate

Avg Response

<50ms

Uptime SLA

99.99%

Free Tier

1,000/mo

Quick Start

JavaScript / TypeScript

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
const client = new KhaleejiAPI({ apiKey: 'your_api_key' });
// AI-powered translation
const result = await client.communication.translateAI({
text: 'Hello, how are you?',
target: 'ar',
formality: 'formal',
});
console.log(result.translatedText); // "مرحباً، كيف حالك؟"
console.log(result.transliteration); // "marhaban, kayf halak?"
console.log(result.confidence); // 0.95

Python

python
from khaleejiapi import KhaleejiAPI
client = KhaleejiAPI('your_api_key')
# AI-powered translation
result = client.communication.translate_ai(
text="Hello, how are you?",
target="ar",
formality="formal"
)
print(result["translatedText"]) # "مرحباً، كيف حالك؟"
print(result["transliteration"]) # "marhaban, kayf halak?"
print(result["confidence"]) # 0.95

cURL

curl
curl -X POST "https://khaleejiapi.dev/api/v1/translate" \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{"text":"Hello, how are you?","target":"ar","formality":"formal"}'
Get Your API KeyView Documentation

Related APIs

QR Code Generator

Generate QR codes with custom colors, logos, and formats

Weather API

Real-time weather and 7-day forecasts for MENA cities via Open-Meteo

Hijri Calendar

Convert between Gregorian and Hijri calendars with full date details

QR Code GeneratorWeather API
KhaleejiAPIKhaleejiAPI

Fast, affordable APIs built in Dubai for developers across the Middle East.

All systems operational

APIs

  • Email Validation
  • Phone Validation
  • VAT Validation
  • IP Geolocation
  • Exchange Rates
  • Image Processing
  • View all →

Resources

  • Documentation
  • API Reference
  • SDKs
  • Status
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • DPA

© 2026 KhaleejiAPI. All rights reserved.

Made with love in Dubai by Berd-i & Sons