Use this API to vote on memes, fetch leaderboard data, and inspect vote totals for a specific meme hash.
GET /api/meme/top - Get the current top memes by vote count.POST /api/meme/vote - Cast an upvote or downvote for a meme.GET /api/meme/votes/:hash - Get vote totals for a specific meme hash. Example: /api/meme/votes/demo-hashPOST /api/meme/admin/clear - Clear all stored votes with a valid admin key.GET /top - Alternate top memes endpoint.GET /api/meme/random - Get a random selection of memes.Submit JSON requests with Content-Type: application/json.
POST /api/meme/vote
{
"hash": "demo-hash",
"value": 1
}
POST /api/meme/admin/clear
{
"adminKey": "your-admin-key"
}