RugCheck APIVotesgetTokenVotes

Votes

Token Votes

getTokenVotesGET

This is a purely cosmetic feature, it does not affect token scoring.

This endpoint will get the community votes for a token, given the mint. Response includes:
• up - number of upvotes
• down - number of downvotes
• userVoted - whether the currently logged in user has already voted

Endpoint

GEThttps://api.rugcheck.xyz/v1/tokens/{id}/votes

Parameters

idstring required path
Token mint address

Result

object

Vote statistics for the token

upnumber
Number of upvotes
downnumber
Number of downvotes
userVotedboolean
Whether the currently logged in user has already voted

Code Examples

Request
Shell
curl -X GET "https://api.rugcheck.xyz/v1/tokens/TokenMintAddress/votes"
Response
JSON
{
"up": 8,
"down": 0,
"userVoted": false
}