Assets

Assets HTTP API

The assets method is also available via a RESTful HTTP API for ease of integration.



Assets

Endpoint

URL: /api/v1/assets/<users>/

Method: GET

Parameters

Parameter Name

Type

Description

users

String

A single user address or a comma-separated list of user addresses.

Behavior

  1. Single User:
    • When the users parameter contains one address, the API returns all asset data for the specified user.
    • Example: /api/v1/assets/address
  2. Multiple Users:
    • When the users parameter contains multiple addresses (comma-separated), the API returns grouped asset data for all specified users.
    • Example: /api/v1/assets/address1,address2

Response

  • Single User: A JSON array of asset objects for the user, including related jetton_info.
  • Multiple Users: A JSON array of grouped asset objects with user-specific data nested.


Assets Net Worth

Endpoint

URL: /api/assets/v1/net_worth/<users>/

Method: GET

Parameters

Parameter Name

Type

Description

users

String

A single user address or a comma-separated list of user addresses.

Response

JSON containing 2 keys - net_worth_ton, net_worth_usd

JSON