Skip to Content
APIAccountGet Account Participated Projects

Get Account Participated Projects

1. Overview & Typical Use

Queries the projects that a specified account has participated in, including staking, liquidity provision, and other DeFi projects along with their asset values.

  • Typical use: DeFi asset aggregation, project participation overview, portfolio asset value calculation.
  • When not to use: to query account token holdings, use “Get Account Token List”; to query an account’s overall asset overview, use “Get Account Wallet Token Overview”.

2. Endpoint & Authentication

GET /api/participate_project

For Base URL and authentication, see Common Network & Authentication.

This endpoint requires an API Key: calls without a Key return 401.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesAccount address (Base58, starts with T)
detailintegerNo1Pass 0 to omit the data field in each project; defaults to returning all data

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal number of participated projects
projectsarrayRequiredProject record array; see below
total_asset_in_trxnumberRequiredTotal assets across all projects in TRXTRX
total_asset_in_usdnumberRequiredTotal assets across all projects in USDUSD
refreshTimeInfoobjectRequiredData refresh time info (contains type and lastUpdateTime s timestamp)

projects[] element

FieldTypeRequiredDescriptionUnit/Precision
project_namestringRequiredProject name
logostringRequiredProject logo URL
urlstringRequiredProject website (may be an empty string)
total_valuenumberRequiredAsset value for this project (TRX, low precision display)TRX
total_value_detailnumberRequiredAsset value for this project (TRX, high precision)TRX
total_value_in_usdnumberRequiredAsset value in USD (low precision display)USD
total_value_in_usd_detailnumberRequiredAsset value in USD (high precision)USD
percentnumberRequiredProportion of total assetsDecimal
dataarrayRequiredAsset detail array; see below

projects[].data[] element

FieldTypeRequiredDescriptionUnit/Precision
sc_typestringRequiredScenario type (e.g. Staked USDT, Staking, Lending, Liquidity Asset)
currencystringRequiredToken ID (TRX uses _; TRC20 uses contract address)
currency_infoobjectRequiredToken metadata; see below
balancenumberRequiredBalance (low precision display)Includes decimals
balanceDetailnumberRequiredBalance (high precision)Includes decimals
valuenumberRequiredAsset value (TRX, low precision display)TRX
value_detailnumberRequiredAsset value (TRX, high precision)TRX
value_in_usdnumberRequiredValue in USD (low precision display)USD
value_in_usd_detailnumberRequiredValue in USD (high precision)USD
typestringOptionalOperation type (e.g. Stake, Supply, Liquidity); not returned for some scenarios (e.g. Liquidity Asset)
little_balancebooleanOptionalWhether the balance is negligibly small; only returned for some sc_type values (e.g. Staked USDT)
little_valuebooleanOptionalWhether the value is negligibly small; only returned for some sc_type values (e.g. Staked USDT)
versionintegerOptionalOnly returned for sc_type: "Staking" (TRX Staking) projects; value 1 or 2 indicates stake v1/v2; not returned for other sc_types

projects[].data[].currency_info object

FieldTypeRequiredDescriptionUnit/Precision
tokenIdstringRequiredToken contract address (Base58); TRX placeholder is _
tokenAbbrstringRequiredToken abbreviation (e.g. USDT / TRX)
tokenNamestringRequiredToken name
tokenDecimalintegerRequiredDecimal precision (required to convert the amount field)
tokenCanShowintegerRequiredWhether displayable (1 yes / 0 no)
tokenTypestringRequiredToken type (trc10 / trc20 / trc721 / trc1155)
tokenLogostringOptionalToken logo URL (not returned for some tokens)
tokenLevelstringRequiredToken level
vipbooleanRequiredWhether it is a VIP token
issuerAddrstringOptionalIssuer address (Base58); present for TRC20 tokens

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • API Key Required: returns 401 if not provided (see Common Network & Authentication).
  • Empty result is not an error: returns 200 + projects: [] when the account has not participated in any projects, which is a normal response.
Last updated on: