Get Top Key Holders
Get a list of key holders with the highest price and sort them in descending order.
https://api.newbitcoincity.com/api/nbc-keys/tokensParameters
Name
Value
Required
Description
Sample code for getting data from this API
const { data } = await axios.get("https://api.newbitcoincity.com/
api/nbc-keys/tokens?network=nos&page=1&limit=10&key_type=1&followers=0,200000&sort_col=buy_price&sort_type=0");
let listResults = []
for (const user of data.result) {
listResults.push({ id: user["owner"],
twitterUsername:user["user_twitter_username"],
address: user["address"],
twitterPfpUrl:user["user_twitter_avatar"],
supply:user["total_supply_number"],
price: user["price"],
usdPrice: user["usd_price"],
})
}Last updated