Open Data, Comune di Milano
Open data portalsITdati.comune.milano.it
Open Data portal of the City of Milan, Italy.
Capabilities (17)
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/dataset-names1 creditFlat JSON array of every dataset slug on the portal, in alphabetical order.
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/dataset-suggest1 creditLightweight typeahead: matching datasets as {name, title, match_field} objects, no resources or descriptions.
GET /v1/data/dati-comune-milano-it/group1 creditMetadata for one thematic group: title, description, image and dataset count.
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/groups1 creditEvery thematic group (subject category) on the portal with its name, display title, description and dataset count.
GET /v1/data/dati-comune-milano-it/licenses1 creditEvery licence the portal offers publishers, as {id, title, url, od_conformance, osd_conformance} objects.
GET /v1/data/dati-comune-milano-it/organization1 creditMetadata for one publishing organization: title, description, contact extras, dataset count and (optionally) its datasets.
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/resource1 creditMetadata for one file or API endpoint attached to a dataset: download URL, format, size, description and datastore flag.
GET /v1/data/dati-comune-milano-it/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/dati-comune-milano-it/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/dati-comune-milano-it/site-status1 creditThe portal's CKAN version, site title, locale and the list of installed CKAN extensions.
GET /v1/data/dati-comune-milano-it/tag1 creditThe id, name and vocabulary of one tag, and optionally every dataset carrying it.
GET /v1/data/dati-comune-milano-it/tags1 creditFlat JSON array of every free tag used on the portal.
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.
{
"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-byAttribution
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
