Meme Server API

Use this API to vote on memes, fetch leaderboard data, and inspect vote totals for a specific meme hash.

Endpoints

How to use

Submit JSON requests with Content-Type: application/json.

Vote for a meme

POST /api/meme/vote
{
  "hash": "demo-hash",
  "value": 1
}

Clear votes as admin

POST /api/meme/admin/clear
{
  "adminKey": "your-admin-key"
}