Law / Latvia

Autortiesību likums Article 21.1, Text and Data Mining Exception (Scraping and AI Training)

Autortiesību likums (scraping) 21.1 pants, pievienots ar 2023. gada 23. marta likumu 'Grozījumi Autortiesību likumā' (Latvijas Vēstnesis, 67, 04.04.2023.), stājas spēkā 05.04.2023.

A citation is an address, not a summary. The first part names the law; what follows narrows it to the exact section, article or paragraph.

In force since 5 April 2023.

A copyright and text and data mining (TDM) rule binding public and private bodies.

As of 6 September 2026.

What it requires

  • Honor a rights holder's explicit, machine-readable opt-out before relying on the general text-and-data-mining exception to reproduce a lawfully accessible work, per Article 21.1(3).
  • Keep a copy made under the text-and-data-mining exception only as long as needed for the mining itself, per Article 21.1(2).
  • A research organization or cultural heritage institution mining lawfully accessible works for scientific research is not subject to that opt-out, per Article 21.2, but that exception does not reach computer programs.

What it reaches

Obligation class

TDM

What this law does

Drafted with AI from the cited sources under the direction of UnGovr staff. UnGovr holds editorial responsibility for this page.

Article 21.1 permits reproducing a lawfully accessible work to carry out text and data mining, defined as any automated analytical technique used to analyze text and data digitally to derive information such as patterns, trends, and correlations. Copies made for that purpose may be kept only as long as needed for the mining.

A rights holder can prohibit this use by giving clear notice in an appropriate manner, and a prohibition on the online use of publicly accessible works must be given in machine-readable form, including through metadata. A separate, non-waivable exception at Article 21.2 covers a research organization or a cultural heritage institution mining lawfully accessible works for scientific research, without that opt-out, but Article 21.2(5) excludes computer programs from its scope.

When LexLint raises it

  • crawls_web
  • trains_models

Read the law

Grozījumi Autortiesību likumā (2023 Copyright Law amendments transposing Directive (EU) 2019/790), official text, likumi.lv

Back to the example  ·  Lint your app