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

# Get investments history

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

## Request

- Base URL: `https://whitebit.com`
- URL: `https://whitebit.com/api/v4/main-account/smart/investments`
- Auth: API key in header `X-TXC-APIKEY` and API key in header `X-TXC-PAYLOAD` and API key in header `X-TXC-SIGNATURE`
- TypeScript: <https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/docs/api/v4/main-account/smart/investments/post.ts> (a function with typed inputs; its response is checked against the schema)

The endpoint retrieves an investments history.

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

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

## Request body

- object
  - `id` string: Investment identifier
  - `ticker` string: [Invest plan](/glossary#crypto-lending) source currency's [ticker](/glossary#ticker)
  - `status` 1 | 2: Investment status (1 - active, 2 - closed)
  - `limit` integer: LIMIT is a special clause used to limit records a particular query can return.
  - `offset` integer: Use the OFFSET clause to return entries starting from a particular line.
  - `request` string, required: Request signature
  - `nonce` integer, required: Unique request identifier

## Response `200`

Successful response

- object
  - `offset` integer
  - `limit` integer
  - `records` Investment[]
    - `id` string: Investment identifier
    - `plan` FixedPlan
      - `id` string: Invest plan identifier
      - `ticker` string: Source currency ticker
      - `status` integer: Status (1 - active, 2 - no coins left, 3 - inactive, 4 - pause)
      - `percent` string: Interest percent
      - `duration` integer: Investment duration (in minutes)
      - `interestTicker` string: Target currency ticker
      - `interestRatio` string: Target currency to source currency ratio
      - `minInvestment` string: Minimum investment amount
      - `maxInvestment` string: Maximum investment amount
      - `maxPossibleInvestment` string: Maximum investment amount due to current invest plan state
    - `status` integer: Investment status (1 - active, 2 - closed)
    - `created` integer: Timestamp of investment creation
    - `updated` integer: Timestamp of investment update
    - `paymentTime` integer: Timestamp of the payment time
    - `amount` string: Investment amount
    - `interestPaid` string: Interest paid amount

## Other responses

- `400`: Request validation failed

---

[API](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4.md) - [All operations](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/whitebit/apis/whitebit-private-http-api-v4/revisions/76c9def9942f?raw)
