Introduction
The Pump.fun Livestreams API enables real-time video streaming functionality for token launches and community engagement. Built on top of LiveKit infrastructure, it provides comprehensive streaming capabilities including:- Creating and managing livestreams for token launches
- Host and participant access control
- Stream moderation and banning capabilities
- Real-time token generation for secure stream access
LiveKit Integration
Pump.fun uses LiveKit as its streaming infrastructure, providing:- Low-latency streaming: Real-time video and audio communication
- Scalable infrastructure: Handle multiple concurrent streams
- Secure access: Token-based authentication for hosts and participants
- Interactive features: Support for chat, stage management, and participant controls
Authentication
All livestream endpoints require JWT authentication via theAuthorization: Bearer <token> header. Make sure you have a valid authentication token before making API requests.
Common Use Cases
Token Launch Livestream
- Create a livestream for your token using
/livestreams/create-livestream - Obtain a host token with
/livestreams/livekit/token/host - Manage participants and viewers
- Enable/disable streaming as needed
Moderation
- Enable/Disable: Control when streams are active
- Ban/Unban: Remove or restore access for specific tokens
- Stage Management: Control who can join the broadcast
Endpoint Categories
Stream Creation
Create new livestreams for token launches
Stream Management
Enable, disable, ban, and unban livestreams
Access Tokens
Generate LiveKit tokens for hosts and participants
Base URL
Next Steps
Create a Livestream
Start by creating your first livestream
Get Access Tokens
Learn how to generate LiveKit tokens