> ## 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 fill volumes by account and instrument type

> ### Parameters

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| from | yes | integer (int64) | — |
| to | yes | integer (int64) | — |

### Response fields

| Parameter | Required | Type | Description |
| --------- | -------- | ---- | ----------- |
| `byAccount` | yes | object | — |
| `byAccount.*` | yes | object (map) | An Ethereum-style account address (20 bytes). |

### 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 /fill-volumes-by-account-and-instr-type
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:
  /fill-volumes-by-account-and-instr-type:
    get:
      tags:
        - Market data
      summary: Get fill volumes by account and instrument type
      description: >-
        ### Parameters


        | Parameter | Required | Type | Description |

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

        | from | yes | integer (int64) | — |

        | to | yes | integer (int64) | — |


        ### Response fields


        | Parameter | Required | Type | Description |

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

        | `byAccount` | yes | object | — |

        | `byAccount.*` | yes | object (map) | An Ethereum-style account address
        (20 bytes). |


        ### 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_fills_by_account_and_instr_type
      parameters:
        - name: from
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/u64'
        - name: to
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/u64'
      responses:
        '200':
          description: >-
            Summ of volumes of fills for all accounts for a time range by
            instrument type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FillVolumesByAccountAndInstrumentTypeView'
              example:
                byAccount:
                  '0x0000000000000000000000000000000000000001':
                    Perpetuals: '125000.5'
components:
  schemas:
    u64:
      type: integer
      format: int64
      minimum: 0
    FillVolumesByAccountAndInstrumentTypeView:
      type: object
      required:
        - byAccount
      properties:
        byAccount:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: string
            propertyNames:
              type: string
              enum:
                - Spot
                - Perpetuals
                - Futures
                - Options
                - Unknown
          propertyNames:
            type: string
            format: hex
            description: An Ethereum-style account address (20 bytes).

````