Get Token Holders

Allows users to fetch the top token holders of a specific token on SunPump.

Note: You must provide a valid API key in the request headers to access this endpoint.

Endpoint

  • URL: /pumpfun/getTokenHolders

  • Method: POST

  • Content-Type: application/json

  • API Key Header: api-key: your-api-key

Request Body

Field
Type
Required
Description

address

string

true

Token contract address

page

string

true

Page number for pagination.

limit

number

false

Number of holders per page.

Example Request

curl -X POST "http://api.dangeracorn.bot/pumpfun/getTokenHolders" \
-H "Content-Type: application/json" \
-H "api-key: your-api-key" \
-d '{
  "address": "TYrsH6Ee92FJD83QoMo9BXJpow4PRoCjvH",
  "page": 1,
  "limit" 100
}'

Example Response JSON

{
    "data": [{
        "address": "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw",
        "balance": 763708075.28,
        "priceInTrx": 0.000053879530896793,
        "valueInTrx": 41148.23283817907,
        "percentage": 76.370807528,
        "type": "curve"
    },{
        "address": "TWp3D9mPbTKv7epKzDKUS1kKALYa4vAmMk",
        "balance": 91373664.74,
        "priceInTrx": 0.00027160312242571,
        "valueInTrx": 24817.372650864,
        "percentage": 9.137366474,
        "type": "dev"
    },
    {
        "address": "TEw922sYxZLoq5AcxeNMj2GNEXMbDFk51y",
        "balance": 367648.55,
        "priceInTrx": 0.000053879530896793,
        "valueInTrx": 19.808731408886146,
        "percentage": 0.036764855,
        "type": "trader"
    }],
    "status": "success",
    "code": "200"
}

Example Error JSON

Missing address parameter (400)

{
  "error": "Missing address parameter",
  "message": "You must provide a valid token address",
  "code": "400"
}

Failed to fetch token details (500)

{
  "error": "Failed to fetch token details",
  "message": "There was a server-side error",
  "code": "500"
}

Last updated