Skip to main content
All providers

Zagreb Open Data Portal

Open data portalsHR

data.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 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/data-zagreb-hr/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/data-zagreb-hr/dataset-names1 credit

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

limit?offset?
GET /v1/data/data-zagreb-hr/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/data-zagreb-hr/dataset-suggest1 credit

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

qlimit?
GET /v1/data/data-zagreb-hr/group1 credit

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

idinclude_datasets?include_extras?
GET /v1/data/data-zagreb-hr/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/data-zagreb-hr/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/data-zagreb-hr/licenses1 credit

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

No parameters
GET /v1/data/data-zagreb-hr/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/data-zagreb-hr/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/data-zagreb-hr/organizations1 credit

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

limit?offset?sort?
GET /v1/data/data-zagreb-hr/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/data-zagreb-hr/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/data-zagreb-hr/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/data-zagreb-hr/site-status1 credit

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

No parameters
GET /v1/data/data-zagreb-hr/tag1 credit

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

idinclude_datasets?vocabulary_id?
GET /v1/data/data-zagreb-hr/tags1 credit

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

query?vocabulary_id?

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.

JSON
{
  "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=en

Attribution

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