Skip to main content
Vote on content without authentication. Uses browser fingerprinting to prevent vote manipulation.

Request

curl -X POST https://fucksornot.com/api/vote/anonymous \
  -H "Content-Type: application/json" \
  -d '{
    "uploadId": "550e8400-e29b-41d4-a716-446655440000",
    "vote": "upvote",
    "clientFingerprint": "abc123def456..."
  }'

Parameters

ParameterTypeRequiredDescription
uploadIdUUIDYesThe upload to vote on
votestringYesupvote or downvote
clientFingerprintstringYesBrowser fingerprint hash

Response

{
  "success": true,
  "alreadyVoted": false,
  "vote": "upvote"
}
If already voted:
{
  "success": false,
  "alreadyVoted": true,
  "existingVote": "upvote",
  "message": "You have already voted on this item"
}

Fingerprinting

Anonymous voting uses multiple signals to identify unique visitors:
  • Client-provided fingerprint
  • IP address (hashed)
  • User agent
  • Request headers
IP addresses are hashed (SHA-256) and never stored in plain text.
Anonymous votes on private uploads are rejected with a 400 error ("Invalid upload ID"). Anonymous voting is only available on publicly accessible uploads.
Duplicate vote detection is checked server-side via the hashed IP address first, and independently via the clientFingerprint. A match on either one is enough to flag the request as alreadyVoted.

Vote Mapping

Anonymous VoteEquivalent To
upvotefucks
downvotedoes_not_fuck

Rate Limiting

Anonymous votes are limited to 10 requests per minute per IP address.

Best Practices

Libraries like FingerprintJS provide consistent, reliable fingerprints.
Check the alreadyVoted field to inform users if they’ve already voted.
Authenticated votes are more trusted and less restricted.