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

# Get global fees

> ### Response fields

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| `result` | yes | object | — |
| `result.liquidityProviderFeeRanking` | yes | array[] | — |
| `result.liquidityProviderFeeRanking[]` | yes | array[] | Array items. |
| `result.regularFeeLadder` | yes | array[] | — |
| `result.regularFeeLadder[]` | yes | array[] | Array items. |

### Response example

A sample **`200`** JSON body is attached to this operation as an OpenAPI **example** (Mintlify shows it in the example panel, similar to other exchange API docs).



## OpenAPI

````yaml /specs/openapi.json get /fees
openapi: 3.1.0
info:
  title: RocketFi REST API
  description: REST API for Rocket Chain / RocketFi integrations.
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://beta.rocketfi.io
    description: Beta
  - url: https://testnet.rocket-cluster-1.com
    description: Testnet
  - url: https://devnet.rocket-cluster-1.com
    description: Devnet
security: []
tags:
  - name: Service
    description: Health and availability.
  - name: Market data
    description: Instruments, candles, fees, leverage, and funding data.
  - name: Account
    description: Account nonce, fees, collateral, positions, and orders.
  - name: Trading
    description: Transactions and order activity.
  - name: Vault and bridge
    description: Vaults, history, and bridge events.
  - name: Faucet (testnet)
    description: Testnet faucet for development.
paths:
  /fees:
    get:
      tags:
        - Market data
      summary: Get global fees
      description: >-
        ### Response fields


        | Parameter | Required | Type | Description |

        | --------- | -------- | ---- | ----------- |

        | `result` | yes | object | — |

        | `result.liquidityProviderFeeRanking` | yes | array[] | — |

        | `result.liquidityProviderFeeRanking[]` | yes | array[] | Array items.
        |

        | `result.regularFeeLadder` | yes | array[] | — |

        | `result.regularFeeLadder[]` | yes | array[] | Array items. |


        ### Response example


        A sample **`200`** JSON body is attached to this operation as an OpenAPI
        **example** (Mintlify shows it in the example panel, similar to other
        exchange API docs).
      operationId: get_global_fees
      responses:
        '200':
          description: Fee tiers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGlobalFeesResponse'
              example:
                result:
                  liquidityFeeRanking: []
                  regularFeeLadder: []
components:
  schemas:
    GetGlobalFeesResponse:
      type: object
      required:
        - result
      properties:
        result:
          $ref: '#/components/schemas/GlobalFeesClientView'
    GlobalFeesClientView:
      type: object
      required:
        - regularFeeLadder
        - liquidityProviderFeeRanking
      properties:
        liquidityProviderFeeRanking:
          $ref: '#/components/schemas/LiquidityProviderFeeRankingClientView'
        regularFeeLadder:
          $ref: '#/components/schemas/FeeLadderClientView'
    LiquidityProviderFeeRankingClientView:
      type: array
      items:
        type: array
        items: false
        prefixItems:
          - type: integer
            format: int64
            minimum: 0
          - type: object
            required:
              - passive
              - active
            properties:
              active:
                type: string
              passive:
                type: string
    FeeLadderClientView:
      type: array
      items:
        type: array
        items: false
        prefixItems:
          - type: string
          - type: object
            required:
              - passive
              - active
            properties:
              active:
                type: string
              passive:
                type: string

````