We don’t have token holder api for now. But here is how you can calculate holders info.
First get all the transfers of that token and then check balance of those tokens to get the holders info.
Following is an example of getting the transfers of a token.
{
ethereum(network: bsc) {
transfers(options: {desc: "block.timestamp.time", limit: 10, offset: 0}, date: {since: "2021-05-25", till: null}, amount: {gt: 0}, currency: {is: "0xc9849e6fdb743d08faee3e34dd2d1bc69ea11a51"}) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
sender {
address
annotation
}
receiver {
address
annotation
}
transaction {
hash
}
amount
currency {
symbol
}
external
}
}
}