Excentia API Documentation
Integrate Excentia's multilingual AI to translate, understand, and process over 22+ Indian languages in seconds.
Our API enables developers to integrate intelligent translation and contextual understanding capabilities into any product or workflow.
Getting Started
Welcome to the Excentia API documentation. This guide will help you integrate our multilingual AI translation and processing capabilities into your applications.
To get started, you'll need:
- An Excentia account (sign up for free at excentia.ai)
- An API key from your dashboard
- Basic knowledge of REST APIs
Authentication
Each request to the Excentia API requires an API key. You can generate and manage your API keys from your Excentia Dashboard.
Authentication Header
Authorization: Bearer YOUR_EXCENTIA_API_KEYBase URL
All API requests are made to the following base URL:
https://api.excentia.ai/v1/API Reference
Translate Text
Translate content between over 22+ Indian languages including Hindi, Tamil, Telugu, Bengali, Marathi, and more. Supports automatic language detection and mixed-language inputs like Hinglish.
Example Request
import requests
url = "https://api.excentia.ai/v1/translate"
headers = {
"Authorization": "Bearer YOUR_EXCENTIA_API_KEY",
"Content-Type": "application/json"
}
data = {
"text": "Hello, how are you?",
"target_language": "hi"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())Example Response
{
"translated_text": "नमस्ते, आप कैसे हैं?",
"source_language": "en",
"target_language": "hi",
"confidence": 0.98
}Rate Limits
To ensure fair usage, Excentia applies rate limits based on your plan:
- Free Plan: 500 requests / month
- Pro Plan: 100,000 requests / month
- Enterprise: Custom limits
If you exceed your plan limits, you'll receive:
{
"error": "Rate limit exceeded",
"retry_after": 3600
}Pricing
Flexible plans for developers, startups, and enterprises.
| Plan | Requests/month | Support | Price |
|---|---|---|---|
| Free | 500 | Basic | $0 |
| Pro | 100,000 | Priority | $49 |
| Enterprise | Custom | Dedicated | Custom |
Error Codes
The Excentia API uses standard HTTP response codes to indicate success or failure of requests.
| Code | Message | Meaning |
|---|---|---|
| 401 | Invalid API key | API key missing or incorrect |
| 403 | Access denied | Plan limit or permission issue |
| 429 | Rate limit exceeded | Too many requests |
| 500 | Internal server error | Temporary issue on our side |
SDKs & Integration
Quickly connect Excentia API to your app in minutes. Below is a simple integration example using Node.js:
Node.js / TypeScript
import { ExcentiaClient } from "@excentia/sdk";
const client = new ExcentiaClient({
apiKey: process.env.EXCENTIA_API_KEY
});
// Translate to Hindi
const result = await client.translate({
text: "Good morning, everyone!",
targetLanguage: "hi"
});
console.log(result.translatedText);
// Output: "सुप्रभात, सभी!"cURL
curl -X POST https://api.excentia.ai/v1/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Good morning, everyone!",
"target_language": "hi"
}'