LINDAT Korektor API

Public keyless REST API for Czech statistical spellchecking, diacritics generation and ranked correction suggestions, operated by UFAL at Charles University. The OpenAPI here is derived by API Evangelist from the service's published REST API reference and verified against live responses.

Operations 3

GET /models List available Korektor models #
GET /correct Auto-correct the supplied text #
GET /suggestions Generate ranked spelling suggestions for the supplied text #

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/lindat-korektor"
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-korektor-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LINDAT Korektor API
  version: '1'
  summary: Czech spellchecking, diacritics generation and correction-suggestion service operated by ÚFAL at Charles University.
  description: Public REST API for Korektor, a statistical spellchecker and diacritics generator operated by the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, and delivered through the LINDAT/CLARIAH-CZ research infrastructure.
  contact:
    name: LINDAT/CLARIAH-CZ Helpdesk
    email: lindat-help@ufal.mff.cuni.cz
    url: https://lindat.mff.cuni.cz/user_feedback
  license:
    name: CC BY-NC-SA
    url: https://creativecommons.org/licenses/by-nc-sa/4.0/
  termsOfService: https://lindat.mff.cuni.cz/en/terms-of-use
servers:
- url: https://lindat.mff.cuni.cz/services/korektor/api
  description: Production service operated by ÚFAL, Charles University
tags:
- name: korektor
  description: Spellchecking and diacritics operations
paths:
  /models:
    get:
      operationId: listKorektorModels
      summary: List available Korektor models
      description: Returns the array of available model names and the default model, guaranteed to be the latest Czech spellchecking model.
      tags:
      - korektor
      responses:
        '200':
          description: Model inventory
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
  /correct:
    get:
      operationId: correctText
      summary: Auto-correct the supplied text
      tags:
      - korektor
      parameters:
      - $ref: '#/components/parameters/Data'
      - $ref: '#/components/parameters/Model'
      - $ref: '#/components/parameters/Input'
      responses:
        '200':
          description: Corrected text
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CorrectResponse'
  /suggestions:
    get:
      operationId: suggestCorrections
      summary: Generate ranked spelling suggestions for the supplied text
      tags:
      - korektor
      parameters:
      - $ref: '#/components/parameters/Data'
      - $ref: '#/components/parameters/Model'
      - $ref: '#/components/parameters/Input'
      - name: suggestions
        in: query
        required: false
        description: Maximum number of suggestions returned for a single token.
        schema:
          type: integer
          minimum: 1
          default: 5
      responses:
        '200':
          description: Suggestion result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuggestionsResponse'
components:
  parameters:
    Input:
      name: input
      in: query
      required: false
      description: Input format to use.
      schema:
        type: string
        enum:
        - untokenized
        - untokenized_lines
        - segmented
        - vertical
        - horizontal
        default: untokenized
    Model:
      name: model
      in: query
      required: false
      description: Model to use, for example `czech-spellchecker`, `czech-diacritics_generator` or `strip_diacritics`.
      schema:
        type: string
    Data:
      name: data
      in: query
      required: true
      description: Input text in UTF-8.
      schema:
        type: string
  schemas:
    ModelList:
      type: object
      properties:
        models:
          type: array
          items:
            type: string
        default_model:
          type: string
      required:
      - models
      - default_model
    SuggestionsResponse:
      type: object
      properties:
        model:
          type: string
        acknowledgements:
          type: array
          items:
            type: string
            format: uri
        result:
          type: array
          description: Array of suggestion groups. Each group is an array of strings whose first element is the original span and whose remaining elements are suggestions ordered most to least probable. Concatenating the first elements reproduces the input.
          items:
            type: array
            items:
              type: string
      required:
      - model
      - result
    CorrectResponse:
      type: object
      properties:
        model:
          type: string
        acknowledgements:
          type: array
          items:
            type: string
            format: uri
        result:
          type: string
          description: The corrected text.
      required:
      - model
      - result