RugCheck APIVotessubmitTokenVote

Votes

Submit Token Vote

submitTokenVotePOST

This submits a vote for the current token. This feature is purely cosmetic and does not affect scoring.

The endpoint accepts only a token mint.

Note: This endpoint is not intended to be used programmatically.

Endpoint

POSThttps://api.rugcheck.xyz/v1/tokens/{id}/vote

Parameters

idstring required path
Token mint address
requestobject required body
Vote request
mintstring req

Token mint address

sideboolean req

true for upvote, false for downvote

Result

object

Updated vote statistics

upinteger
Total upvotes
downinteger
Total downvotes
userVotedboolean
Whether user has voted

Code Examples

Request
Shell
curl -X POST "https://api.rugcheck.xyz/v1/tokens/TokenMintAddress/vote" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: <your-API-key>" \
  -d '{
    "mint": "TokenMintAddress",
    "side": true
  }'
Response
JSON
{
"up": 150,
"down": 25,
"userVoted": true
}