OPSI (data.gov.si)
podatki.gov.si
Slovenia's national open-data portal.
GET /v1/data/datagovsi/dataset1Request
The dataset's CKAN name (slug) or UUID, as returned by the search capability.
curl "https://api.fastcrw.com/v1/data/datagovsi/dataset?id=surs2219454s" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from OPSI (data.gov.si).
{
"help": "https://podatki.gov.si/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"license_title": "",
"maintainer": null,
"licence": "Priznanje avtorstva (CC BY 4.0)",
"relationships_as_object": [],
"tag_string": "Statistični urad Republike Slovenije, statistični podatki",
"publisher": "VLADA REPUBLIKE SLOVENIJE STATISTIČNI URAD REPUBLIKE SLOVENIJE",
"private": false,
"maintainer_email": "surs.si-stat@gov.si",
"revision_timestamp": "2020-07-22T23:30:45.274471",
"organization": {
"description": "",
"created": "2016-11-09T19:16:39.119000",
"title": "VLADA REPUBLIKE SLOVENIJE STATISTIČNI URAD REPUBLIKE SLOVENIJE",
"name": "vlada_republike_slovenije_statisticni_urad_republike_slovenije",
"revision_timestamp": "2016-11-09T18:14:18.421616",
"is_organization": true,
"state": "active",
"image_url": "",
"revision_id": "361ed549-3111-4dac-bce8-50740eb5cd9b",
"type": "organization",
"id": "5022932000",
"approval_status": "approved"
},
"foi-email": "gp.surs@gov.si",
"dostopnost_zbirke": "Podatki so objavljeni kot odprti podatki",
"id": "c224af28-1850-4f4a-8502-a7edc7fc5b53",
"metadata_created": "2017-09-05T09:59:42.332959",
"municipal": false,
"pogoji_licence": "Ni omejitev (navedba vira)",
"metadata_modified": "2026-07-21T23:30:19.164101",
"author": null,
"author_email": null,
"geographic_coverage": "Slovenija",
"state": "active",
"version": null,
"archiver": {
"status": "Archived successfully",
"is_broken": false,
"reason": "",
"status_id": 0
},
"opsi_tip": "1",
"license_id": "",
"type": "dataset",
"unpublished": "false",
"resources": [
{
"hash": "",
"description": "Pristaniški potniški promet, Slovenija, letno",
"created": "2018-04-06T01:30:44.655997",
"url": "https://pxweb.stat.si/SiStatData/Resources/PX/Databases/Data/2219454S.PX",
"format": "PCAXIS",
"qa": {
"updated": "2024-10-28T07:34:48.258576",
"openness_score": 3,
"archival_timestamp": "2024-07-23T06:07:04.392168",
"format": "PCAXIS",
"created": "2018-04-06T01:31:01.666931",
"resource_timestamp": null,
"openness_score_reason": "Lokalna kopija ne obstaja, uporabljena prejšnja ocena: Zbirka vsebuje datoteke formata PCAXIS, kar zadošča za oceno 3."
},
"tracking_summary": {
"total": 0,
"recent": 0
},
"archiver": {
"is_broken_printable": "Downloaded OK",
"updated": "2024-07-23T06:07:04.392168",
"cache_filepath": "/var/ckan/resource_cache/0c/0c46cbc3-2389-479e-b714-5671549992e5/2219454S.PX",
"last_success": "2024-07-23T06:07:04.392168",
"size": "11596",
"is_broken": false,
"failure_count": 0,
"etag": "\"1DAAA91CEF51900\"",
"status": "Archived successfully",
"url_redirected_to": null,
"hash": "084f1afa6d5279f849e4aa371af0d7b95e0aad80",
"status_id": 0,
"reason": "",
"last_modified": "Mon, 20 May 2024 08:43:38 GMT",
"resource_timestamp": "2020-07-22T23:30:45.274471",
"mimetype": "application/octet-stream",
"cache_url": "http://localhost:5000/data/resource_cache/0c/0c46cbc3-2389-479e-b714-5671549992e5/2219454S.PX",
"created": "2018-04-06T01:31:00.109827",
"first_failure": null
},
"position": 0,
"revision_id": "772c33d3-ef45-42d1-8a93-98cc28452b10",
"datastore_active": false,
"id": "0c46cbc3-2389-479e-b714-5671549992e5",
"name": ""
},
{
"hash": "",
"description": "Izbor podatkov",
"created": "2019-07-23T01:51:52.232027",
"url": "https://pxweb.stat.si/SiStatData/pxweb/sl/Data/-/2219454S.PX",
…truncatedAttribution: Vir: OPSI, podatki.gov.si
Licence: CC BY 4.0 for data published on the portal as open data, stated verbatim in the general terms of use (Slovenian Act on Access to Public Information, art. 10.b).
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 OPSI (data.gov.si) (datagovsi) from fastCRW Pergamon, capability "Dataset detail" (dataset). You have an OPSI dataset name or id and want its metadata and the URLs of its files. Example options: id=surs2219454s. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovsi" 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 search
Use OPSI (data.gov.si) (datagovsi) from fastCRW Pergamon, capability "Dataset search" (datasets). You are looking for Slovenian datasets by keyword, organisation or tag and do not yet have an id. Example options: q=promet, 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 "datagovsi" 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 list
Use OPSI (data.gov.si) (datagovsi) from fastCRW Pergamon, capability "Licence list" (licenses). You need to resolve a license_id seen on a dataset, or check which licences are considered open here. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovsi" and capability "licenses". 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>
Organisation detail
Use OPSI (data.gov.si) (datagovsi) from fastCRW Pergamon, capability "Organisation detail" (organization). You have an organisation name from a search result and want its profile and its datasets. Example options: id=vlada_republike_slovenije_statisticni_urad_republike_slovenije. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "datagovsi" and capability "organization". 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>
