> ## 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 account fees

> ### Parameters

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| account | yes | string (hex) | Account address (required) |

### Response fields

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| `accountFees` | yes | object | — |
| `accountFees.active` | yes | string | — |
| `accountFees.liquidityProviderRank` | yes | integer (int64) | — |
| `accountFees.passive` | yes | string | — |
| `accountFees.tier` | yes | string | — |
| `accountFees.totalVolume` | yes | string | — |

### 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 /account-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:
  /account-fees:
    get:
      tags:
        - Account
      summary: Get account fees
      description: >-
        ### Parameters


        | Parameter | Required | Type | Description |

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

        | account | yes | string (hex) | Account address (required) |


        ### Response fields


        | Parameter | Required | Type | Description |

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

        | `accountFees` | yes | object | — |

        | `accountFees.active` | yes | string | — |

        | `accountFees.liquidityProviderRank` | yes | integer (int64) | — |

        | `accountFees.passive` | yes | string | — |

        | `accountFees.tier` | yes | string | — |

        | `accountFees.totalVolume` | yes | string | — |


        ### 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_account_fees
      parameters:
        - name: account
          in: path
          description: Account address (required)
          required: true
          schema:
            $ref: '#/components/schemas/AccountAddress'
      responses:
        '200':
          description: Fees by account address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAccountFeesResponse'
              example:
                accountFees:
                  passive: '0.00020'
                  active: '0.00045'
                  totalVolume: '1250000.50'
                  liquidityProviderRank: 42
                  tier: standard
components:
  schemas:
    AccountAddress:
      type: string
      format: hex
      description: An Ethereum-style account address (20 bytes).
    GetAccountFeesResponse:
      type: object
      required:
        - accountFees
      properties:
        accountFees:
          $ref: '#/components/schemas/AccountFeesClientView'
    AccountFeesClientView:
      type: object
      required:
        - passive
        - active
        - totalVolume
        - liquidityProviderRank
        - tier
      properties:
        active:
          type: string
        liquidityProviderRank:
          $ref: '#/components/schemas/u64'
        passive:
          type: string
        tier:
          type: string
        totalVolume:
          type: string
    u64:
      type: integer
      format: int64
      minimum: 0

````