Data API

Public, read-only HTTP interface over the Lithuanian Data Portal data lake — Apache Iceberg tables and stored files, queried through Trino. No authentication is required.

Last updated on

Public, read-only HTTP interface over the Lithuanian Data Portal data lake — Apache Iceberg tables and stored files, queried through Trino. No authentication is required.

Browse namespaces and read table schemas with GET; query and export table rows with POST (the body only carries the query definition — the API stays read-only). Read rows as JSON, or export whole tables as NDJSON, JSON, CSV, Excel or Parquet. See the Guides for concepts, the real query grammar, and worked examples.

Base URL & access

All examples call https://api.dataportal.gov.lt. The API is public and needs no key or token. For browser apps: the API doesn't send CORS headers, so call it from your own server (or, in these docs, through the built-in proxy).

Explore by area

OpenAPI bundle

Download the full spec (with servers injected at runtime) from /api/openapi. If the API blocks browser CORS, the playground can use the docs /api/proxy endpoint.

How is this guide?