> ## 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.

# Lista ostrzeżeń publicznych KNF

> Rejestr zawiadomień KNF o podejrzeniu popełnienia przestępstwa (m.in. działalność bankowa, obrót instrumentami finansowymi i usługi płatnicze bez zezwolenia), pogrupowany po podstawie prawnej (`legal_basis`). Wpis zawiera nazwę podmiotu, identyfikatory KRS/NIP/REGON w polu `entities` (z rozbiciem, gdy zawiadomienie dotyczy kilku firm), właściwą prokuraturę, wzmianki o prawomocnych orzeczeniach i informacje istotne. Rejestr odzwierciedla bieżącą listę KNF – wpisy usunięte u źródła znikają także u nas. `q` (można podać wielokrotnie) filtruje po nazwie podmiotu, a `krs`, `nip` i `regon` po dokładnym numerze. Paginacja: `limit` do 1000, `offset`. Koszt: 1 jednostka za każdy zwrócony wynik.



## OpenAPI

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

    krdata udostępnia dane z polskich rejestrów gospodarczych (KRS, CRBR, KRZ,
    MSiG, BZP, RDF, KNF, UOKiK, SUDOP,

    biała lista VAT) w postaci jednego, spójnego API.


    Uwierzytelnianie odbywa się przez klucz API w nagłówku `x-api-key`. Płatne
    endpointy zużywają jednostki

    z jednej puli; koszt każdego z nich podany jest w jego opisie, a zasady w
    sekcji Rozliczanie.

    Bieżący stan puli zwraca `GET /v1/usage/api`.
  version: 0.1.0
servers:
  - url: https://api.krdata.pl
    description: Production
security: []
paths:
  /v1/knf/warnings:
    get:
      tags:
        - KNF
      summary: Lista ostrzeżeń publicznych KNF
      description: >-
        Rejestr zawiadomień KNF o podejrzeniu popełnienia przestępstwa (m.in.
        działalność bankowa, obrót instrumentami finansowymi i usługi płatnicze
        bez zezwolenia), pogrupowany po podstawie prawnej (`legal_basis`). Wpis
        zawiera nazwę podmiotu, identyfikatory KRS/NIP/REGON w polu `entities`
        (z rozbiciem, gdy zawiadomienie dotyczy kilku firm), właściwą
        prokuraturę, wzmianki o prawomocnych orzeczeniach i informacje istotne.
        Rejestr odzwierciedla bieżącą listę KNF – wpisy usunięte u źródła
        znikają także u nas. `q` (można podać wielokrotnie) filtruje po nazwie
        podmiotu, a `krs`, `nip` i `regon` po dokładnym numerze. Paginacja:
        `limit` do 1000, `offset`. Koszt: 1 jednostka za każdy zwrócony wynik.
      operationId: knf-warnings
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Fuzzy search term(s); matches the entity name (case-insensitive)
            title: Q
          description: Fuzzy search term(s); matches the entity name (case-insensitive)
        - name: krs
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^\d{10}$
              - type: 'null'
            description: Exact KRS of a listed entity
            title: Krs
          description: Exact KRS of a listed entity
        - name: nip
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^\d{10}$
              - type: 'null'
            description: Exact NIP of a listed entity
            title: Nip
          description: Exact NIP of a listed entity
        - name: regon
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^\d{9}(\d{5})?$
              - type: 'null'
            description: Exact REGON of a listed entity
            title: Regon
          description: Exact REGON of a listed entity
        - name: section
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                maximum: 1000
                minimum: 0
              - type: 'null'
            description: >-
              Restrict to one legal-basis section (see
              /v1/knf/warnings/sections)
            title: Section
          description: Restrict to one legal-basis section (see /v1/knf/warnings/sections)
        - 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/KnfWarningPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    KnfWarningPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/KnfWarningItem'
          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: KnfWarningPage
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    KnfWarningItem:
      properties:
        id:
          type: string
          title: Id
        legal_basis:
          type: string
          title: Legal Basis
        position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Position
        entity_name:
          type: string
          title: Entity Name
        identifier_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Identifier Text
        prokuratura:
          anyOf:
            - type: string
            - type: 'null'
          title: Prokuratura
        court_rulings:
          anyOf:
            - type: string
            - type: 'null'
          title: Court Rulings
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
        first_seen_at:
          type: string
          format: date-time
          title: First Seen At
        entities:
          items:
            $ref: '#/components/schemas/KnfWarningEntityItem'
          type: array
          title: Entities
      type: object
      required:
        - id
        - legal_basis
        - entity_name
        - first_seen_at
        - entities
      title: KnfWarningItem
    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
    KnfWarningEntityItem:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        krs:
          anyOf:
            - type: string
            - type: 'null'
          title: Krs
        nip:
          anyOf:
            - type: string
            - type: 'null'
          title: Nip
        regon:
          anyOf:
            - type: string
            - type: 'null'
          title: Regon
      type: object
      title: KnfWarningEntityItem
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````