v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Crypto Lending - Flex

Get User Flex Investments

Retrieve user's investment portfolio with optional filtering.

<Warning> Rate limit: 1000 requests/10 sec. </Warning> <Note> The API does not cache the response. </Note>
post/api/v4/main-account/smart-flex/investments

Request body

limitinteger

Pagination limit. Default: 100.

offsetinteger

Pagination offset. Default: 0.

tickerstring

Filter by currency ticker. Example: USDT.

planstring

Filter by plan ID (UUID).

investmentstring

Filter by investment ID.

investmentStatus0 | 1

Filter by status (1=ACTIVE, 0=CLOSED).

requeststring required

Request signature

nonceinteger required

Unique request identifier

Example request

{
  "limit": 100,
  "ticker": "USDT",
  "plan": "8f2e9d3c-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investment": "inv_7e2d9c3b-1a4b-4c2d-9e5f-6a7b8c9d0e1f",
  "investmentStatus": 1,
  "request": "{{request}}",
  "nonce": 1594297865000
}

Response

Successful response

limitinteger
offsetinteger

Example response

{
  "data": [
    {
      "id": "2765",
      "planId": "12",
      "currency": "USDT",
      "invested": "100",
      "withAutoReinvest": true,
      "status": 1,
      "createdAt": 1588345560,
      "updatedAt": 1588345560
    }
  ]
}