#1069·TikTok-Api

[BUG] - Whole Tiktok api broken ?

Author: cyph-zzCreated Sep 24, 2023Updated Mar 30, 2026
Labelsbug

Dear all,

I tried the trending API and got an exception on this playwright._impl._api_types.Error: TypeError: Cannot read properties of undefined (reading 'frontierSign')

investigating the code it is located here File "/Users/XXXXXXXXX/anaconda3/lib/python3.11/site-packages/TikTokApi/api/trending.py", line 43, in videos resp = await Trending.parent.make_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A call on an URL does not work anymore : the URL is https://www.tiktok.com/api/recommend/item_list/ and when accessing it directly : I have a logging issue : status 10201

{"log_pb":{"impr_id":"xxxxxxxxxxxxxxxxxxxx"},"statusCode":10201,"statusMsg":"","status_code":10201,"status_msg":""}

Is the old API closed ? Tiktokapi may be adapted to a login process ?

Thanks