DeBank Cloud
  • Open API
    • Welcome
    • API Reference
      • Chain
      • Protocol
      • Pool
      • Token
      • User
      • Collection
      • Wallet
    • API Models
      • PortfolioItemObject
      • ActionObject
      • TransactionObject
    • Error Code
      • Pre exec error code
    • ChangeLog
    • Auxiliary Feature
      • Units Usage
  • Official Account
    • Business Introduction
    • Service Operation Instructions
    • API Reference
      • Broadcast messages
      • User messages
    • Quest
      • REST API Action Integration Spec
  • DeBank Connect
    • Integration
    • ChangeLog
    • API
      • User Base Data
      • User Chain Data
      • User Social Data
  • Terms Of Service
Powered by GitBook
On this page
  • Get user total balance on all supported chains
  • Get user used chain
  • Get user chain balance
  • Get user protocol
  • Get user complex protocol list
  • Get user complex protocol list on all supported chains
  • Get user simple protocol list
  • Get user simple protocol list on all supported chains
  • Get user token balance
  • Get user token list
  • Get a list of token balances on all supported chains
  • Get user nft list
  • Get user nft list on all supported chain
  • Get user history list
  • Get user transaction history on all supported chains
  • Get user token authorized list
  • Get user nft authorized list
  • Get user 24-hour net curve on a single chain
  • Get user 24-hour net curve on all chains
  1. DeBank Connect
  2. API

User Chain Data

Get user total balance on all supported chains

Get net assets on multiple chains, including tokens and protocols

Method

get

Path

/v1/user/total_balance

Returns

return the total net assets and the net assets of each chain.

Object - An object with following fields:

  • total_usd_value : double - The price of all assets in a user's account.

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/total_balance' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

{
  "total_usd_value": 27654.142997146177
}

Get user used chain

Method

get

Path

/v1/user/used_chain_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/used_chain_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user chain balance

Return the balance of a given address.

Method

get

Path

/v1/user/chain_balance

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/chain_balance' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user protocol

Get one user's positions in the protocol

Method

get

Path

/v1/user/protocol

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/protocol' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user complex protocol list

Get user's detail portfolios on a chain in the protocol.

Method

get

Path

/v1/user/complex_protocol_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/complex_protocol_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user complex protocol list on all supported chains

Get user detail portfolios on all supported chains in the protocol.

Method

get

Path

/v1/user/all_complex_protocol_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/all_complex_protocol_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user simple protocol list

Get user's balance on a chain in the protocol.

Method

get

Path

/v1/user/simple_protocol_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/simple_protocol_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user simple protocol list on all supported chains

Get user's balance on all supported chains in the protocol.

Method

get

Path

/v1/user/all_simple_protocol_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/all_simple_protocol_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user token balance

Method

get

Path

/v1/user/token

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/token' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user token list

Get user token balance

Method

get

Path

/v1/user/token_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/token_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get a list of token balances on all supported chains

Method

get

Path

/v1/user/all_token_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/all_token_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user nft list

Get user nft list

Method

get

Path

/v1/user/nft_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/nft_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user nft list on all supported chain

Method

get

Path

/v1/user/all_nft_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/all_nft_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user history list

Get user history list

Method

get

Path

/v1/user/history_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/history_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user transaction history on all supported chains

Method

get

Path

/v1/user/all_history_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/all_history_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user token authorized list

Get user token authorized list

Method

get

Path

/v1/user/token_authorized_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/token_authorized_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user nft authorized list

Get user nft authorized list

Method

get

Path

/v1/user/nft_authorized_list

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/nft_authorized_list' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user 24-hour net curve on a single chain

Get net curve of user on a single chain

Method

get

Path

/v1/user/chain_net_curve

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/chain_net_curve' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

Get user 24-hour net curve on all chains

Get net curve of user on chains

Method

get

Path

/v1/user/total_net_curve

Returns

Request

curl -X 'GET' 'https://api.connect.debank.com/v1/user/total_net_curve' -H 'accept: application/json' -H 'Authorization: Bearer {Your access_token}'

Result

PreviousUser Base DataNextUser Social Data

Last updated 1 year ago

for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info
for more info