Votes
Token Votes
getTokenVotesGETThis 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}/votesParameters
idstring required pathToken mint address
Result
objectVote statistics for the token
upnumberNumber of upvotes
downnumberNumber of downvotes
userVotedbooleanWhether the currently logged in user has already voted
Code Examples
Request
Shellcurl -X GET "https://api.rugcheck.xyz/v1/tokens/TokenMintAddress/votes"
Response
JSON{
"up": 8,
"down": 0,
"userVoted": false
}