Otwarte Dane (dane.gov.pl)
api.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.
GET /v1/data/danegovpl/dataset1Request
The numeric dataset id returned by the dataset search.
curl "https://api.fastcrw.com/v1/data/danegovpl/dataset?id=1" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from Otwarte Dane (dane.gov.pl).
{
"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"
}
}Attribution: 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.
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.
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>
