Input
Idle
Example output — click Run to generate your own
API README
Get live room product list data
Purpose:
- Get live room product list data Parameters:
- room_id: Live room id, required parameter.
- author_id: Anchor id, required parameter.
- page_size: Number per page, optional parameter, default is 15.
- offset: Page turning cursor, optional parameter, default is 0, increasing by 15 each time.
- region: Region, optional parameter, default is
US, if you use other regions, such as:VN, please bring your own Cookie, otherwise you will not be able to get data. - cookie: User's own cookie, optional parameter, used to crawl data from regions other than
US. Get Parameters: - Step 1: Use the interface
f"{TikHub_Domain}/api/v1/tiktok/web/get_live_room_id"to get the live room id (room_id). - Step 2: Use the interface
f"{TikHub_Domain}/api/v1/tiktok/app/v3/fetch_live_room_info"to get the live room information. - Step 3: Use the JSONPATH in the JSON data returned in the second step to get the value of the field
$.data.data.owner.id_stras the anchor id (author_id). Return: - Live room product list data
[Example]
room_id = "7420741353250507562" author_id = "7408859677050274859" page_size = 15 offset = 0
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

