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

# Podsumowanie zużycia

> Statystyki zużycia w bieżącym okresie rozliczeniowym (miesiącu) wraz z limitami abonamentu. Zawiera liczniki wyszukiwań (rejestr + obwieszczenia, per-rekord), pobrań PDF, raportów oraz dziennej puli zapytań WPV.



## OpenAPI

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

    krdata udostępnia dane z polskich rejestrów gospodarczych (KRS, CRBR, KRZ,
    MSiG, 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 dzienne pule (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/usage/summary:
    get:
      tags:
        - Usage
      summary: Podsumowanie zużycia
      description: >-
        Statystyki zużycia w bieżącym okresie rozliczeniowym (miesiącu) wraz z
        limitami abonamentu. Zawiera liczniki wyszukiwań (rejestr +
        obwieszczenia, per-rekord), pobrań PDF, raportów oraz dziennej puli
        zapytań WPV.
      operationId: usage-summary
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSummary'
      security:
        - APIKeyHeader: []
components:
  schemas:
    UsageSummary:
      properties:
        plan:
          type: string
          title: Plan
        plan_tier:
          type: string
          title: Plan Tier
        period_start:
          type: string
          format: date-time
          title: Period Start
        period_end:
          type: string
          format: date-time
          title: Period End
        counts:
          $ref: '#/components/schemas/UsageCounts'
        limits:
          additionalProperties:
            anyOf:
              - type: integer
              - type: 'null'
          type: object
          title: Limits
        daily:
          $ref: '#/components/schemas/DailyUsage'
      type: object
      required:
        - plan
        - plan_tier
        - period_start
        - period_end
        - counts
        - limits
        - daily
      title: UsageSummary
    UsageCounts:
      properties:
        rejestr:
          type: integer
          title: Rejestr
        announcement:
          type: integer
          title: Announcement
        pdfs:
          type: integer
          title: Pdfs
        reports:
          type: integer
          title: Reports
      type: object
      required:
        - rejestr
        - announcement
        - pdfs
        - reports
      title: UsageCounts
    DailyUsage:
      properties:
        day_start:
          type: string
          format: date-time
          title: Day Start
        day_end:
          type: string
          format: date-time
          title: Day End
        wpv_checks:
          type: integer
          title: Wpv Checks
        wpv_checks_limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Wpv Checks Limit
      type: object
      required:
        - day_start
        - day_end
        - wpv_checks
        - wpv_checks_limit
      title: DailyUsage
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````