Skip to content

Authentication

Developer keys are designed for backend services only.

  • Do not use keys in browser code.
  • Do not expose keys in client bundles.
  • Do not embed keys in mobile app binaries.

Send your key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

X-API-Key may also be accepted for compatibility, but Authorization: Bearer is recommended.

  • Developer API keys are valid only for the six documented Minecraft data endpoints.
  • Any non-listed endpoint returns 403.
  • Only GET is allowed for key-based requests.
  • Developer keys use a dedicated rate-limit bucket.
  • Current limit: 60 requests per 60 seconds per API key.
  • This bucket is separate from session-authenticated dashboard traffic.
  • One active key per user account.
  • Revoke and rotate keys from your profile.
  • Rotating immediately invalidates your previous key.
Terminal window
curl -X GET "https://slowstack.tv/api/v1/players?limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
  • Keep keys in a secret manager.
  • Rotate immediately if leaked.
  • Never commit keys to Git.
  • Restrict egress from your backend infrastructure when possible.