Dane Gov Pl
v0.2.1dane.gov.pl — Poland's national open data portal (Otwarte Dane).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_datasets
Search/list datasets on Poland's national open data portal (dane.gov.pl). Returns a JSON:API list of datasets with id, title, notes, slug, institution and resource count. Content is mostly Polish; q accepts Polish or English. Use the returned dataset id with dataset_details / list_resources.
| Parameter | Type | Description |
|---|---|---|
lang | string | Language hint "en" or "pl"; only some portal fields are translated. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1-100 (default 20). |
q | string | Full-text query (Polish or English), e.g. "budżet", "health", "powietrze". |
sort | string | Sort field, e.g. "id", "-created", "title". Default "id". |
dataset_details
Get full metadata for a single dataset by numeric id (from search_datasets). Returns the JSON:API dataset object: title, notes, license, keywords, regions, institution relationship and resource count.
| Parameter | Type | Description |
|---|---|---|
id * | string | Dataset numeric id, e.g. "771". |
lang | string | Language hint "en" or "pl". |
list_resources
List the resources (files/tables) attached to a dataset. Returns JSON:API resource objects with id, title, format (csv/xlsx/...), media_type, link, openness_score and a tabular_data relationship. Resources whose relationships include tabular_data can be read row-by-row with resource_data.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset numeric id, e.g. "771". |
lang | string | Language hint "en" or "pl". |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1-100 (default 20). |
resource_data
Read row-level data from a tabular resource (one with a tabular_data relationship). Returns JSON:API "row" objects whose attributes map column names (col1, col2, ...) to {repr, val} pairs. Supports paging and full-text row filtering via q. Use list_resources first to find a tabular resource id.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | Resource numeric id, e.g. "22509". |
page | integer | Page number (default 1). |
per_page | integer | Rows per page, 1-100 (default 20). |
q | string | Full-text filter across row cells (Polish or English), e.g. "AUSTRIA". |
search_institutions
Search/list data-publishing institutions (ministries, agencies, municipalities, companies) on dane.gov.pl. Returns JSON:API institution objects with id, title, abbreviation, institution_type, website, regon and dataset count. Mostly Polish content; q accepts Polish or English.
| Parameter | Type | Description |
|---|---|---|
lang | string | Language hint "en" or "pl". |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1-100 (default 20). |
q | string | Full-text query (Polish or English), e.g. "ministerstwo". |