---
title: "Get Data Products Paginated"
method: GET
path: "/api/products/v2"
tags: ["Data Products"]
---

# Get Data Products Paginated

`GET /api/products/v2`

Retrieves a paginated list of all available data products. Accessible to users with the producer, and admin. Supports pagination.

## Query parameters

- `language` string — language code for multilingual fields. Must be supported by application.
- `page` integer — page number
- `searchTerm` string — string to search for in the resource
- `size` integer — page size
- `sortBy` object — List of field names to sort by. Default is ascending prefix with - for descending
- `actingRole` 'PROVIDER' | 'ADMIN'

## Response `200`

OK

- PageResponseDtoDataProductDto — Generic paginated response wrapper.
  - `items` DataProductDto[], required — List of items on the current page.
    - `id` string, uuid, required
    - `dataSourceSystemCode` string — Code of data source system from which this product originates
    - `dataSourceSystem` DataSourceSystemDto
      - `id` string, uuid, required
      - `code` string — Stable technical code of the source
      - `name` TranslationDto
        - `de` string
        - `fr` string
        - `it` string
      - `dataProvider` DataProviderDto, required
        - `id` string, uuid, required
        - `code` string — Stable technical code of the provider
        - `name` TranslationDto
          - `de` string
          - `fr` string
          - `it` string
        - `uid` string — UID of the data provider
    - `restClient` RestClientDto
      - `id` string, uuid
      - `code` string — Stable technical code of the rest client
      - `displayName` string — Human-readable name of the REST client, intended for display in user interfaces
      - `url` string — Base URL of the external API accessed by this REST client
    - `restClientPathTemplate` string — Template for the path where the data product is fetched from
    - `restClientRequestTemplate` string — Template of the request body for fetching the data product
    - `restClientMethodCode` 'POST' | 'GET'
    - `flowCode` 'UID_BASED_PRE_VALIDATION' | 'UID_BASED_POST_VALIDATION' | 'BUR_BASED_PRE_VALIDATION' | 'BUR_BASED_POST_VALIDATION' | 'UNBOUND_POST_VALIDATION'
    - `name` TranslationDto
      - `de` string
      - `fr` string
      - `it` string
    - `description` TranslationDto
      - `de` string
      - `fr` string
      - `it` string
    - `links` LinkDto[] — List of relevant product links
      - `url` string
      - `displayText` string
    - `extendedDescription` TranslationDto
      - `de` string
      - `fr` string
      - `it` string
    - `deprecatedSince` string, date-time
    - `stateCode` union, required — State of the data product
      - 'DRAFT' | 'ACTIVE'
      - object
    - `restClientChangeDetectionPathTemplate` string — Template for the path for retrieving updates to the data product
  - `totalItems` integer, required — Total number of items across all pages.
  - `totalPages` integer, required — Total number of pages available.
  - `currentPage` integer, required — Current page number (0-based ).
  - `pageSize` integer, required — Number of items per page.

## Other responses

- `401` — Not Authorized
- `403` — Not Allowed
- `404` — The resource or element was not found
- `500` — Internal server error: unexpected error

---

[API](https://skmtc.net/agridata/apis/agridata-ch-api.md) · [All operations](https://skmtc.net/agridata/apis/agridata-ch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agridata/agridata-ch-api/versions/4f3c6bfcfcfd/schema)
