v1

latestOpenAPI 3.0.32026-08-04850206.9 KB
Sentiment

Cast a sentiment vote

Casts the key owner's sentiment vote for a coin. One vote per key owner per coin per rolling 24h window — re-voting inside the window updates the existing vote.

post/api/v1/coins/{slug}/votes

Request body

votestring required

Your sentiment: bullish or bearish.

Example request

{
  "vote": "bullish"
}

Response

Example response

{
  "data": {
    "coin": "bitcoin",
    "bullish": 185,
    "bearish": 42,
    "total": 227,
    "your_vote": "bullish"
  }
}