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

# Get Sub-Account Transfer History

> Retrieve the history of fund transfers between the main account and sub-accounts via the V4 API.



## OpenAPI

````yaml /openapi/private/main_api_v4.yaml POST /api/v4/sub-account/transfer/history
openapi: 3.0.3
info:
  title: WhiteBIT Private HTTP API V4
  description: |
    WhiteBIT Private HTTP API V4 for Main balance changes.

    Base URL: https://whitebit.com

    All endpoints return time in Unix-time format.
    All endpoints return either a JSON object or array.
    For receiving responses from API calls please use http method POST.
  version: 4.0.0
  contact:
    name: WhiteBIT Support
    email: support@whitebit.com
    url: https://whitebit.com
servers:
  - url: https://whitebit.com
    description: WhiteBIT Global Server
  - url: https://whitebit.eu
    description: WhiteBIT EU Server
security:
  - ApiKeyAuth: []
    PayloadAuth: []
    SignatureAuth: []
tags:
  - name: Main Account
    description: Main account balance and operations
  - name: Deposit
    description: Cryptocurrency and fiat deposit operations
  - name: Withdraw
    description: Cryptocurrency and fiat withdrawal operations
  - name: Transfer
    description: Balance transfer operations
  - name: Codes
    description: WhiteBIT codes operations
  - name: Crypto Lending - Fixed
    description: Fixed crypto lending plans
  - name: Crypto Lending - Flex
    description: Flexible crypto lending plans
  - name: Fees
    description: Fee information
  - name: Sub-Account
    description: Sub-account management
  - name: Sub-Account API Keys
    description: Sub-account API key management
  - name: Mining Pool
    description: Mining pool operations
  - name: Credit Line
    description: Credit line information
  - name: JWT
    description: JWT token management
paths:
  /api/v4/sub-account/transfer/history:
    post:
      tags:
        - Sub-Account
      summary: Get Sub-Account Transfer History
      description: >
        The endpoint returns history of transfers between main account and
        [sub-account](/glossary#sub-account).


        <Warning>

        Rate limit: 1000 requests/10 sec.

        </Warning>


        <Note>

        The API does not cache the response.

        </Note>


        <Note>

        Results are sorted by transaction id descending (newest transfer first).
        The response is a plain array with no `total`, `has_more`, or cursor — a
        returned count below `limit` marks the last page (an empty array means
        no further records).

        </Note>


        <Note>

        **No date filtering:** the endpoint does not accept `startDate` /
        `endDate` parameters, and pagination is capped at `offset + limit ≤
        10000` (`limit` ≤ 100). The required `id` parameter already scopes
        results to a single sub-account; for a complete history export beyond
        the cap, use the Report on the History page.

        </Note>
      operationId: getSubAccountTransferHistory
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - id
              properties:
                id:
                  type: string
                  description: Sub-account id
                  example: 8e667b4a-0b71-4988-8af5-9474dbfaeb51
                direction:
                  type: string
                  enum:
                    - main_to_sub
                    - sub_to_main
                  description: Transfer direction (optional)
                  example: main_to_sub
                limit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 100
                  example: 100
                offset:
                  type: integer
                  minimum: 0
                  maximum: 10000
                  default: 0
                  example: 0
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  offset:
                    type: integer
                  limit:
                    type: integer
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SubAccountTransfer'
        '422':
          description: Account is not confirmed
components:
  schemas:
    SubAccountTransfer:
      type: object
      properties:
        transaction_id:
          type: string
          description: >-
            Transaction identifier. Same value as id. Correlate with the
            transfer endpoint response using the transaction_id field.
          example: tx-abc123
        id:
          type: string
          description: Transfer identifier
          deprecated: true
          example: tx-abc123
        direction:
          type: string
          description: Transfer direction (main_to_sub or sub_to_main)
          example: main_to_sub
        currency:
          type: string
          description: Currency transferred
          example: ETH
        amount:
          type: string
          description: Transfer amount
          example: '0.5'
        createdAt:
          type: integer
          description: Transfer creation timestamp
          example: 1641081600
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-TXC-APIKEY
      description: The public WhiteBIT API key.
    PayloadAuth:
      type: apiKey
      in: header
      name: X-TXC-PAYLOAD
      description: Base64-encoded JSON request body.
    SignatureAuth:
      type: apiKey
      in: header
      name: X-TXC-SIGNATURE
      description: >-
        HMAC-SHA512 signature of the payload, hex-encoded. Computed as
        hex(HMAC-SHA512(payload, api_secret)).

````