Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weglot Translate API

The Translate API from Weglot — 1 operation(s) for translate.

Weglot Translate API is one of 3 APIs that Weglot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Translate. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 6 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against a single base URL, https://api.weglot.com.

1 operations 1 paths 6 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.weglot.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Weglot Translate API declares 1 security scheme for authenticating requests. An API key is passed in the query as api_key (api_key). By default, every request must be authenticated.

  • api_key — Weglot project API key passed as the apikey query parameter.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Translate 1
POST
/translate
Translate an array of sentences.
translate 1 param body → 200400401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are TranslateResponse (7 properties), TranslateRequest (6 properties), Error (3 properties), Word (2 properties). Each schema is shown below with its type and property counts.

Word
object
2 properties 2 required
BotType
integer
Identifies the source of the request. 0 HUMAN, 1 OTHER, 2 GOOGLE, 3 BING, 4 YAHOO, 5 BAIDU, 6 YANDEX.
Error
object
3 properties
TranslateResponse
object
7 properties
TranslateRequest
object
6 properties 3 required
WordType
integer
Classifies the context of a piece of text so it is translated and reused appropriately. 0 OTHER (deprecated), 1 TEXT, 2 VALUE (input value attribute), 3 PLACEH…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weglot-translate-api-openapi.yml Raw ↑

Other APIs Weglot publishes across the network.

Weglot Languages API
Weglot Status API