Retrieve the holders of a token
POSThttps://minatokens.com/api/v1//info/holders
The holders
endpoint retrieves the holders of a token.
Request
- application/json
Bodyrequired
addressstringrequired
The Mina address for which to retrieve the holders
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 503
Successful retrieval of token holders.
- application/json
- Schema
- Example (auto)
Schema
holders object[]required
{
"holders": [
{
"address": "string",
"balance": 0,
"percentage": 0,
"isZkappAccount": true
}
]
}
Bad request - invalid input parameters.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Unauthorized - user not authenticated.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Forbidden - user doesn't have permission.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Too many requests.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Internal server error - something went wrong during the request.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Service unavailable - blockchain or other external service is down.
- application/json
- Schema
- Example (auto)
Schema
errorstring
Error message detailing the issue.
{
"error": "string"
}
Authorization: x-api-key
name: x-api-keytype: apiKeyin: headerdescription: API key for authorization. Get your API key at https://minatokens.com/api
- curl
- javascript
- nodejs
- python
- rust
- ocaml
- go
- java
- powershell
- CURL
curl -L 'https://minatokens.com/api/v1/info/holders' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-api-key: <x-api-key>' \
-d '{
"address": "string"
}'
ResponseClear