Build Multilingual Apps with Uptexty API

Integrate AI-powered translation directly into your platform—instantly translate text, documents, even images with a single API.

Core API Features

Text Translation Endpoint
POST /v1/translate/text
Translate plain text between 100+ languages in real time. Params: source_lang, target_lang, text, optional tone, formality, dialect.
Document Translation Endpoint
POST /v1/translate/document/sync | /async
Batch or single‑file translation with formatting preserved—for Word, PDF, Excel, image‑based text (OCR).
Context & Style Control
Glossary & Product Context
Apply custom glossaries or pre-trained context for domain-specific accuracy. Use glossary_id or product_context in your call.

Why Developers ❤️ It

Easy to Integrate

RESTful JSON API with standard auth headers.

Scalable & Reliable

Handles live and batch jobs; queueing support available.

Secure & Private

Encrypted in transit, no data retention, supports GDPR.

Flexible Quality

Choose tone, formality, dialect customization per request.

Code Snippets

cURL Example
curl -X POST https://api.uptexty.com/v1/translate/text   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{
    "source_lang":"en",
    "target_lang":"ne",
    "text":"Hello, world!",
    "tone":"formal"
}'
JavaScript Example (Node.js)
const res = await fetch('https://api.uptexty.com/v1/translate/text', {
  method:'POST',
  headers:{
    'Authorization':Bearer undefined,
    'Content-Type':'application/json'
  },
  body: JSON.stringify({
    source_lang:'en',
    target_lang:'es',
    text:'Welcome to Uptexty!',
    formality:'casual'
  })
});
const { translated_text } = await res.json();
console.log(translated_text);

API Reference Structure

Authentication
API key header examples & rate limits
Endpoints Overview
  • /translate/text
  • /translate/document/sync
  • /translate/document/async
  • /glossaries
  • /languages

Best Practices

Cache Translations
Cache translations to reduce API calls and speed up response.
Use Glossaries
Use glossaries for consistent translation of brand/product terms.
Handle Errors Gracefully
Retry on 429 or 5xx errors, and monitor usage/rate limits.
Monitor Usage
Monitor usage and rate limits for quota planning.

Use Cases

Website Localization
Dynamic, cached translations
Automatically detect language, cache pages, serve translations dynamically.
E‑commerce Platforms
Real-time product & chat translation
Translate product data, reviews, customer chats in real time.
Document Workflows
Batch translation for docs
Integrate batch translation for contracts, reports, manuals.
Try the API Playground

Send a test request, view live translations, and explore sample keys.

Resources & Support

Full API Docs
Reference & Examples
Comprehensive documentation and sample requests.
SDKs
Python, Node.js, Java
Official libraries for fast integration.
Dev Community
Forums, GitHub, FAQ
Join the community for support and tips.
Ready to power your product with multilingual support?