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
addressstringYes—Account address (Base58, starts with T)
detailintegerNo10: return a project summary array without data; 1 (default): return an object containing projects and asset details

4. Response

detailResponse schemaAsset details
0Root project array; no total, projects, asset-total, or refreshTimeInfo wrapper fieldsEach item omits data
1 or omittedObject with projects and the top-level fields belowEach projects[] item includes data (an array, which may be empty)

Top-level (detail=1 or omitted)

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)—

Project item: root array element for detail=0; projects[] element for detail=1

FieldTypeRequiredDescriptionUnit/Precision
project_namestringRequiredProject name—
logostringRequiredProject logo URL—
urlstringRequiredProject website (may be an empty string)—
url_levelintegerOptionalClassification of the project website URL, when supplied—
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
dataarrayConditionalRequired for detail=1 (default); omitted for detail=0. Asset detail entries are described below—

projects[].data[] element (detail=1 only)

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
typestringOptionalPosition operation type (e.g. Stake, Supply, Liquidity); may be an empty string or omitted depending on the scenario—
little_balancebooleanOptionalSmall-balance flag; for scenarios that support it, returned as true when the balance rounded to 6 decimal places is zero or negative; otherwise omitted—
little_valuebooleanOptionalSmall-value flag; for scenarios that support it, returned as true when the scenario’s valuation rounded to 2 decimal places is zero or negative; otherwise omitted—
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: 0 (UNKNOWN), 1 (NEUTRAL), 2 (OK), 3 (SUSPICIOUS), 4 (UNSAFE)—
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: when no projects are available, detail=0 returns 200 + []; detail=1 returns 200 + an object with total: 0 and projects: [].