Skip to main content

Overview

Manage the state and access control of your livestream sessions. These endpoints allow you to control stream availability and moderate content by banning or unbanning specific tokens.

Enable Livestream

Activate a livestream to allow broadcasting and viewing.

Endpoint

PUT /livestreams/{mint}/enable-livestream

Path Parameters

mint
string
required
The token mint address for the livestream to enable

Example Request

curl -X PUT "https://frontend-api-v3.pump.fun/livestreams/<mint>/enable-livestream" \
  -H "Authorization: Bearer <your_token>" \
  -H "Accept: application/json"

Disable Livestream

Deactivate a livestream to prevent broadcasting and viewing.

Endpoint

PUT /livestreams/{mint}/disable-livestream

Path Parameters

mint
string
required
The token mint address for the livestream to disable

Example Request

curl -X PUT "https://frontend-api-v3.pump.fun/livestreams/<mint>/disable-livestream" \
  -H "Authorization: Bearer <your_token>" \
  -H "Accept: application/json"

Ban Livestream

Permanently ban a livestream, preventing it from being activated.

Endpoint

PUT /livestreams/{mint}/ban-livestream

Path Parameters

mint
string
required
The token mint address for the livestream to ban
Banning a livestream is typically used for moderation purposes to prevent policy violations or inappropriate content.

Example Request

curl -X PUT "https://frontend-api-v3.pump.fun/livestreams/<mint>/ban-livestream" \
  -H "Authorization: Bearer <your_token>" \
  -H "Accept: application/json"

Unban Livestream

Remove a ban from a livestream, allowing it to be enabled again.

Endpoint

PUT /livestreams/{mint}/unban-livestream

Path Parameters

mint
string
required
The token mint address for the livestream to unban

Example Request

curl -X PUT "https://frontend-api-v3.pump.fun/livestreams/<mint>/unban-livestream" \
  -H "Authorization: Bearer <your_token>" \
  -H "Accept: application/json"

Authentication

All management endpoints require JWT authentication via the Authorization: Bearer <token> header.

Response Codes

  • 200 OK: Operation completed successfully
  • 401 Unauthorized: Invalid or missing authentication token
  • 404 Not Found: Livestream with specified mint address not found

Common Workflows

Temporary Stream Pause

  1. Use Disable Livestream to temporarily stop broadcasting
  2. Use Enable Livestream when ready to resume

Content Moderation

  1. Use Ban Livestream to immediately stop and prevent future streams
  2. Review the violation
  3. Use Unban Livestream if the ban should be lifted

Create Livestream

Initialize a new livestream session

Access Tokens

Generate tokens for hosts and participants

Build docs developers (and LLMs) love