Start with 5000 API credits for free
logo

Tiktok videos API

Returns videos from a tiktok user

Parameters

username - Username to find information about

type: stringlength: min 1, max 24

count - Number of new videos

type: number

stream - Stream response

type: booleanDefault: false

Return type

videos

Examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
import typedclient
import asyncio

api = typedclient.connect('API_KEY')

async def main():
videos = await api.tiktok.videos(
username="therock",
count=10
)
print([(video.stats) for video in videos])

asyncio.run(main())