kick-api
Rust client for the Kick.com API.
Covers channels, users, chat, moderation, rewards, event subscriptions, and live chat over WebSocket. Handles OAuth authentication and automatic retry on rate limits (429).
Installation
[]
= "0.1"
= { = "1", = ["full"] }
Live Chat (WebSocket)
Read live chat messages from any channel in real time — no authentication required.
use LiveChatClient;
async
Finding a chatroom ID: Visit https://kick.com/api/v2/channels/{slug} in your browser and search for "chatroom":{"id":. The Kick website API is behind Cloudflare, so this must be done from a browser.
Use next_event() instead of next_message() to receive all Pusher events (subscriptions, bans, polls, etc.).
REST API
use KickApiClient;
async
API Coverage
| Module | Endpoints |
|---|---|
| Live Chat | Real-time chat messages via Pusher WebSocket (no auth) |
| Channels | Get by slug, get own channels |
| Users | Get by ID, get authenticated user, token introspection |
| Chat | Send message, delete message |
| Moderation | Ban/timeout, unban |
| Rewards | CRUD for channel rewards, manage redemptions |
| Events | List/create/delete webhook subscriptions |
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
Disclaimer
Unofficial library, not affiliated with Kick.com.