Skip to main content
All providers

Open Data, Comune di Milano

Open data portalsIT

dati.comune.milano.it

Open Data portal of the City of Milan, Italy.

Capabilities (17)

GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/dataset-names1 credit

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

limit?offset?
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/dataset-suggest1 credit

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

qlimit?
GET /v1/data/dati-comune-milano-it/group1 credit

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

idinclude_datasets?include_extras?
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/licenses1 credit

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

No parameters
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/site-status1 credit

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

No parameters
GET /v1/data/dati-comune-milano-it/tag1 credit

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

idinclude_datasets?vocabulary_id?
GET /v1/data/dati-comune-milano-it/tags1 credit

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

query?vocabulary_id?

Response example

The shape of data from dati-comune-milano-it/dataset (Dataset detail). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "help": "https://dati.comune.milano.it/api/3/action/help_show?name=package_show",
  "success": true,
  "result": {
    "license_title": "Creative Commons Attribution",
    "maintainer": "AMAT - Agenzia Mobilità Ambiente Territorio",
    "creator": "[{\"creator_identifier\": \"01199250158\", \"creator_name\": {\"en\": \"Comune di Milano - Unit\\u00e0 Analytics e Open Data\", \"it\": \"Comune di Milano - Unit\\u00e0 Analytics e Open Data\"}}]",
    "issued": "",
    "dataset_is_local": true,
    "private": false,
    "maintainer_email": "opendatamilano@comune.milano.it",
    "num_tags": 5,
    "frequency": "DAILY",
    "publisher_identifier": "01199250158",
    "publisher_name": "Comune di Milano - Unità Analytics e Open Data",
    "id": "884b70a5-951c-4c92-931e-52a73d20af9f",
    "metadata_created": "2026-01-28T09:55:27.929367",
    "conforms_to": "[]",
    "metadata_modified": "2026-10-23T04:35:33.559194",
    "author": "",
    "author_email": "",
    "geographical_geonames_url": "https://www.geonames.org/3173435",
    "theme": "[{\"subthemes\": [\"http://eurovoc.europa.eu/100242\"], \"theme\": \"ENVI\"}]",
    "state": "active",
    "version": "",
    "alternate_identifier": "[]",
    "relationships_as_object": [],
    "license_id": "cc-by",
    "type": "dataset",
    "resources": [
      {
        "cache_last_updated": null,
        "package_id": "884b70a5-951c-4c92-931e-52a73d20af9f",
        "distribution_format": "CSV",
        "datastore_active": true,
        "id": "1af3c7d2-3456-4f7c-819a-464c989b9ed5",
        "size": 55,
        "state": "active",
        "hash": "",
        "description": "anteprima disponibile",
        "format": "CSV",
        "mimetype_inner": null,
        "url_type": "upload",
        "mimetype": "text/csv",
        "cache_url": null,
        "name": "DS2969_qaria_datoariagiornostazione_2026-10-23.csv",
        "created": "2026-01-28T10:03:42.705357",
        "url": "https://dati.comune.milano.it/dataset/884b70a5-951c-4c92-931e-52a73d20af9f/resource/1af3c7d2-3456-4f7c-819a-464c989b9ed5/download/qaria_datoariagiornostazione_2026-10-23.csv",
        "last_modified": "2026-10-23T04:35:19.877353",
        "license_type": "https://w3id.org/italia/controlled-vocabulary/licences/A21_CCBY40",
        "position": 0,
        "revision_id": "f3c312cb-582e-4e05-9bdd-a2577a913c90",
        "resource_type": null
      },
      {
        "cache_last_updated": null,
        "package_id": "884b70a5-951c-4c92-931e-52a73d20af9f",
        "distribution_format": "JSON",
        "datastore_active": false,
        "id": "ddecb297-6e09-456e-aed3-7c934eec4dd3",
        "size": 100,
        "state": "active",
        "hash": "",
        "description": "anteprima disponibile",
        "format": "JSON",
        "mimetype_inner": null,
        "url_type": "upload",
        "mimetype": "application/json",
        "cache_url": null,
        "name": "DS2969_qaria_datoariagiornostazione_2026-10-23.json",
        "created": "2026-01-28T10:09:14.588746",
        "url": "https://dati.comune.milano.it/dataset/884b70a5-951c-4c92-931e-52a73d20af9f/resource/ddecb297-6e09-456e-aed3-7c934eec4dd3/download/qaria_datoariagiornostazione_2026-10-23.json",
        "last_modified": "2026-10-23T04:35:33.536655",
        "license_type": "https://w3id.org/italia/controlled-vocabulary/licences/A21_CCBY40",
        "position": 1,
        "revision_id": "019f7ee9-8f59-416c-9f90-b82e435a06a1",
        "resource_type": null
      }
    ],
    "holder_name": "Comune di Milano",
    "tags": [
      {
        "vocabulary_id": null,
        "state": "active",
        "display_name": "clevercities",
        "id": "c29fbca9-1e02-470d-a67e-b839bc2b3d5b",
        "name": "clevercities"
      },
      {
        "vocabulary_id": null,
        "state": "active",
        "display_name": "meteorologia",
        "id": "ed583371-9ed7-4910-a59f-1ab1817516bd",
        "name": "meteorologia"
      },
      {
        "vocabulary_id": null,
        "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 Open Data, Comune di Milano (dati-comune-milano-it) 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=ds2969-rilevazione-qualita-aria-2026. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "dati-comune-milano-it" 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 Open Data, Comune di Milano (dati-comune-milano-it) 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=ds2969-rilevazione-qualita-aria-2026. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "dati-comune-milano-it" 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 Open Data, Comune di Milano (dati-comune-milano-it) 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 "dati-comune-milano-it" 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 Open Data, Comune di Milano (dati-comune-milano-it) 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 "dati-comune-milano-it" 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

Dataset records on this portal declare the licence "Creative Commons Attribution" (http://www.opendefinition.org/licenses/cc-by). This is the licence the publishing organisations attach to their own datasets; the portal itself states no separate API licence. Quoted as found in the portal's own dataset metadata.

http://www.opendefinition.org/licenses/cc-by

Attribution

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

Source: Open Data - Comune di Milano (Comune di Milano). Data published by the portal's contributing organisations.

Cache: up to 3600s