Skip to main content
POST
/
api
/
v4
/
main-account
/
smart
/
investments
Get investments history
curl --request POST \
  --url https://whitebit.com/api/v4/main-account/smart/investments \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "id": "0d7b66ff-1909-4938-ab7a-d16d9a64dcd5",
  "ticker": "USDT",
  "status": 1,
  "request": "{{request}}",
  "nonce": "{{nonce}}"
}
'
{
  "offset": 0,
  "limit": 100,
  "records": [
    {
      "id": "0d7b66ff-1909-4938-ab7a-d16d9a64dcd5",
      "plan": {
        "id": "8e667b4a-0b71-4988-8af5-9474dbfaeb51",
        "ticker": "USDT",
        "status": 1,
        "percent": "10",
        "duration": 14400,
        "interestTicker": "USDT",
        "interestRatio": "1",
        "minInvestment": "100",
        "maxInvestment": "10000",
        "maxPossibleInvestment": "3000"
      },
      "status": 1,
      "created": 1646825196,
      "updated": 1646825196,
      "paymentTime": 1646839596,
      "amount": "100",
      "interestPaid": "0"
    }
  ]
}
These endpoints are available only for B2B partner services, you need to fill the form https://whitebit.com/institutional-services/b2b in order to get permissions to use these endpoints.

Authorizations

X-TXC-APIKEY
string
header
required

API key authentication using signed requests

Body

application/json
request
string
required

Request signature

nonce
string
required

Unique request identifier

id
string

Investment identifier

ticker
string

Invest plan source currency's ticker

status
enum<integer>

Investment status (1 - active, 2 - closed)

Available options:
1,
2
limit
integer
default:100

LIMIT is a special clause used to limit records a particular query can return.

Required range: 1 <= x <= 100
offset
integer
default:0

If you want the request to return entries starting from a particular line, you can use OFFSET clause to tell it where it should start.

Required range: 0 <= x <= 10000

Response

Successful response

offset
integer
limit
integer
records
object[]