---
title: "Get Flex Investment History"
method: POST
path: "/api/v4/main-account/smart-flex/investments/history"
tags: ["Crypto Lending - Flex"]
---

# Get Flex Investment History

`POST /api/v4/main-account/smart-flex/investments/history`

Retrieve complete investment operations history with advanced filtering.

**Available Action Types:**
- 1: INVEST - Investment creation
- 2: REINVEST - Automatic reinvestment
- 3: WITHDRAW_FROM_INVESTMENT - Partial withdrawal
- 4: DAILY_EARNING - Daily earnings
- 5: CLOSE_INVESTMENT - Investment closure
- 6: OPEN_INVESTMENT - Investment opening

<Warning>
Rate limit: 1000 requests/10 sec.
</Warning>

<Note>
The API does not cache the response.
</Note>

## Request body

- object
  - `limit` integer — Pagination limit.
  - `offset` integer — Pagination offset.
  - `plan` string — Filter by plan ID (UUID).
  - `investment` string — Filter by investment ID.
  - `transaction` string — Filter by transaction ID.
  - `dateFrom` integer — Filter from date (timestamp).
  - `dateTo` integer — Filter to date (timestamp).
  - `actionTypes` integer[] — Array of operation type IDs. See table below.
  - `request` string, required — Request signature
  - `nonce` integer, required — Unique request identifier

## Response `200`

Successful response

- object
  - `data` FlexInvestmentHistory[]
    - `createdAt` integer — Transaction creation timestamp
    - `planId` string — Flex plan identifier
    - `investmentId` string — Flex investment identifier
    - `currency` string — Transaction currency
    - `amount` string — Transaction amount
    - `transaction_id` string — Transaction identifier
    - `actionType` integer — Action type: 1-INVEST, 2-REINVEST, 3-WITHDRAW_FROM_INVESTMENT, 4-DAILY_EARNING, 5-CLOSE_INVESTMENT, 6-OPEN_INVESTMENT
  - `limit` integer
  - `offset` integer

## Other responses

- `400` — Validation failed

---

[API](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4.md) · [All operations](https://skmtc.net/whitebit/apis/whitebit-private-http-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whitebit/whitebit-private-http-api-v4/revisions/76c9def9942f/schema)
