Skip to main content
All providers

data.gov.lv

Open data portalsLV

data.gov.lv

The Latvian national open-data catalogue, almost entirely CC0.

Capabilities (18)

GET /v1/data/datagovlv/dataset1 credit

Full metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.

id
GET /v1/data/datagovlv/dataset-dcat1 credit

One dataset serialised as DCAT-AP RDF in JSON-LD, with dcat:Distribution nodes for each resource (the EU data.europa.eu interchange form rather than CKAN's native shape).

id
GET /v1/data/datagovlv/dataset-names1 credit

Flat JSON array of every dataset slug on the portal, in alphabetical order.

limit?offset?
GET /v1/data/datagovlv/datasets1 credit

Solr-backed search over every dataset published on the Latvian open data portal; returns a page of 20 full dataset records plus the total match count and facets.

q?fq?sort?start?facet.field?
GET /v1/data/datagovlv/dataset-suggest1 credit

Lightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.

qlimit?
GET /v1/data/datagovlv/group1 credit

Metadata for one thematic group: title, description, image and dataset count.

idinclude_datasets?include_extras?
GET /v1/data/datagovlv/group-datasets1 credit

A page of up to 20 full dataset records belonging to one thematic group, with the group's total count.

groupq?sort?start?
GET /v1/data/datagovlv/groups1 credit

Every thematic group (subject category) on the portal with its name, display title, description and dataset count.

limit?offset?sort?
GET /v1/data/datagovlv/licenses1 credit

Every licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.

No parameters
GET /v1/data/datagovlv/organization1 credit

Metadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.

idinclude_datasets?include_extras?include_followers?
GET /v1/data/datagovlv/organization-datasets1 credit

A page of up to 20 full dataset records published by one organization, with the total count for that publisher.

organizationq?sort?start?
GET /v1/data/datagovlv/organizations1 credit

Every publishing organization on the portal with its name, display title, description, image and dataset count.

limit?offset?sort?
GET /v1/data/datagovlv/resource1 credit

Metadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.

id
GET /v1/data/datagovlv/resource-rows1 credit

Up to 100 parsed rows of a tabular resource straight from CKAN's DataStore, with the column schema and total row count, so no file download or CSV parsing is needed.

resource_idq?offset?fields?sort?filters?distinct?include_total?plain?
GET /v1/data/datagovlv/resource-search1 credit

Searches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.

queryoffset?order_by?
GET /v1/data/datagovlv/site-status1 credit

The portal's CKAN version, site title, locale and the list of installed CKAN extensions.

No parameters
GET /v1/data/datagovlv/tag1 credit

The id, name and vocabulary of one tag, and optionally every dataset carrying it.

idinclude_datasets?vocabulary_id?
GET /v1/data/datagovlv/tags1 credit

Flat JSON array of every free tag used on the portal.

query?vocabulary_id?

Response example

The shape of data from datagovlv/dataset (Dataset detail). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "help": "https://data.gov.lv/dati/lv/api/3/action/help_show?name=package_show",
  "success": true,
  "result": {
    "applicable_legislation": "http://data.europa.eu/eli/reg_impl/2023/138/oj",
    "author": null,
    "author_email": null,
    "creator_user_id": "a3e5c20b-17d7-45e6-b100-2d190fa0ff11",
    "frequency": "http://publications.europa.eu/mdr/authority/frequency/CONT",
    "hvd_category": "http://data.europa.eu/bna/c_164e0bf5",
    "id": "40d80be5-0c09-47c4-80f3-fad4bec19f33",
    "isopen": false,
    "issued": "2024-07-09",
    "language": "lv",
    "license_id": "CC0-1.0",
    "license_title": "CC0-1.0",
    "maintainer": "",
    "maintainer_email": "meteo.dati@lvgmc.lv",
    "metadata_created": "2022-10-25T15:09:41.515722",
    "metadata_modified": "2026-10-21T02:32:39.397932",
    "modified": "2024-10-14",
    "name": "hidrometeorologiskie-noverojumi",
    "notes": "Meteoroloģiskie un hidroloģiskie operatīvie dati par pēdējo stundu. Meteoroloģiskie un hidroloģiskie arhīva dati par pēdējām 365 dienām.",
    "num_resources": 11,
    "num_tags": 3,
    "organization": {
      "id": "3be449dc-edf3-46ae-a089-4e27ef5abd60",
      "name": "lvgmc",
      "title": "Latvijas Vides, ģeoloģijas un meteoroloģijas centrs",
      "type": "organization",
      "description": "Sniegt valsts attīstībai stratēģiski svarīgus augstas kvalitātes pakalpojumus ģeoloģijas, hidroloģijas, gaisa kvalitātes, klimatoloģijas, meteoroloģijas un bīstamo atkritumu apsaimniekošanas jomā, kā arī nodrošināt šo pakalpojumu sniegšanai nepieciešamās infrastruktūras efektīvu pārvaldīšanu.",
      "image_url": "2017-09-12-052658.942827LVGMC1300-AM.png",
      "created": "2017-06-16T09:04:49.460583",
      "is_organization": true,
      "approval_status": "approved",
      "state": "active"
    },
    "owner_org": "3be449dc-edf3-46ae-a089-4e27ef5abd60",
    "private": false,
    "spatial_text": "Latvija",
    "state": "active",
    "title": "Hidrometeoroloģiskie novērojumi",
    "type": "dataset",
    "url": null,
    "version": null,
    "groups": [
      {
        "description": "",
        "display_name": "Vide",
        "id": "e479940a-ec31-4b14-971e-b6c961ae486e",
        "image_display_url": "",
        "name": "vide",
        "title": "Vide"
      }
    ],
    "resources": [
      {
        "cache_last_updated": null,
        "cache_url": "",
        "conformsTo": "",
        "created": "2022-10-25T15:10:27.134188",
        "datastore_active": true,
        "description": "Datu kopa satur meteoroloģisko parametru mērījumus par pēdējām 48 stundām. Datu kopa tiek atjaunota ik stundu. \r\n\r\nOperatīvajiem datiem veikta tikai pamata datu kontrole, līdz ar to iespējamas atšķirības vērtības, pēc tam, kad datiem veikta papildu datu pārbaude. \r\n\r\n**Station_id** – Meteoroloģiskās…",
        "format": "CSV",
        "hash": "",
        "id": "17460efb-ae99-4d1d-8144-1068f184b05f",
        "last_modified": "2026-10-21T02:17:09.593414",
        "metadata_modified": "2026-10-21T02:17:09.631911",
        "mimetype": "text/csv",
        "mimetype_inner": "",
        "name": "Meteoroloģiskie operatīvie dati",
        "package_id": "40d80be5-0c09-47c4-80f3-fad4bec19f33",
        "package_name": "hidrometeorologiskie-noverojumi",
        "package_title": "Hidrometeoroloģiskie novērojumi",
        "position": 0,
        "resource_type": "",
        "size": 1542057,
        "state": "active",
        "url": "https://data.gov.lv/dati/dataset/40d80be5-0c09-47c4-80f3-fad4bec19f33/resource/17460efb-ae99-4d1d-8144-1068f184b05f/download/meteo_operativie_dati.csv",
        "url_type": "upload"
      },
      {
        "cache_last_updated": null,
        "cache_url": "",
        "conformsTo": "",
        "created": "2022-10-25T15:11:10.300536",
        "datastore_active": "true",
        "description": "Datu kopa satur hidroloģisko parametru mērījumus par pēdējām 48 stundām. Datu kopa tiek atjaunota ik stundu. \r\n\r\nOperatīvajiem datiem veikta tikai pamata datu kont

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Dataset detail

    Use data.gov.lv (datagovlv) from fastCRW Pergamon, capability "Dataset detail" (dataset). You already have a dataset name or UUID from a search and need its resources, licence or full description. Example options: id=hidrometeorologiskie-noverojumi. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovlv" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset as DCAT-AP JSON-LD

    Use data.gov.lv (datagovlv) from fastCRW Pergamon, capability "Dataset as DCAT-AP JSON-LD" (dataset-dcat). You are feeding a European data catalogue or an RDF pipeline and want standards-shaped metadata instead of CKAN's package dict. Example options: id=hidrometeorologiskie-noverojumi. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovlv" and capability "dataset-dcat". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • All dataset names

    Use data.gov.lv (datagovlv) from fastCRW Pergamon, capability "All dataset names" (dataset-names). You want the complete inventory of dataset ids to iterate over, rather than a scored search page. Example options: limit=100, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovlv" and capability "dataset-names". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Dataset search

    Use data.gov.lv (datagovlv) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on this portal by keyword, filter, or recency, and you do not already know a dataset id. Example options: q=statistika, fq=res_format:CSV, sort=metadata_modified desc. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovlv" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

Per dataset. Measured live: CC0-1.0 on 1,446 of 1,567 datasets (92.3%) and CC BY 4.0 on 121 (7.7%).

https://data.gov.lv/dati/lv

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: data.gov.lv

Cache: up to 3600s