Skip to main content

Portfolio

Get your wallet holdings, including blocked balances locked in open orders, average buy prices, and current INR value.

HTTP

MethodGET
Endpoint/trade/api/v2/user/portfolio
Rate limit5000 requests per 10 seconds

Request Parameters

None.

Example

import requests

headers, path = sign_request("GET", "/trade/api/v2/user/portfolio")
response = requests.get(BASE_URL + path, headers=headers)
print(response.json())

Response

{
"data": [
{
"currency": "ETH",
"blocked_balance_order": "0.0019",
"main_balance": "0.00008393",
"buy_average_price": 110882.72063601,
"invested_value": 220.40483679829757,
"invested_value_excluding_fee": 219.98355595139932,
"current_value": 324.10075659,
"sell_rate": 163363,
"buy_rate": 164531,
"is_average_price_available": true,
"name": "Ethereum",
"is_delisted_coin": false
},
{
"name": "Indian Rupee",
"currency": "INR",
"main_balance": 802.33,
"blocked_balance_order": 0,
"invested_value": 308.9,
"current_value": 654.95
}
]
}

Response Parameters

data is an array, one entry per held asset. Crypto rows quote balances as strings; the INR row quotes as numbers.

FieldTypeDescription
namestringAsset display name (Ethereum, Indian Rupee).
currencystringAsset code (ETH, INR).
main_balancestring | numberAvailable balance.
blocked_balance_orderstring | numberBalance currently locked in open orders.
buy_average_pricenumberWeighted average buy price across the user's holdings of this asset. INR-denominated.
invested_valuenumberTotal amount invested (INR).
invested_value_excluding_feenumberInvested value before fees (INR). May be omitted on the INR row.
current_valuenumberCurrent market value (INR).
sell_ratenumberReference sell price (INR).
buy_ratenumberReference buy price (INR).
is_average_price_availablebooleantrue if buy_average_price is reliable. false if computation is incomplete (e.g. legacy holdings before tracking started).
is_delisted_coinbooleantrue if the asset has been delisted. Existing positions can still be sold.

C2C trades are reported here in INR, computed from the last traded INR/USDT rate at trade time. See C2C Trading for details.