POST
/
api
/
v1
/
holdings
/
value
curl --request POST \
  --url https://integration-api.getfront.com/api/v1/holdings/value \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "authToken": "Secret authentication token",
  "type": "binanceInternationalDirect"
}'
{
  "content": {
    "totalValue": 186.03,
    "totalPerformance": 6.23,
    "equitiesValue": 100.12,
    "equitiesPerformance": 5.3457,
    "cryptocurrenciesValue": 50.37,
    "cryptocurrenciesPerformance": 7.23,
    "nftsValue": 15.34,
    "fiatValue": 20.2
  },
  "status": "ok",
  "message": "",
  "errorType": ""
}

Authorizations

X-Client-Secret
string
header
required

Contact Front to get client Secret

X-Client-Id
string
header
required

Contact Front to get client Id

Body

application/json
Request with authentication token.
authToken
string
required

Auth token that allows connecting to the target institution

Minimum length: 1
type
enum<string>
required

Type of the institution to connect

Supported integrations:

Robinhood ETrade Alpaca WeBull Stash InteractiveBrokers Public Coinbase Kraken CoinbasePro CryptoCom OpenSea Binance Gemini OkCoin KuCoin Etoro CexIo BinanceInternational Bitstamp GateIo Acorns Okx BitFlyer Coinlist Huobi Bitfinex KrakenDirect Vanguard BinanceInternationalDirect BitfinexDirect Bybit Paxos CoinbasePrime DeFiWallet

Available options:
robinhood,
eTrade,
alpaca,
tdAmeritrade,
weBull,
stash,
interactiveBrokers,
public,
coinbase,
kraken,
coinbasePro,
cryptoCom,
openSea,
binanceUs,
gemini,
cryptocurrencyAddress,
cryptocurrencyWallet,
okCoin,
bittrex,
kuCoin,
etoro,
cexIo,
binanceInternational,
bitstamp,
gateIo,
acorns,
okx,
bitFlyer,
coinlist,
huobi,
bitfinex,
deFiWallet,
krakenDirect,
vanguard,
binanceInternationalDirect,
bitfinexDirect,
bybit,
paxos,
coinbasePrime

Response

200
application/json
Market values of assets
status
enum<string>
Available options:
ok,
serverFailure,
permissionDenied,
badRequest,
notFound,
conflict,
tooManyRequest,
locked
message
string | null

A message generated by the API

displayMessage
string | null

User-friendly display message that can be presented to the end user

errorType
string | null

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

content
object