Skip to content

Authentication

All API endpoints (except the public snapshot listing) require authentication via an API key.

  1. Create an account at community.popcorntime.app
  2. Accept the Terms of Service
  3. Go to API Keys and create a key
  4. Copy the key — it’s only shown once

Your key looks like: pt_live_ac7f5e83b2d1...

Include the key in the Authorization header:

Terminal window
curl -H "Authorization: Bearer pt_live_your_key_here" \
https://api.popcorntime.app/v1/rankings?country=US

Or use the X-API-Key header:

Terminal window
curl -H "X-API-Key: pt_live_your_key_here" \
https://api.popcorntime.app/v1/rankings?country=US
StatusMeaning
401Missing or invalid API key
429Rate limit exceeded (60 req/min)
{ "error": "Missing API key. Include `Authorization: Bearer pt_live_...` header." }
  • Each account is limited to 1 active key
  • You can revoke and recreate keys at any time
  • Keys never expire unless revoked
  • Usage stats are available on the Stats page