Query OPUS corpora and languages using simple URL parameters. Call this endpoint directly from your code, or explore it in the browser.
Name of the corpus you want to query. For example: OpenSubtitles.
Source language code (e.g. en, fi).
Target language code. Combine with source to query language pairs.
Preprocessing type, for example xml.
Corpus version. Use latest to always get the latest release.
Set to True to list available corpora instead of querying a specific one.
Set to True to list available languages, optionally filtered by corpus or source.
All responses are returned as JSON. You can call this endpoint from curl, Python, JavaScript, or any HTTP client.