Fansly API LogoFansly API
StreamingNewBeta

Get Streaming Channel

Get the account's streaming channel and its current stream.

https://v1.apifansly.com/api/fansly
GET
/{account_id}/streaming/channel

Get Started

All requests to the Fansly API require an API Key. See the Authentication page for details.

curl -X GET "https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel" \
  -H "x-api-key: YOUR_API_KEY"
fetch("https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel", {
  method: "GET",
  headers: {
    "x-api-key": "YOUR_API_KEY"
  }
})
.then(response => response.json())
.then(data => console.log(data));
import requests

url = "https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel"
headers = {
    "x-api-key": "YOUR_API_KEY"
}

response = requests.get(url, headers=headers)
print(response.json())
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

HttpClient client = HttpClient.newHttpClient();

HttpRequest request = HttpRequest.newBuilder()
        .uri(URI.create("https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel"))
        .header("x-api-key", "YOUR_API_KEY")
        .GET()
        .build();

client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
        .thenApply(HttpResponse::body)
        .thenAccept(System.out::println)
        .join();
using System.Net.Http;
using System.Threading.Tasks;

var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");

var response = await client.GetAsync("https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel");
var responseString = await response.Content.ReadAsStringAsync();

Console.WriteLine(responseString);
package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
)

func main() {
    url := "https://v1.apifansly.com/api/fansly/{account_id}/streaming/channel"
    req, _ := http.NewRequest("GET", url, nil)
    req.Header.Set("x-api-key", "YOUR_API_KEY")

    client := &http.Client{}
    resp, _ := client.Do(req)
    defer resp.Body.Close()

    body, _ := ioutil.ReadAll(resp.Body)
    fmt.Println(string(body))
}

Path Parameters

account_id*
string
The unique identifier for the connected account, retrieved from your Dashboard.

Response

response is null when the account has no streaming channel.

{
    "statusCode": 200,
    "message": "Success",
    "data": {
        "status_code": 200,
        "data": {
            "success": true,
            "response": {
                "id": "streaming_channel_identifier",
                "accountId": "creator_account_identifier",
                "playbackUrl": "https://playback_host/api/video/v1/playback_channel_identifier.m3u8",
                "chatRoomId": "chat_room_identifier",
                "status": 2,
                "version": 5,
                "createdAt": 1761302773000,
                "updatedAt": null,
                "stream": {
                    "id": "stream_identifier",
                    "historyId": "stream_history_identifier",
                    "channelId": "streaming_channel_identifier",
                    "accountId": "creator_account_identifier",
                    "title": "having fun 💖",
                    "status": 1,
                    "viewerCount": 1,
                    "version": 16,
                    "createdAt": 1761302774000,
                    "updatedAt": null,
                    "lastFetchedAt": 1783298890000,
                    "startedAt": 1783298620000,
                    "permissions": {
                        "permissionFlags": [],
                        "accountPermissionFlags": {
                            "flags": 65535,
                            "metadata": "{}"
                        }
                    },
                    "whitelisted": true,
                    "accountPermissionFlags": 65535,
                    "access": true
                }
            }
        }
    },
    "timestamp": "2026-11-11T20:07:51.328Z"
}

On this page