Weglot

Weglot is a website translation platform that detects, translates, and displays multilingual content with no code changes. Its REST API at https://api.weglot.com powers machine and human translation of arrays of sentences between languages, exposes the catalog of supported languages, and is the same translation service used by the Weglot JavaScript, WordPress, Shopify, and CMS integrations.

3 APIs 0 Features
TranslationLocalizationInternationalizationMachine TranslationMultilingual

APIs

Weglot Translate API

Translates an array of sentences from a source language to a target language via POST /translate, authenticated with an api_key query parameter. Each word carries a WordType cla...

Weglot Languages API

Public, unauthenticated endpoints that list every supported language (code, local name, English name) and check whether a given source/target language pair is supported for tran...

Weglot Status API

A public, unauthenticated health-check endpoint that returns HTTP 200 when the Weglot translation API is operational.

Collections

Pricing Plans

Weglot Plans Pricing

7 plans

PLANS

Rate Limits

Weglot Rate Limits

3 limits

RATE LIMITS

FinOps

Weglot Finops

FINOPS

Resources

🔗
TrustCenter
TrustCenter
🔗
VulnerabilityDisclosure
VulnerabilityDisclosure
🔗
DomainSecurity
DomainSecurity
🔑
Authentication
Authentication
👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
📰
Blog
Blog

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Weglot Translation API
  version: '1.0'
request:
  auth:
    type: apikey
    key: api_key
    in: query
items:
- info:
    name: Translate
    type: folder
  items:
  - info:
      name: Translate an array of sentences.
      type: http
    http:
      method: POST
      url: https://api.weglot.com/translate?api_key={{apiKey}}
      body:
        type: json
        data: "{\n  \"l_from\": \"en\",\n  \"l_to\": \"fr\",\n  \"request_url\": \"https://www.example.com/\",\n  \"title\"\
          : \"Example\",\n  \"bot\": 0,\n  \"words\": [\n    { \"w\": \"Hello world\", \"t\": 1 }\n  ]\n}"
    docs: Translates an array of sentences from a source language (l_from) to a destination language (l_to). Each word carries
      a WordType (t) and the request carries an optional BotType (bot). Authenticated with the api_key query parameter.
- info:
    name: Languages
    type: folder
  items:
  - info:
      name: List supported languages.
      type: http
    http:
      method: GET
      url: https://api.weglot.com/public/languages
    docs: Returns the full list of languages Weglot supports, each with code, local_name, and english_name. No authentication
      required.
  - info:
      name: Check language pair support.
      type: http
    http:
      method: GET
      url: https://api.weglot.com/public/languages/is-supported?languageFrom=en&languageTo=fr
    docs: Checks whether translation is supported for a given source/target language pair. No authentication required.
- info:
    name: Status
    type: folder
  items:
  - info:
      name: API health check.
      type: http
    http:
      method: GET
      url: https://api.weglot.com/public/status
    docs: Returns HTTP 200 with no content when the Weglot API is operational. No authentication required.