Live Feed
Fetch the current trending live feed
PREMIUM ENDPOINT
Fetch the current trending livestreams/rooms
GET https://kitkot.xyz/api/live/feed
Allows you to fetch livestreams/rooms like the "FYP"
Query Parameters
Name
Type
Description
api_key*
String
The api_key you got when purchasing our service
session_key*
String
The session_key you got from our login endpoint
{
lives: [
code: 200,
msg: 'success',
{
linked_mic: false,
owner: [Object],
room_auth: [Object],
stream_url: [Object],
viewers: 1040,
user_share_text: '',
video_feed_tag: '',
room_id: '',
anchor_id: ''
},
{
linked_mic: false,
owner: [Object],
room_auth: [Object],
stream_url: [Object],
viewers: 2182,
user_share_text: '',
video_feed_tag: '',
room_id: '',
anchor_id: ''
},
{
linked_mic: false,
owner: [Object],
room_auth: [Object],
stream_url: [Object],
viewers: 18,
user_share_text: '',
video_feed_tag: '',
room_id: '',
anchor_id: ''
}
],
request_id: ''
}{
code: 200,
msg: 'Found no livestreams in the live feed'
}{
code: 400,
msg: 'Failed to fetch live feed'
}const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const session_key = "my-session-key";
const request = await fetch(`${BASEURL}/live/feed?api_key=${API_KEY}&session_key=${session_key}`);
const response = await request.json();
console.log(response);import requests
BASEURL = "https://kitkot.xyz/api"
API_KEY = "my-api-key"
session_key = "my-session-key"
request = requests.get(f"{BASEURL}/live/feed?api_key={API_KEY}&session_key={session_key}")
response = request.json()
print(response)Last updated