Users
Check whether a user is live on X now
Changed onSays whether one user is broadcasting live video on X right now, with their latest broadcast, live or ended. Each check costs 1 credit.
get/api/v1/x/users/{id}/live
Request
- Base URL: https://xquik.com
- URL: https://xquik.com/api/v1/x/users/{id}/live
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- none
Path parameters
idstring required
User ID, username with or without @, or URL-encoded profile URL, such as x.com/nasa or x.com/i/user/11348282. A number is a user ID. Writes look up a username's ID before sending. Anything else gets 400 invalid_user_id.
Response
Live status
Example response
{
"live": false,
"userId": "11348282",
"userName": "NASA",
"broadcast": {
"id": "1DxLdZyVPMMxm",
"title": "NASA's SpaceX Crew-12 Re-Entry & Splashdown",
"state": "Ended"
}
}Changes
- ○
endpoint added
- ○
Of the 52 revisions, 1 has no diff computed.