Polyv Help Center

Help Center

Query Channel Status

Updated: 2022-09-02 18:08:07

Interface Description

1、查询频道直播状态
2、接口支持https协议

Interface URL

http://api.polyv.net/live_status/query

Request Method

GET

Interface Constraints

  1. The interface supports both HTTP and HTTPS. HTTPS is recommended to ensure interface security. Interface calls are subject to frequency limits. For details, please refer to

Request Parameter Description

Parameter Required Type Description
stream true String Call the Query Channel Information interface to obtain the value of the stream field

Example

http://api.polyv.net/live_status/query?stream=eciyhturt820160305194727292

Return Result

Returns "live" if the stream is currently live, otherwise returns "end"

Request Example

http://api.polyv.net/live_status/query?stream=eciyhturt820160305194727292

联系客服,在线咨询