GetHoldingByAddress
API
Request Parameters
Request and Response Example
Request
cURL Code
curl -X 'GET' \
'https://api.tako.so/token/profile/v1/shares/holding?addr=0x765754CCDa2bfC41e8Fd399Fdd4C076fd79c5545&limit=10&ecosystem=farcaster' \
-H 'accept: application/json'
Request URL
https://api.tako.so/token/profile/v1/shares/holding?addr=
0x765754CCDa2bfC41e8Fd399Fdd4C076fd79c5545&limit=10&ecosystem=farcaster
Response
{
"code": 0,
"msg": "OK",
"data": {
"shares": [
{
"trader": "",
"trader_id": "",
"content_id": "10001",
"net_amount": 1,
"price": "195844349",
"fake_price": "195844349",
"real_price": "",
"latest_trade_at": 0
},
{
"trader": "",
"trader_id": "",
"content_id": "10002",
"net_amount": 1,
"price": "10000000",
"fake_price": "10000000",
"real_price": "",
"latest_trade_at": 0
}
],
"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"
}
},
},
"members": null,
"total": 2
},
"ts": "2023-12-21 13:13:33.27903"
}
Last updated