GetTrendingVolume

API

API/token/profile/v1/shares/trending/volume

Title

GetTrendingVolume

Description

Get the top 50 keys based on price ranking

Authorization

Not required

Method

GET

Request Parameters

NameTypeRequiredDescription

ecosystem

string

YES

"lens" or "farcaster"

duration

int

YES

"1d", "3d" or "7d"

limit

int

YES

The number of bids displayed per page, default to 10

Request and Response Example

Request

cURL Code

curl -X 'GET' \
  'https://api.tako.so/token/profile/v1/shares/trending/volume?limit=10&duration=1d&ecosystem=farcaster' \
  -H 'accept: application/json'

Request URL

https://testapi.tako.so/token/profile/v1/shares/trending/volume?limit=10&duration=1d&ecosystem=farcaster

Response

{
  "code": 0,
  "msg": "OK",
  "data": {
    "trades": null,
    "items": [
      {
        "content_id": "10001",
        "total_price": "750042189",
        "now_price": "277098920"
      },
      {
        "content_id": "10002",
        "total_price": "10000000",
        "now_price": "10000000"
      },
      {
        "content_id": "10003",
        "total_price": "0",
        "now_price": "70833333333333"
      }
    ],
    "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"
        }
      },
      "10003": {
        "fid": 10003,
        "username": "demo3",
        "displayName": "demo3",
        "pfp": {
          "url": "https://demo.com/demo3.jpg",
          "verified": false
        },
        "profile": {
          "bio": {
            "text": "",
            "mentions": []
          },
          "location": {
            "placeId": "",
            "description": ""
          }
        },
        "followerCount": 14,
        "followingCount": 39,
        "activeOnFcNetwork": false,
        "referrerUsername": "",
        "viewerContext": {
          "following": false,
          "followedBy": false,
          "canSendDirectCasts": false,
          "hasUploadedInboxKeys": true
        },
        "extras": {
          "fid": 10003,
          "custodyAddress": "0xE9162B421D272714613E7a528e7ED5Cd11fbC196"
        }
      }
    }
  },
  "ts": "2023-12-21 16:15:07.86245"
}

Last updated