Get all token holders

Hey there,

I was wondering if there’s a way to get all the token holders in similar way to polygonscan holder’s tab, I tried with token => owners API endpoint but the data that I retrieve is not equal to data that polygonscan shows on holder’s tab. I’ve noticed that the length of owners retrieved by API is always 500. Do exist a limit on that function?
Thanks in advance!

you have to use pagination to get all the data, offset param

Please sr can you tell me by an example how to do it? I’m using python

    provider = '' % address
    headers = {
        "Content-Type": "application/json",
        "X-API-Key": "<my_apy_key>"
    with app.app_context():
        statusResponse = requests.request("GET", provider, headers=headers)

How can I use pagination? I get the first page everytime

remove that limit part and use offset=500

Is there any way to get top 10 holders (addresses and quantities)?


I am using this api to get all owners and get top 10 owners, but it takes long time to get them.

I don’t know now an easy way to get top 10 holders for an NFT contract

So do you mean we have only the way like what I did?

I don’t k know other easy way. Depending on your use case, there could also be the option to process all the transfers, this may be even more complicated to do.