Skip to main content

Base URL

All API requests are made to:
https://api.snipp.gg

Authentication

Include your API key in the api-key header with every request. See Authentication for details on finding your key and security best practices.
api-key: YOUR_API_KEY

Endpoints

MethodEndpointDescription
GET/users/{id}Fetch a user profile. Use @me for your own account.
POST/uploadUpload an image or video file.
GET/uploadsList your 30 most recent uploads.
DELETE/deleteUploadDelete an upload by filename.
GET/discoverBrowse public uploads from the community.
GET/blocksList your blocked users.
POST/blockBlock a user.
POST/unblockUnblock a user.
POST/reportsReport a post.

Rate limits

  • 15 requests per minute per user across most endpoints.
  • 8 uploads per second before temporary throttling.
See Rate limits for details on handling 429 responses.

Error format

All errors return a JSON object with an error field:
{
  "error": "Unauthorised. No api-key header found."
}

HTTP status codes

CodeMeaning
200Success
400Bad request — invalid input, unsupported file type, or file too large
401Unauthorised — missing or invalid API key
403Forbidden — account suspended or insufficient permissions
404Not found
413Payload too large — file exceeds your plan’s size limit
429Rate limit exceeded
500Internal server error