Zagreb Open Data Portal
Open data portalsHRdata.zagreb.hr
The City of Zagreb's open data portal: CKAN datasets on city services, budgets, transport and the environment.
Capabilities (18)
GET /v1/data/data-zagreb-hr/dataset1 creditFull metadata for one dataset: title, notes, licence, organization, tags, extras and the complete resource list with download URLs and formats.
GET /v1/data/data-zagreb-hr/dataset-dcat1 creditOne 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).
GET /v1/data/data-zagreb-hr/dataset-names1 creditFlat JSON array of every dataset slug on the portal, in alphabetical order.
GET /v1/data/data-zagreb-hr/datasets1 creditSolr-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.
GET /v1/data/data-zagreb-hr/dataset-suggest1 creditLightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.
GET /v1/data/data-zagreb-hr/group1 creditMetadata for one thematic group: title, description, image and dataset count.
GET /v1/data/data-zagreb-hr/group-datasets1 creditA page of up to 20 full dataset records belonging to one thematic group, with the group's total count.
GET /v1/data/data-zagreb-hr/groups1 creditEvery thematic group (subject category) on the portal with its name, display title, description and dataset count.
GET /v1/data/data-zagreb-hr/licenses1 creditEvery licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.
GET /v1/data/data-zagreb-hr/organization1 creditMetadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.
GET /v1/data/data-zagreb-hr/organization-datasets1 creditA page of up to 20 full dataset records published by one organization, with the total count for that publisher.
GET /v1/data/data-zagreb-hr/organizations1 creditEvery publishing organization on the portal with its name, display title, description, image and dataset count.
GET /v1/data/data-zagreb-hr/resource1 creditMetadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.
GET /v1/data/data-zagreb-hr/resource-rows1 creditUp 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.
GET /v1/data/data-zagreb-hr/resource-search1 creditSearches resource metadata (not datasets) across the whole portal and returns up to 50 matching resource records with their download URLs.
GET /v1/data/data-zagreb-hr/site-status1 creditThe portal's CKAN version, site title, locale and the list of installed CKAN extensions.
GET /v1/data/data-zagreb-hr/tag1 creditThe id, name and vocabulary of one tag, and optionally every dataset carrying it.
GET /v1/data/data-zagreb-hr/tags1 creditFlat JSON array of every free tag used on the portal.
Response example
The shape of data from data-zagreb-hr/dataset (Dataset detail). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"help": "https://data.zagreb.hr/api/3/action/help_show?name=package_show",
"success": true,
"result": {
"author": "",
"author_email": "",
"creator_user_id": "e6b196ce-9307-47b9-ad4a-c1515bd19fbc",
"id": "7ff5514d-0a1f-4f6c-86bd-8ed9a3c55eee",
"isopen": false,
"license_id": "open-license",
"license_title": "Otvorena dozvola (OD)",
"license_url": "http://data.gov.hr/otvorena-dozvola",
"maintainer": "",
"maintainer_email": "",
"metadata_created": "2025-05-15T11:07:02.905588",
"metadata_modified": "2026-10-23T19:44:42.881014",
"name": "prometnice",
"notes": "Ovaj skup podataka sadrži informacije o trenutno zatvorenim prometnicama na području Grada Zagreba, uključujući očekivani rok za ponovno puštanje u promet.\r\nPodaci se na Portalu otvorenih podataka (data.zagreb.hr) osvježavaju u intervalu od 3 minute.",
"num_resources": 3,
"num_tags": 7,
"organization": {
"id": "24e97b37-a9f4-4d57-971b-483e8cb23ecd",
"name": "grad-zagreb",
"title": "Grad Zagreb",
"type": "organization",
"description": " ",
"image_url": "2023-12-19-081841.538857CoatofarmsofZagreb.png",
"created": "2016-05-31T10:49:01.079546",
"is_organization": true,
"approval_status": "approved",
"state": "active"
},
"owner_org": "24e97b37-a9f4-4d57-971b-483e8cb23ecd",
"private": false,
"state": "active",
"title": "Zatvaranje prometnica na području Grada Zagreba",
"type": "dataset",
"url": "",
"version": "",
"groups": [
{
"description": "",
"display_name": "Promet",
"id": "f7de82d2-ea85-42da-b9f1-2bc1d9b3564b",
"image_display_url": "https://data.zagreb.hr/uploads/group/2023-09-27-132824.916804Promet.png",
"name": "promet",
"title": "Promet"
}
],
"resources": [
{
"cache_last_updated": null,
"cache_url": null,
"ckan_url": "https://data.zagreb.hr",
"created": "2025-05-15T11:12:37.848628",
"datastore_active": true,
"datastore_contains_all_records_of_source_file": true,
"description": "",
"format": "JSON",
"hash": "f7dfb8d71358fe4496609baa4ba00b04",
"id": "e48b6992-add0-45a1-ae95-c5d97d8db259",
"ignore_hash": true,
"last_modified": "2026-10-23T19:44:42.246278",
"metadata_modified": "2026-10-23T19:44:42.257940",
"mimetype": "application/json",
"mimetype_inner": null,
"name": "Zatvaranje prometnica na području Grada Zagreba",
"original_url": "https://data.zagreb.hr/dataset/7ff5514d-0a1f-4f6c-86bd-8ed9a3c55eee/resource/e48b6992-add0-45a1-ae95-c5d97d8db259/download/data.json",
"package_id": "7ff5514d-0a1f-4f6c-86bd-8ed9a3c55eee",
"position": 0,
"resource_id": "e48b6992-add0-45a1-ae95-c5d97d8db259",
"resource_type": null,
"set_url_type": false,
"size": 2311,
"state": "active",
"task_created": "2025-11-10 20:39:53.000524",
"url": "https://data.zagreb.hr/dataset/7ff5514d-0a1f-4f6c-86bd-8ed9a3c55eee/resource/e48b6992-add0-45a1-ae95-c5d97d8db259/download/data.json",
"url_type": "upload"
},
{
"cache_last_updated": null,
"cache_url": null,
"created": "2025-05-15T11:23:04.311645",
"datastore_active": false,
"datastore_contains_all_records_of_source_file": false,
"description": "",
"format": "XML",
"hash": "",
"id": "72027fac-3ec0-48e4-992e-0e0ec1c02183",
"last_modified": "2026-10-23T19:44:42.578313",
"metadata_modified": "2026-10-23T19:44:42.590050",
"mimetype": "text/xml",
"mimetype_inner": null,
"name": "Zatvaranje prometnica na području Grada Zagreba",
"package_id": "7ff5514d-0a1f-4f6c-86bd-8ed9a3c55eee",
"position": 1,
"resource_type": null,
"size": 3715,
"state": "active",
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 Zagreb Open Data Portal (data-zagreb-hr) 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=prometnice. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-zagreb-hr" 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 Zagreb Open Data Portal (data-zagreb-hr) 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=prometnice. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-zagreb-hr" 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 Zagreb Open Data Portal (data-zagreb-hr) 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 "data-zagreb-hr" 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 Zagreb Open Data Portal (data-zagreb-hr) 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 "data-zagreb-hr" 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
Open license allows the users to re-use of information and metadata for commercial and non-commercial purpose
https://pristupinfo.hr/ponovna-uporaba-podataka-i-otvoreni-podaci?lang=enAttribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Portal otvorenih podataka (City of Zagreb). Data published by the portal's contributing organisations.
Cache: up to 3600s
