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 follower list
  • Get user following list
  1. DeBank Connect
  2. API

User Social Data

Get user follower list

Method

get

Path

/v1/user/follower_list

paramater

  • start: integer offset, default is 0.

  • limit: integer limit size, default is 20, max is 100.

Returns

  • follower_list: List of User objects

    • id: string - User address

    • web3_id: string - The user's unique id in DeBank

    • name: string - Same to web3_id

    • logo_url: string - user logo url

    • born_at: double - user on-chain born time

    • tvf: double - Value of user's followers

  • total_count: int - total follower count

Request

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

Response

{
    "follower_list": [
      {
        "id": "0x7a16ff8270133f063aab6c9977183d9e72835428",
        "logo_thumbnail_url": null,
        "logo_url": null,
        "web3_id": "michwill"
        "name": "michwill"
      }
    ],
    "total_count": 838
}

Get user following list

Method

get

Path

/v1/user/following_list

paramater

  • start: integer offset, default is 0.

  • limit: integer limit size, default is 20, max is 100.

Returns

  • following_list: List of User objects

    • id: string - User address

    • web3_id: string - The user's unique id in DeBank

    • name: string - Same to web3_id

    • logo_url: string - user logo url

    • born_at: double - user on-chain born time

    • tvf: double - Value of user's followers

  • total_count: int - total following count

Request

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

Response

{
    "following_list": [
      {
        "id": "0x7a16ff8270133f063aab6c9977183d9e72835428",
        "logo_thumbnail_url": null,
        "logo_url": null,
        "web3_id": "michwill"
        "name": "michwill"
      }
    ],
    "total_count": 838
}

PreviousUser Chain DataNextTerms Of Service

Last updated 1 year ago