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

# Słownik CPV

> Kody CPV występujące w ogłoszeniach BZP wraz z polskimi nazwami i liczbą postępowań. Parametr `q` filtruje po fragmencie kodu lub nazwy (min. 2 znaki); `division` zawęża do działu 2-cyfrowego. Wywołanie nie jest liczone do puli.



## OpenAPI

````yaml /openapi.json get /v1/bzp/cpv
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/bzp/cpv:
    get:
      tags:
        - BZP
      summary: Słownik CPV
      description: >-
        Kody CPV występujące w ogłoszeniach BZP wraz z polskimi nazwami i liczbą
        postępowań. Parametr `q` filtruje po fragmencie kodu lub nazwy (min. 2
        znaki); `division` zawęża do działu 2-cyfrowego. Wywołanie nie jest
        liczone do puli.
      operationId: bzp-cpv
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                minLength: 2
                maxLength: 80
              - type: 'null'
            title: Q
        - name: division
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                minLength: 2
                maxLength: 2
                pattern: ^\d{2}$
              - type: 'null'
            title: Division
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BzpCpvItem'
                title: Response Bzp-Cpv
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    BzpCpvItem:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        division:
          type: string
          title: Division
        tenders_count:
          type: integer
          title: Tenders Count
      type: object
      required:
        - code
        - name
        - division
        - tenders_count
      title: BzpCpvItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````