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

# Get distribution rates

> Every distribution rate (sazba) the calculator offers, with its description and TDD load-profile
class. Use a returned `code` as `distribution.distributionRate`.



## OpenAPI

````yaml /api-reference/swagger-partner.json get /api/v1/reference/distribution-rates
openapi: 3.0.4
info:
  title: Partner API
  description: API for partner services
  version: v1
servers:
  - url: https://api.partner.cubee.cz
    description: Partnerý API server
security: []
tags:
  - name: Aggregated Data
  - name: Authentication
  - name: Calculator
  - name: CalculatorControllerV1
  - name: InvoiceExtraction
  - name: Public
  - name: Reference data
  - name: Studies
paths:
  /api/v1/reference/distribution-rates:
    get:
      tags:
        - Reference data
      summary: Get distribution rates
      description: >-
        Every distribution rate (sazba) the calculator offers, with its
        description and TDD load-profile

        class. Use a returned `code` as `distribution.distributionRate`.
      operationId: Get distribution rates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DistributionRateInfo'
              example:
                - code: D02d
                  description: Domácnosti s běžnými spotřebiči
                  tdd: TDD4
                - code: D57d
                  description: Domácnosti s elektrickým vytápěním
                  tdd: TDD7
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ProblemDetails'
                  - $ref: '#/components/schemas/HttpValidationProblemDetails'
        '500':
          description: Internal Server Error
      security:
        - {}
components:
  schemas:
    DistributionRateInfo:
      type: object
      properties:
        code:
          type: string
          description: >-
            Distribution rate code (e.g. "D57d"). Use as
            `distribution.distributionRate`.
          nullable: true
          example: D57d
        description:
          type: string
          description: >-
            Human-readable description of the rate (e.g. "Domácnosti s
            elektrickým vytápěním").
          nullable: true
          example: Domácnosti s elektrickým vytápěním
        tdd:
          type: string
          description: >-
            Typical-consumption-diagram (TDD) load-profile class the rate maps
            to (e.g. "TDD7").
          nullable: true
          example: TDD7
      additionalProperties: false
      description: >-
        A distribution rate (sazba) offered in the calculator: its code, UI
        label, and TDD load-profile class.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    HttpValidationProblemDetails:
      allOf:
        - $ref: '#/components/schemas/ProblemDetails'
        - type: object
          properties:
            errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
              nullable: true
          additionalProperties: {}

````