GetHolders

API

API/token/profile/v1/content/{ecosystem}/{id}/holders

Title

GetHolders

Description

Get the Key holders for a farcaster account

Authorization

Not required

Method

GET

Request Parameters

NameTypeRequiredDescription

ecosystem

string

YSE

"lens" or "farcaster"

id

string

YES

The Farcaster FID of the user

Request and Response Example

Request

cURL Code

curl -X 'GET' \
  'https://api.tako.so/token/profile/v1/content/farcaster/10001/holders' \
  -H 'accept: application/json'

Request URL

https://api.tako.so/token/profile/v1/content/farcaster/10001/holders

Response

{
  "code": 0,
  "msg": "OK",
  "data": {
    "holders": [
      {
        "trader": "0x765754CCDa2bfC41e8Fd399Fdd4C076fd79c5545",
        "trader_id": "10001",
        "content_id": "10001",
        "net_amount": 2
      },
      {
        "trader": "0xd54703d1C82413B1eD23F47EcbBABEdC4879593F",
        "trader_id": "10002",
        "content_id": "10001",
        "net_amount": 1
      }
    ],
    "holder_count": 2,
    "profiles": {
      "10001": {
        "fid": 10001,
        "username": "demo1",
        "displayName": "demo1",
        "pfp": {
          "url": "https://demo.com/demo1.jpg",
          "verified": false
        },
        "profile": {
          "bio": {
            "text": "",
            "mentions": []
          },
          "location": {
            "placeId": "",
            "description": ""
          }
        },
        "followerCount": 8,
        "followingCount": 51,
        "activeOnFcNetwork": false,
        "referrerUsername": "",
        "viewerContext": {
          "following": false,
          "followedBy": false,
          "canSendDirectCasts": true,
          "hasUploadedInboxKeys": true
        },
        "extras": {
          "fid": 10001,
          "custodyAddress": "0xcb093137a3098dEbBCe9C5D416D9A257914d9754"
        }
      },
      "10002": {
        "fid": 10002,
        "username": "demo2",
        "displayName": "demo2",
        "pfp": {
          "url": "https://demo.com/demo2.jpg",
          "verified": false
        },
        "profile": {
          "bio": {
            "text": "",
            "mentions": []
          },
          "location": {
            "placeId": "",
            "description": ""
          }
        },
        "followerCount": 19,
        "followingCount": 9,
        "activeOnFcNetwork": false,
        "referrerUsername": "",
        "viewerContext": {
          "following": false,
          "followedBy": false,
          "canSendDirectCasts": true,
          "hasUploadedInboxKeys": true
        },
        "extras": {
          "fid": 10002,
          "custodyAddress": "0x1E76aF80cc21e1E3cf8F7d3C170D585D265E0a89"
        }
      },
    },
    "profiles_map": null,
    "holds": 0,
    "sell_price": "0",
    "buy_price": "70833333333333",
    "token": "0x0000000000000000000000000000000000000000",
    "decimal": 18,
    "symbol": "ETH",
    "token_ids": null,
    "link": {},
    "links": {},
    "members": {}
  },
  "ts": "2023-12-21 13:20:20.85126"
}

Last updated