LINDAT Translation Languages API

Source and target language operations of the LINDAT Machine Translation API, operated by the Institute of Formal and Applied Linguistics (UFAL) at Charles University. Translation is performed by posting text to a language pair. Refined by API Evangelist from the upstream Swagger 2.0 specification published by the service itself.

Operations 3

GET /languages/ Returns a list of available languages #
POST /languages/ Translate input from src lang to tgt lang #
GET /languages/{language} Returns a language resource object #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/charles-languages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

charles-languages-api-openapi.yml Raw ↑
# Provenance: Per-tag split by refine-openapis from openapi/_original/charles-lindat-translation.yaml.
# method: derived
# x-source-url: https://lindat.mff.cuni.cz/services/translation/api/v2/swagger.json
# x-operator: institution (UFAL, Faculty of Mathematics and Physics, Charles University)
openapi: 3.2.0
info:
  title: LINDAT Translation Languages API
  version: '2.0'
  description: Public REST API for neural machine translation operated by the Institute of Formal and Applied Linguistics (UFAL) at Charles University as part of the LINDAT/CLARIAH-CZ research infrastructure. Converted faithfully from the upstream Swagger 2.0 specification at https://lindat.mff.cuni.cz/services/translation/api/v2/swagger.json
servers:
- url: https://lindat.mff.cuni.cz/services/translation/api/v2
tags:
- name: languages
  description: Operations with source and target languages
paths:
  /languages/:
    get:
      operationId: get_language_collection
      summary: Returns a list of available languages
      tags:
      - languages
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanguagesResource'
    post:
      operationId: post_language_collection
      summary: Translate input from src lang to tgt lang
      description: It expects the text in variable called `input_text` and handles both "application/x-www-form-urlencoded" and "multipart/form-data" (for uploading text/plain files)
      tags:
      - languages
      parameters:
      - name: src
        in: query
        description: src query param description
        schema:
          type: string
        example: en
      - name: tgt
        in: query
        description: tgt query param description
        schema:
          type: string
        example: cs
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                input_text:
                  type: string
                  description: text to translate
                  example: this is a sample text
          multipart/form-data:
            schema:
              type: object
              properties:
                input_text:
                  type: string
                  description: text to translate
                  example: this is a sample text
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
            text/plain:
              schema:
                type: string
        '415':
          description: You sent a file but it was not text/plain
  /languages/{language}:
    get:
      operationId: get_language_item
      summary: Returns a language resource object
      tags:
      - languages
      parameters:
      - name: language
        in: path
        required: true
        description: Language code
        schema:
          type: string
        example: en
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LanguageResource'
components:
  schemas:
    LanguageResourceLinks:
      type: object
      properties:
        translate:
          $ref: '#/components/schemas/Link'
        sources:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        targets:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        self:
          $ref: '#/components/schemas/Link'
    LanguageResource:
      type: object
      properties:
        _links:
          $ref: '#/components/schemas/LanguageResourceLinks'
        name:
          type: string
          example: cs
        title:
          type: string
          example: Czech
    LanguageLinks:
      type: object
      properties:
        item:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        self:
          $ref: '#/components/schemas/Link'
        translate:
          $ref: '#/components/schemas/Link'
    Link:
      type: object
      properties:
        href:
          type: string
        name:
          type: string
        title:
          type: string
        type:
          type: string
        deprecation:
          type: string
        profile:
          type: string
        templated:
          type: boolean
        hreflang:
          type: string
    EmbeddedLanguages:
      type: object
      properties:
        item:
          type: array
          items:
            $ref: '#/components/schemas/LanguageResource'
    LanguagesResource:
      type: object
      properties:
        _links:
          $ref: '#/components/schemas/LanguageLinks'
        _embedded:
          $ref: '#/components/schemas/EmbeddedLanguages'