> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# data.gov.ua

> Ukraine's national open data portal, including the Ministry of Justice's Unified State Register (EDR) of legal entities, sole proprietors and public associations: dataset search, metadata and publication status.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/data-gov-ua.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=42a247a791584f44db7a712f19746966)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

No key needed

Endpoints

5

Auth

None

[Vendor docs](https://docs.ckan.org/en/latest/api/)

## Notes

* Keyless for public data. The portal runs CKAN: every action is /api/3/action/\{name}, and help\_show?name=\{action} on the portal returns that action's documentation.
* Responses are \{help, success, result}; on failure success is false and error replaces result, sometimes with HTTP 200, so check success.
* Metadata is mostly in Ukrainian; search with Ukrainian terms.
* The EDR dataset (id 03cc1239-3988-4451-aa0d-aadb77448714, published by the Ministry of Justice) is a set of large downloadable files, not DataStore rows: datasets.get gives its metadata\_modified and each resource's last\_modified, which is how to tell when it was last published.
* This portal runs an older CKAN (2.7); DataStore queries work only on resources with datastore\_active true.

## Endpoints

GET

Search datasets

Datasets matching a Solr query and filters, with their resources and, optionally, facets.

[Open](#data-gov-ua-datasets-search)

GET

Get a dataset

Metadata of one dataset and its resources (files and API links), including when each was last modified.

[Open](#data-gov-ua-datasets-get)

GET

Get a resource

Metadata of one resource: URL, format, size, last-modified time and whether its rows are queryable in the DataStore.

[Open](#data-gov-ua-resources-get)

POST

Query rows of a tabular resource

Rows of a DataStore-loaded resource, filtered by exact field values or full-text search, with field names and types.

[Open](#data-gov-ua-rows-search)

GET

List publishing organizations

The organizations that publish datasets on the portal, as names or with details and dataset counts.

[Open](#data-gov-ua-organizations-list)

### Search datasets

GET

`/api/3/action/package_search`

`data-gov-ua.datasets.search`

Datasets matching a Solr query and filters, with their resources and, optionally, facets.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`q`</td><td>string</td><td>query</td><td>Solr query; \*:\* (all) by default. Example `budget`</td></tr>

    <tr>
      <td>
        `fq`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Solr filter query, e.g. organization:\<name> or res\_format:CSV.
      </td>
    </tr>

    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated field and order; 'score desc, metadata\_modified desc' by default. Example `metadata_modified desc`</td></tr>

    <tr>
      <td>
        `rows`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Datasets to return; 10 by default, at most 1000 unless the site sets otherwise.
      </td>
    </tr>

    <tr>
      <td>
        `start`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Offset of the first dataset returned.
      </td>
    </tr>

    <tr>
      <td>
        `facet_field`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        JSON list of fields to facet on, e.g. \["organization","res\_format"].
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.gov.ua/api/3/action/help_show?name=package_search) · Same job: [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-items-search), [data.gov.au](https://docs.webrouter.net/data-apis/data-gov-au.md#data-gov-au-datasets-search), [Latvian Open Data Portal (data.gov.lv)](https://docs.webrouter.net/data-apis/data-gov-lv.md#data-gov-lv-datasets-search), [Environment and Climate Change Canada (GeoMet-OGC-API)](https://docs.webrouter.net/data-apis/eccc-geomet.md#eccc-geomet-items-search), [Socrata (Tyler Data & Insights)](https://docs.webrouter.net/data-apis/socrata.md#socrata-catalog-search), [Tako](https://docs.webrouter.net/data-apis/tako.md#tako-graph-search)

```python Python theme={null}
router.call_data_api("data-gov-ua.datasets.search", {'q': 'budget', 'sort': 'metadata_modified desc'})
```

```text MCP theme={null}
call_data_api(endpoint="data-gov-ua.datasets.search", params={"q": "budget", "sort": "metadata_modified desc"})
```

> [!NOTE]
>
> * result.count is the total; page with start and rows.

### Get a dataset

GET

`/api/3/action/package_show`

`data-gov-ua.datasets.get`

Metadata of one dataset and its resources (files and API links), including when each was last modified.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Dataset id or name (slug).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.gov.ua/api/3/action/help_show?name=package_show) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-fields), [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-items-get), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-attributes-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-parameters-list), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-metadata)

### Get a resource

GET

`/api/3/action/resource_show`

`data-gov-ua.resources.get`

Metadata of one resource: URL, format, size, last-modified time and whether its rows are queryable in the DataStore.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Resource id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.gov.ua/api/3/action/help_show?name=resource_show) · Same job: [Affinity](https://docs.webrouter.net/data-apis/affinity.md#affinity-companies-fields), [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-items-get), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-attributes-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-parameters-list), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-metadata)

> [!NOTE]
>
> * datastore\_active true means rows.search works on it; otherwise download the url.

### Query rows of a tabular resource

POST

`/api/3/action/datastore_search`

`data-gov-ua.rows.search`

Rows of a DataStore-loaded resource, filtered by exact field values or full-text search, with field names and types.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `resource_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Resource id (from datasets.get).
      </td>
    </tr>

    <tr>
      <td>
        `filters`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        Exact-match conditions as \{field: value}.
      </td>
    </tr>

    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Full-text query across all fields (or an object of \{field: text}).
      </td>
    </tr>

    <tr>
      <td>
        `fields`
      </td>

      <td>
        array
      </td>

      <td>
        body
      </td>

      <td>
        Fields to return; all by default.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Comma-separated fields with order, e.g. 'name asc'.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Rows to return; 100 by default, at most 32000 unless the site sets otherwise.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Rows to skip.
      </td>
    </tr>

    <tr>
      <td>
        `include_total`
      </td>

      <td>
        boolean
      </td>

      <td>
        body
      </td>

      <td>
        Return the total matching count; true by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.gov.ua/api/3/action/help_show?name=datastore_search) · Same job: [CMS Open Payments](https://docs.webrouter.net/data-apis/cms-open-payments.md#cms-open-payments-datastore-query), [CMS Data (data.cms.gov)](https://docs.webrouter.net/data-apis/data-cms.md#data-cms-dataset-rows), [data.gov.au](https://docs.webrouter.net/data-apis/data-gov-au.md#data-gov-au-rows-search), [Latvian Open Data Portal (data.gov.lv)](https://docs.webrouter.net/data-apis/data-gov-lv.md#data-gov-lv-rows-search), [Dune](https://docs.webrouter.net/data-apis/dune.md#dune-query-latest-result), [FINRA API Platform](https://docs.webrouter.net/data-apis/finra.md#finra-datasets-query)

> [!NOTE]
>
> * A read over POST (CKAN accepts every action as a JSON POST). Only resources with datastore\_active true can be queried.

### List publishing organizations

GET

`/api/3/action/organization_list`

`data-gov-ua.organizations.list`

The organizations that publish datasets on the portal, as names or with details and dataset counts.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `all_fields`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Return organization objects (with package\_count) instead of names.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        name, package\_count or title, with asc or desc; 'title asc' by default.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Organizations to return; 1000 by default for names, 25 with all\_fields.
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Offset, when limit is given.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://data.gov.ua/api/3/action/help_show?name=organization_list) · Same job: [ArcGIS Online](https://docs.webrouter.net/data-apis/arcgis.md#arcgis-groups-search), [Attio](https://docs.webrouter.net/data-apis/attio.md#attio-objects-list), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-lists), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-datasets-list), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-list), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-tables-query)

```python Python theme={null}
router.call_data_api("data-gov-ua.organizations.list")
```

```text MCP theme={null}
call_data_api(endpoint="data-gov-ua.organizations.list")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.