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

# Get paper host fee tiers

> Gets a paper host's selectable fee tiers and its default tier.



## OpenAPI

````yaml /api-reference/platform/plurex-platform-api.yaml QUERY /api/v1/paper/query/GetHostFeeTiers
openapi: 3.2.0
info:
  title: Plurex Platform API
  version: 1.0.0
  description: >-
    Command and query RPC over HTTP for cross-exchange trading and account
    management.
servers:
  - url: https://api.plurex.io
security:
  - ApiKey: []
    ApiSecret: []
tags:
  - name: venues
    summary: Market data
    description: Market data from the exchanges where markets trade.
    kind: nav
  - name: venue-markets
    summary: Venues and markets
    description: The venues and their markets, with the market data each market supports.
    parent: venues
    kind: nav
  - name: order-books
    summary: Order books
    description: >-
      A market's current bids and asks: L1 is the top of book, L2 the price
      levels.
    parent: venues
    kind: nav
  - name: public-trades
    summary: Public trades
    description: A market's recent public trades.
    parent: venues
    kind: nav
  - name: market-observations
    summary: Prices and market statistics
    description: Current prices, statistics, indicative funding and open interest.
    parent: venues
    kind: nav
  - name: candles
    summary: Candles
    description: Closed OHLC candles by price kind and interval, newest first.
    parent: venues
    kind: nav
  - name: funding-periods
    summary: Funding history
    description: Finalized funding rates of perpetuals, newest first.
    parent: venues
    kind: nav
  - name: hosts
    summary: Trading
    description: >-
      Trading on an account: each host's tradable markets and order rules,
      orders, fills, balances, positions, margin, market settings and
      transactions.
    kind: nav
  - name: host-markets
    summary: Hosts and markets
    description: >-
      The hosts and their tradable markets, with each market's order types,
      order rules and settings.
    parent: hosts
    kind: nav
  - name: orders
    summary: Orders
    description: Submit, cancel and read orders.
    parent: hosts
    kind: nav
  - name: fills
    summary: Fills
    description: The account's executions, by order, instrument or across the account.
    parent: hosts
    kind: nav
  - name: portfolio
    summary: Balances and positions
    description: Wallet balances, open positions, margin and per-market account state.
    parent: hosts
    kind: nav
  - name: market-settings
    summary: Leverage and position mode
    description: Read and set the account's leverage and position mode for a market.
    parent: hosts
    kind: nav
  - name: transactions
    summary: Transactions
    description: 'Balance postings: fees, funding payments, deposits and so on.'
    parent: hosts
    kind: nav
  - name: accounts
    summary: Accounts
    description: Connect, list and manage a tenant's exchange, broker and paper accounts.
    kind: nav
  - name: paper
    summary: Paper trading
    description: >-
      Create, fund and draw down paper accounts and set their fees. Trade them
      through the hosts operations like any other account.
    kind: nav
  - name: paper-accounts
    summary: Paper accounts
    description: Create, fund and draw down paper accounts.
    parent: paper
    kind: nav
  - name: paper-fees
    summary: Paper fees
    description: Choose the fee tier a paper account is charged.
    parent: paper
    kind: nav
  - name: optional
    summary: Check capabilities
    description: >-
      Not every host or venue supports this operation; check its capabilities
      first or expect 422 NotSupported.
    kind: badge
  - name: paged
    summary: Paged
    description: Returns pages; follow nextCursor until null.
    kind: badge
  - name: batch
    summary: Batch
    description: Takes a list of identifiers and handles them in one call.
    kind: badge
  - name: not-repeat-safe
    summary: Not safe to repeat
    description: >-
      Repeating the call repeats its effect; if the outcome is unclear, check
      before retrying. Commands without this badge are safe to repeat.
    kind: badge
paths:
  /api/v1/paper/query/GetHostFeeTiers:
    query:
      tags:
        - paper-fees
      summary: Get paper host fee tiers
      description: Gets a paper host's selectable fee tiers and its default tier.
      operationId: paperGetHostFeeTiers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetHostFeeTiersQuery'
      responses:
        '200':
          description: Successful result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseEnvelopePaperHostFeeTiers'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
        '415':
          $ref: '#/components/responses/UnsupportedMediaType'
        '500':
          $ref: '#/components/responses/UnexpectedError'
        '503':
          $ref: '#/components/responses/Unavailable'
      security:
        - ApiKey: []
          ApiSecret: []
components:
  schemas:
    GetHostFeeTiersQuery:
      type: object
      properties:
        hostId:
          type: string
      required:
        - hostId
      description: Gets a paper host's selectable fee tiers.
    ResponseEnvelopePaperHostFeeTiers:
      type: object
      description: Success response; data holds the result.
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/PaperHostFeeTiers'
    PaperHostFeeTiers:
      type: object
      properties:
        tiers:
          type: array
          items:
            $ref: '#/components/schemas/PaperFeeTier'
        defaultTier:
          type: integer
          description: The tier ID a new account uses when CreateAccount omits feeTier.
      required:
        - tiers
        - defaultTier
      description: A paper host's selectable fee tiers and its default tier.
    ErrorEnvelope:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
      required:
        - code
        - message
      description: >-
        The body of every error response, at every HTTP status; code gives the
        reason. An error alone does not prove a command had no effect.
    PaperFeeTier:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        defaults:
          $ref: '#/components/schemas/PaperFeeRates'
        instrumentOverrides:
          type: array
          items:
            $ref: '#/components/schemas/PaperInstrumentFeeRates'
      required:
        - id
        - name
        - defaults
        - instrumentOverrides
      description: >-
        A named paper fee tier: default rates, with overrides for matching
        instruments.
    ErrorCode:
      type: string
      enum:
        - InvalidRequest
        - Unauthenticated
        - Forbidden
        - AccountNotFound
        - OrderNotFound
        - NotFound
        - MethodNotAllowed
        - DuplicateClientOrderId
        - OrderAlreadyClosed
        - UnsupportedMediaType
        - ValidationFailed
        - InsufficientFunds
        - InvalidProviderCredentials
        - ProviderAccessDenied
        - AccountLimit
        - NotSupported
        - Rejected
        - RateLimited
        - UnexpectedError
        - CancelAllFailed
        - UpstreamFailure
        - Unavailable
        - UpstreamTimeout
      description: >-
        Stable error reason; each code has a fixed HTTP status. InvalidRequest
        (400): the body or cursor cannot be read as the request: malformed JSON,
        wrong types, unknown fields or enum values, or missing fields.
        Unauthenticated (401): missing or invalid API key headers. Forbidden
        (403): no access to the account or operation. AccountNotFound (404): the
        accountId does not exist. OrderNotFound (404): the order identifier does
        not exist on the account. NotFound (404): unknown path, host or venue.
        MethodNotAllowed (405): a command sent other than as POST, or a query or
        stream sent as neither QUERY nor POST. DuplicateClientOrderId (409): the
        host holds another order with this clientOrderId. OrderAlreadyClosed
        (409): the order is filled, cancelled or rejected. UnsupportedMediaType
        (415): the request is not Content-Type application/json.
        ValidationFailed (422): one or more values break a rule of the request
        or the market; the message names each. InsufficientFunds (422): the
        account cannot fund the order or withdrawal. InvalidProviderCredentials
        (422): the provider rejected the credentials (invalid, expired or
        revoked). ProviderAccessDenied (422): the credentials lack the access
        needed. AccountLimit (422): an account limit was reached. NotSupported
        (422): the host does not support this operation, variant or instrument.
        Rejected (422): the request is valid, but the host or the current state
        of the account refuses it. RateLimited (429): the provider rate limited
        the request. UnexpectedError (500): unexpected server failure.
        CancelAllFailed (502): at least one cancel failed; reconcile with
        ListOpenOrders. UpstreamFailure (502): the provider failed or returned
        an unusable response. Unavailable (503): the service or provider is
        temporarily unavailable. UpstreamTimeout (504): the provider did not
        respond in time. New codes may be added; handle an unknown code by its
        HTTP status.
    PaperFeeRates:
      type: object
      properties:
        makerFeePercent:
          $ref: '#/components/schemas/Decimal'
        takerFeePercent:
          $ref: '#/components/schemas/Decimal'
        fractionDigits:
          type:
            - integer
            - 'null'
          description: >-
            Decimal places fees are rounded to; it follows the fee asset, so
            tier rates report null. GetEffectiveFeeRates reports it for an
            instrument.
      required:
        - makerFeePercent
        - takerFeePercent
        - fractionDigits
      description: Maker and taker fee rates, as percentages of traded value.
    PaperInstrumentFeeRates:
      type: object
      properties:
        label:
          type: string
          description: >-
            A short name for the instruments the pattern matches, such as
            Perpetuals; unique within the tier.
        instrumentPattern:
          type: string
        rates:
          $ref: '#/components/schemas/PaperFeeRates'
      required:
        - label
        - instrumentPattern
        - rates
      description: >-
        Fee rates that replace a tier's defaults for instruments whose canonical
        symbol matches the regular expression instrumentPattern.
    Decimal:
      type: string
      pattern: ^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
      description: An exact decimal number encoded as a string.
  responses:
    BadRequest:
      description: 400 BadRequest; code is InvalidRequest.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            InvalidRequest:
              summary: The body or cursor cannot be read as this request
              value:
                code: InvalidRequest
                message: Invalid cursor
    Unauthenticated:
      description: 401 Unauthenticated; code is Unauthenticated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            Unauthenticated:
              summary: The API key headers are missing or invalid
              value:
                code: Unauthenticated
                message: Unauthorized
    NotFound:
      description: 404 NotFound; code is AccountNotFound, OrderNotFound or NotFound.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            AccountNotFound:
              summary: The accountId does not exist
              value:
                code: AccountNotFound
                message: 'Account not found: acc_123'
            OrderNotFound:
              summary: The account exists, but the order identifier does not
              value:
                code: OrderNotFound
                message: 'Order not found: ord_456'
            NotFound:
              summary: Unknown path, host or venue
              value:
                code: NotFound
                message: Not Found
    UnsupportedMediaType:
      description: 415 UnsupportedMediaType; code is UnsupportedMediaType.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            UnsupportedMediaType:
              summary: The request is not Content-Type application/json
              value:
                code: UnsupportedMediaType
                message: Content type text/plain is not supported
    UnexpectedError:
      description: 500 UnexpectedError; code is UnexpectedError.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            UnexpectedError:
              summary: Unexpected server failure
              value:
                code: UnexpectedError
                message: Internal Server Error
    Unavailable:
      description: 503 Unavailable; code is Unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            Unavailable:
              summary: The service or provider is temporarily unavailable
              value:
                code: Unavailable
                message: Service Unavailable
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Belongs to one tenant and reaches only that tenant's resources.
    ApiSecret:
      type: apiKey
      in: header
      name: X-API-SECRET

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.