Skip to main content

Tier Limits

FeatureSandbox (Free)Basic ($7/wk)Pro ($15/wk)Ultra ($45/wk)
API Requests50/day10,000/day75,000/day300,000/day
WebSocket Connections1550500
WebSocket Duration5 min30 minUnlimitedUnlimited
Bulk Check Users11050100
Rate (per minute)10 req/min30 req/min60 req/min120 req/min

Rate Limit Headers

Every API response includes rate limit information:
HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the current window
X-RateLimit-RemainingRemaining requests before throttling
X-RateLimit-ResetUnix timestamp when the rate limit window resets

Handling Rate Limits

When you exceed your rate limit, the API returns HTTP 429 Too Many Requests:
{
  "status_code": 429,
  "message": "Rate limit exceeded. Please wait before making more requests."
}

Best Practices

  1. Check headers — Monitor X-RateLimit-Remaining to avoid hitting limits
  2. Implement backoff — Use exponential backoff when receiving 429 responses
  3. Cache results — Cache check_alive and room_info responses when polling
  4. Use WebSocket — For real-time data, WebSocket is more efficient than polling REST

Check Your Limits

Use the /webcast/rate_limits endpoint to see your current quota:
curl "https://api.tik.tools/webcast/rate_limits?apiKey=YOUR_KEY"
{
  "status_code": 0,
  "data": {
    "tier": "basic",
    "api": { "limit": 30, "remaining": 28, "reset_at": 1234567890 },
    "websocket": { "limit": 10, "current": 2 }
  }
}