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

# Decyzje Prezesa UOKiK

> Decyzje Prezesa Urzędu Ochrony Konkurencji i Konsumentów z bazy decyzje.uokik.gov.pl - pełne archiwum od 2000 roku, posortowane po dacie wydania (`decision_date` malejąco). Każdy wpis zawiera numer decyzji, sygnaturę akt, uczestników postępowania (`participants` - wyłącznie nazwy, wpisy nie są powiązane z podmiotami w bazie), rodzaj praktyki (m.in. ochrona zbiorowych interesów konsumentów, klauzule niedozwolone, kontrola koncentracji, nadużywanie pozycji dominującej), informację o karze (`penalty`), branżę, region, status odwołania do sądu (`appeal`, `court_status`, `court_outcome`), powiązane wyroki sądowe (`rulings`) oraz odnośniki do plików PDF decyzji i orzeczeń (`files`). Wpisy dotyczące spraw w toku są aktualizowane wraz z postępem postępowań sądowych. Parametr `q` (można podać wielokrotnie) filtruje po uczestnikach, numerze decyzji lub sygnaturze (dopasowanie częściowe, bez rozróżniania wielkości liter); `practice` filtruje po dokładnym rodzaju praktyki (lista w `/v1/uokik/decisions/practices`), `penalty` i `appeal` po karze i odwołaniu, a `from`/`to` po dacie wydania. Paginacja: `limit` do 1000, `offset`. Każdy zwrócony wynik = 1 jednostka **wspólnej puli zapytań**.



## OpenAPI

````yaml /openapi.json get /v1/uokik/decisions
openapi: 3.1.0
info:
  title: krdata API
  description: >

    krdata udostępnia dane z polskich rejestrów gospodarczych (KRS, CRBR, KRZ,
    MSiG, RDF, biała lista VAT)

    w postaci jednego, spójnego API.


    Uwierzytelnianie odbywa się przez klucz API przekazywany w nagłówku
    `x-api-key`.

    Limity zapytań oraz pule (RDF, PDF, WPV, raporty) wynikają z wybranego
    abonamentu —

    szczegóły zwraca endpoint `GET /v1/usage/summary`.
  version: 0.1.0
servers:
  - url: https://api.krdata.pl
    description: Production
security: []
paths:
  /v1/uokik/decisions:
    get:
      tags:
        - UOKiK
      summary: Decyzje Prezesa UOKiK
      description: >-
        Decyzje Prezesa Urzędu Ochrony Konkurencji i Konsumentów z bazy
        decyzje.uokik.gov.pl - pełne archiwum od 2000 roku, posortowane po dacie
        wydania (`decision_date` malejąco). Każdy wpis zawiera numer decyzji,
        sygnaturę akt, uczestników postępowania (`participants` - wyłącznie
        nazwy, wpisy nie są powiązane z podmiotami w bazie), rodzaj praktyki
        (m.in. ochrona zbiorowych interesów konsumentów, klauzule niedozwolone,
        kontrola koncentracji, nadużywanie pozycji dominującej), informację o
        karze (`penalty`), branżę, region, status odwołania do sądu (`appeal`,
        `court_status`, `court_outcome`), powiązane wyroki sądowe (`rulings`)
        oraz odnośniki do plików PDF decyzji i orzeczeń (`files`). Wpisy
        dotyczące spraw w toku są aktualizowane wraz z postępem postępowań
        sądowych. Parametr `q` (można podać wielokrotnie) filtruje po
        uczestnikach, numerze decyzji lub sygnaturze (dopasowanie częściowe, bez
        rozróżniania wielkości liter); `practice` filtruje po dokładnym rodzaju
        praktyki (lista w `/v1/uokik/decisions/practices`), `penalty` i `appeal`
        po karze i odwołaniu, a `from`/`to` po dacie wydania. Paginacja: `limit`
        do 1000, `offset`. Każdy zwrócony wynik = 1 jednostka **wspólnej puli
        zapytań**.
      operationId: uokik-decisions
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Fuzzy search term(s); matches participants, decision number or
              case signature
            title: Q
          description: >-
            Fuzzy search term(s); matches participants, decision number or case
            signature
        - name: practice
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 200
              - type: 'null'
            description: Exact practice type (see /v1/uokik/decisions/practices)
            title: Practice
          description: Exact practice type (see /v1/uokik/decisions/practices)
        - name: penalty
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Only decisions with (true) or without (false) a fine
            title: Penalty
          description: Only decisions with (true) or without (false) a fine
        - name: appeal
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Only decisions appealed (true) or not appealed (false)
            title: Appeal
          description: Only decisions appealed (true) or not appealed (false)
        - name: from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: From
        - name: to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: To
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UokikDecisionPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    UokikDecisionPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/UokikDecisionItem'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
        - items
        - limit
        - offset
        - has_more
      title: UokikDecisionPage
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UokikDecisionItem:
      properties:
        id:
          type: string
          title: Id
        decision_number:
          type: string
          title: Decision Number
        decision_date:
          type: string
          format: date
          title: Decision Date
        signature:
          anyOf:
            - type: string
            - type: 'null'
          title: Signature
        practice_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Practice Type
        penalty:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Penalty
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        region:
          anyOf:
            - type: string
            - type: 'null'
          title: Region
        appeal:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Appeal
        court_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Court Status
        court_outcome:
          anyOf:
            - type: string
            - type: 'null'
          title: Court Outcome
        participants:
          items:
            $ref: '#/components/schemas/UokikDecisionParticipantItem'
          type: array
          title: Participants
        files:
          items:
            $ref: '#/components/schemas/UokikDecisionFileItem'
          type: array
          title: Files
        rulings:
          items:
            $ref: '#/components/schemas/UokikDecisionRulingItem'
          type: array
          title: Rulings
      type: object
      required:
        - id
        - decision_number
        - decision_date
        - participants
        - files
        - rulings
      title: UokikDecisionItem
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    UokikDecisionParticipantItem:
      properties:
        name:
          type: string
          title: Name
        krs:
          anyOf:
            - type: string
            - type: 'null'
          title: Krs
        nip:
          anyOf:
            - type: string
            - type: 'null'
          title: Nip
        company_krs:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Krs
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
        match_source:
          anyOf:
            - type: string
            - type: 'null'
          title: Match Source
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
      type: object
      required:
        - name
      title: UokikDecisionParticipantItem
    UokikDecisionFileItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        field:
          type: string
          title: Field
        file_name:
          type: string
          title: File Name
        url:
          type: string
          title: Url
        stored:
          type: boolean
          title: Stored
        byte_size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Byte Size
      type: object
      required:
        - id
        - field
        - file_name
        - url
        - stored
      title: UokikDecisionFileItem
    UokikDecisionRulingItem:
      properties:
        signature:
          type: string
          title: Signature
        ruling_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Ruling Date
        subject:
          anyOf:
            - type: string
            - type: 'null'
          title: Subject
      type: object
      required:
        - signature
      title: UokikDecisionRulingItem
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````