Otwarte Dane (dane.gov.pl)
Open data portalsPLapi.dane.gov.pl
Poland's national open data portal API: datasets, their resources and files, and the public institutions that publish them, exposed as a JSON:API service.
Capabilities (6)
GET /v1/data/danegovpl/dataset1 creditReturns one dataset as a JSON:API resource: title, description, licence fields, categories, keywords, regions, formats, update frequency and links.
GET /v1/data/danegovpl/dataset-resources1 creditReturns the resources attached to one dataset: resource id, title, description, format, file size, openness score and download links.
GET /v1/data/danegovpl/datasets1 creditReturns a page of Polish open datasets with title, notes, categories, keywords, formats, update frequency, openness score, licence and modification date, as JSON:API resources.
GET /v1/data/danegovpl/institution1 creditReturns one publishing institution with its address, contact details, website, electronic delivery address and dataset count.
GET /v1/data/danegovpl/institutions1 creditReturns a page of public institutions that publish datasets: id, title, city, street, website, email, phone and dataset counts.
GET /v1/data/danegovpl/resource1 creditReturns one resource: title, description, format, file list with sizes and download URLs, openness score, data date range and the parent dataset link.
Response example
The shape of data from danegovpl/dataset (Dataset detail). A sample, not live data.
{
"meta": {
"params": {},
"server_time": "2026-10-23T19:39:42Z",
"language": "pl",
"relative_uri": "/1.4/datasets/1",
"path": "/1.4/datasets/1"
},
"data": {
"id": "1",
"links": {
"self": "https://api.dane.gov.pl/1.4/datasets/1,dane-liczbowe-dot-kontroli-prowadzonych-przez-wiih-w-2014-r"
},
"relationships": {
"institution": {
"data": {
"id": "26",
"type": "institution"
},
"links": {
"related": "https://api.dane.gov.pl/1.4/institutions/26,uokik"
}
},
"showcases": {
"meta": {
"count": 0
},
"links": {
"related": "https://api.dane.gov.pl/1.4/datasets/1,dane-liczbowe-dot-kontroli-prowadzonych-przez-wiih-w-2014-r/showcases"
}
},
"resources": {
"meta": {
"count": 1
},
"links": {
"related": "https://api.dane.gov.pl/1.4/datasets/1,dane-liczbowe-dot-kontroli-prowadzonych-przez-wiih-w-2014-r/resources"
}
}
},
"attributes": {
"notes": "<p>Dane liczbowe dot. kontroli prowadzonych przez wojewódzkich inspektorów Inspekcji Handlowej (IH) w 2014 r.</p>",
"supplements": [],
"downloads_count": 146,
"has_dynamic_data": false,
"url": "",
"verified": "2016-04-19T09:41:11Z",
"types": [
"file"
],
"visualization_types": [],
"archived_resources_files_url": "https://api.dane.gov.pl/datasets/1,dane-liczbowe-dot-kontroli-prowadzonych-przez-wiih-w-2014-r/resources/files/download",
"has_research_data": false,
"categories": [
{
"id": "148",
"code": "GOVE",
"title": "Rząd i sektor publiczny"
}
],
"license_condition_db_or_copyrighted": "",
"regions": [
{
"name": "Polska",
"is_additional": false,
"hierarchy_label": "Polska",
"region_id": "85633723"
}
],
"keywords": [
"uokik",
"inspekcja handlowa"
],
"has_high_value_data_from_ec_list": null,
"openness_scores": [
2
],
"has_high_value_data": false,
"category": {
"id": "1",
"code": "",
"title": "Administracja Publiczna"
},
"license_condition_default_cc40": false,
"created": "2016-04-19T07:39:49Z",
"is_promoted": false,
"views_count": 691,
"formats": [
"xlsx"
],
"modified": "2024-03-19T19:14:09Z",
"license_chosen": null,
"image_url": "",
"license_condition_custom_description": "",
"license_condition_original": null,
"slug": "dane-liczbowe-dot-kontroli-prowadzonych-przez-wiih-w-2014-r",
"license_condition_personal_data": null,
"license_name": "CC0 1.0",
"current_condition_descriptions": {},
"license_condition_timestamp": null,
"source": null,
"title": "Dane liczbowe dot. kontroli prowadzonych przez WIIH w 2014 r.",
"license_description": "Other (Public Domain)",
"image_alt": "",
"update_frequency": "Rocznie"
},
"type": "dataset"
},
"links": {
"self": "http://api.dane.gov.pl/1.4/datasets/1"
},
"jsonapi": {
"version": "1.4"
}
}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 Otwarte Dane (dane.gov.pl) (danegovpl) from fastCRW Pergamon, capability "Dataset detail" (dataset). You hold a dataset id from a search and want its full metadata and licence. Example options: id=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "danegovpl" 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 resources
Use Otwarte Dane (dane.gov.pl) (danegovpl) from fastCRW Pergamon, capability "Dataset resources" (dataset-resources). You have a dataset id and want the files or API endpoints it contains. Example options: id=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "danegovpl" and capability "dataset-resources". 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 Otwarte Dane (dane.gov.pl) (danegovpl) from fastCRW Pergamon, capability "Dataset search" (datasets). You want to find datasets on the Polish portal by keyword, category or recency. Example options: q=transport, page=1, sort=-modified. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "danegovpl" 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>
Institution detail
Use Otwarte Dane (dane.gov.pl) (danegovpl) from fastCRW Pergamon, capability "Institution detail" (institution). You hold an institution id and want its contact details or output. Example options: id=368. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "danegovpl" and capability "institution". 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
The portal's terms page is a JavaScript application that returned only a 651-character script-disabled notice, so no portal-wide sentence could be quoted from it. Each dataset record in the API carries its own licence fields. The sample dataset (id 1) declares "license_name": "CC0 1.0" and "license_description": "Other (Public Domain)"; other records name CC BY 4.0 and other licences in the same fields, and every dataset also carries license_condition_* fields describing database and personal-data conditions. We therefore rely on the per-dataset licence recorded by the publisher: the sample CC0 1.0 dedication permits commercial use and redistribution without condition, while records under other licences carry their own terms. No blanket portal-wide licence is claimed.
https://dane.gov.pl/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: Otwarte Dane (dane.gov.pl), Poland. Licence per dataset as recorded in the dataset metadata; attribute the publishing institution and the licence named on the record.
Cache: up to 3600s
