Translate

Integrate Translate in minutes — REST API, WordPress plugin, and embed widgets.

https://translate.api.jetweb.appREST APIEU-hosted

Overview

The Translate API is a brand-safe, glossary-aware machine translation service covering 46 languages. It preserves your brand names, product names, and tone via rules you configure in the dashboard.

Quick start

POST the source text and a target language code. The response contains the translated string plus metadata about the glossary matches that were applied.

bash
curl -X POST https://translate.api.jetweb.app/api/translate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Welcome to our site",
    "target_lang": "de"
  }'

Authentication

Every API endpoint requires a Bearer token. Generate one in the dashboard under "API Keys" for the relevant product. Keep tokens server-side — never commit them to public repositories or ship them in frontend bundles.

bash
Authorization: Bearer YOUR_API_KEY

Endpoints

Base URL: https://translate.api.jetweb.app

POST
/api/translate
Translate a single string. Accepts text, target_lang, and optional source_lang + glossary_id.
POST
/api/translate/batch
Translate up to 500 strings in a single request. Recommended for page-scale sync jobs.
GET
/api/languages
List all supported languages with their ISO codes and display names.
GET
/api/usage
Returns the current usage quota and remaining allowance for the authenticated account.

Integrations

The WordPress plugin auto-translates pages, posts, and custom post types. For headless or custom sites, call the REST API from your build pipeline or at request time.