### GET https://live.fc2.com/api/favoriteInfo/list.php Source: https://live.fc2.com/publicApiList?page=favorite Retrieves the list of favorite channels for the authenticated user. ```APIDOC ## GET https://live.fc2.com/api/favoriteInfo/list.php ### Description Retrieves the list of favorite channels for the authenticated user. ### Method GET ### Endpoint https://live.fc2.com/api/favoriteInfo/list.php ### Parameters #### Query Parameters - **token** (string) - Required - Import ID for authentication - **callback** (string) - Optional - Callback name for JSONP support ### Response #### Success Response (200) - **status** (integer) - 0:Error, 1:Normal - **data** (array) - User ID list ``` -------------------------------- ### GET https://live.fc2.com/api/favoriteInfo/denyList.php Source: https://live.fc2.com/publicApiList?page=deny_user Retrieves the list of hidden users for the authenticated account. ```APIDOC ## GET https://live.fc2.com/api/favoriteInfo/denyList.php ### Description API to get the list of hidden users. ### Method GET ### Endpoint https://live.fc2.com/api/favoriteInfo/denyList.php ### Parameters #### Query Parameters - **token** (string) - Required - Import ID for authentication. - **callback** (string) - Optional - Callback name for JSONP support. ### Response #### Success Response (200) - **status** (integer) - 0:Error, 1:Normal - **data** (array) - User ID list ``` -------------------------------- ### GET https://live.fc2.com/contents/allchannellist.php Source: https://live.fc2.com/publicApiList Retrieves a list of all currently broadcasting channels. Note that requests should be limited to once every 30 seconds. ```APIDOC ## GET https://live.fc2.com/contents/allchannellist.php ### Description Acquires a list of all currently broadcasting channels. This endpoint is available for both general and adult content via separate URIs. ### Method GET ### Endpoint https://live.fc2.com/contents/allchannellist.php https://live.fc2.com/adult/contents/allchannellist.php ### Parameters #### Query Parameters - **callback** (string) - Optional - If receiving results through JSONP, designate this value as the callback name. ### Response #### Success Response (200) - **channel** (array) - List of channel objects containing: - **id** (string) - Channel ID - **title** (string) - Title - **name** (string) - Name - **image** (string) - Thumbnail Image URL - **type** (integer) - 0:Open Chat, 1:Multi-Person Chat, 2:One-to-one Chat - **category** (integer) - Category Number - **sex** (string) - Gender - **lang** (string) - Language Code - **count** (integer) - Concurrent Viewers - **total** (integer) - Total Access Number - **login** (integer) - 0:Unlimited, 1:Login Required, 2:Points Required - **video** (integer) - If using the FC2 Video share feature, 1 - **app** (integer) - If broadcasting from a Smartphone App, 1 - **pay** (integer) - 0:Free, 1:Pay - **amount** (integer) - Billing Settings - **interval** (integer) - Payment Charge Interval - **start_time** (string) - Broadcast Start Time - **is_adult** (integer) - 0:General, 1:Adult - **link** (string) - FC2 LIVE List Acquisition Page URL - **time** (string) - Time Stamp ``` -------------------------------- ### GET https://live.fc2.com/api/getChannelComment.php Source: https://live.fc2.com/publicApiList?page=comment Retrieves comments for a currently accessed channel. Requests should be limited to once per second. ```APIDOC ## GET https://live.fc2.com/api/getChannelComment.php ### Description Acquire comments for the channel being currently accessed. ### Method GET ### Endpoint https://live.fc2.com/api/getChannelComment.php ### Parameters #### Query Parameters - **callback** (string) - Optional - If receiving results through JSONP, designate this value as the callback name. - **channel_id** (string) - Required - Channel ID - **token** (string) - Required - Authentication token - **last_comment_index** (integer) - Required - Comment acquiring start position ### Response #### Success Response (200) - **status** (integer) - 0: Successful termination - **comments** (array) - List of comment objects - **last_comment_index** (integer) - Latest comment position to be used in the next request ``` -------------------------------- ### GET https://live.fc2.com/api/memberApi.php Source: https://live.fc2.com/publicApiList?page=member Retrieves channel and profile information for a specific stream ID. ```APIDOC ## GET https://live.fc2.com/api/memberApi.php ### Description This API is used to acquire channel information. Please note that FC2 may change the API at any time without warning. ### Method GET ### Endpoint https://live.fc2.com/api/memberApi.php ### Parameters #### Query Parameters - **streamid** (string) - Required - Channel ID - **channel** (integer) - Optional - Designate 1 to receive channel_data - **profile** (integer) - Optional - Designate 1 to receive profile_data - **callback** (string) - Optional - If receiving results through JSONP, designate this value as the callback name ### Response #### Success Response (200) - **status** (integer) - 0:Error, 1:Normal - **data** (object) - Contains channel_data and profile_data #### Response Example { "status": 1, "data": { "channel_data": { "channelid": "string", "userid": "string", "title": "string", "info": "string", "category": "integer", "category_name": "string", "adult": "integer", "twoshot": "integer", "login_only": "integer", "is_publish": "boolean", "count": "integer", "total": "integer", "image": "string", "is_app": "integer", "fee": "boolean", "amount": "integer", "interval": "integer", "start": "string" }, "profile_data": { "userid": "string", "name": "string", "info": "string", "age": "integer", "sex": "string", "icon": "string", "image": "string" } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.