Translate API

API Reference

Complete reference for the Translation REST API.

API Reference

Complete reference for the Translation REST API.

Overview

Base URL: https://your-domain.com/api/v1

All requests and responses use JSON. Authentication is via Bearer token.

Authentication

Pass your operator token as a Bearer token in every request.

Authorization: Bearer opt_your-token

Create operator tokens in Account → Operator tokens. Each token is owned by your account and scoped to specific workspaces (and optionally projects).

Because a token can span multiple workspaces, endpoints accept a workspace parameter (slug or id). It is required when the token can access more than one workspace.

Endpoints

MethodEndpointDescription
POST/translateTranslate a text string
POST/detectDetect the language of one text or a batch
GET/usageGet current month usage

Language Codes

Common supported language codes:

CodeLanguageCodeLanguage
en-USEnglish (US)frFrench
deGermanesSpanish
itItalianptPortuguese
jaJapanesezhChinese
koKoreanruRussian
arArabicnlDutch
plPolishsvSwedish

Rate Limits & Quotas

Requests are rate-limited per operator token. Monthly character quotas are enforced per workspace based on your plan. Language detection (/detect) is rate-limited but does not count against the character quota.

PlanMonthly CharactersOperator tokens per workspace
Free50,0001
ProCustom10
EnterpriseUnlimitedUnlimited

On this page