Get TikTok User Posts

Pull a creator's upload feed. Given a secUid, the endpoint returns that account's videos newest first, each with its caption, cover image, sound, play, like, comment and share counts and upload timestamp. Count sets the page size and cursor advances through the history, so an entire back catalogue can be mirrored one page at a time rather than in one call.

Try on Playground
Endpoint Info
Request Method
:
GET
Request URL
:
https://api.primeapi.co/user-posts?secUid={secUid}&count={count}&cursor={cursor}
Required Parameters
:
secUid
Optional Parameters
:
count, cursor
Request Examples
Request Flow
:
User Posts is a single GET call to /user-posts, and secUid has to travel with it in the query string. count, cursor then shape what comes back. Swap YOUR_API_KEY for your own key and both snippets below run as they are.
Authentication
:
Header based. Send X-PrimeAPI-Key with every request — there is no OAuth handshake and no token to refresh.
Credits
:
One User Posts call costs 1 credit. Your remaining balance comes back on every response in the X-PrimeAPI-Balance header, so you can watch usage without a second lookup.
cURL
curl -X GET "https://api.primeapi.co/user-posts?secUid=MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6&count=35&cursor=0" \
  -H "X-PrimeAPI-Key: YOUR_API_KEY"
Python - Requests
import requests

url = "https://api.primeapi.co/user-posts?secUid=MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6&count=35&cursor=0"
headers = {"X-PrimeAPI-Key": "YOUR_API_KEY"}

response = requests.get(url, headers=headers)

print(response.json())
print("Credits left:", response.headers.get("X-PrimeAPI-Balance"))
Endpoint Response
Example URL
:
https://api.primeapi.co/user-posts?secUid=MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6&count=35&cursor=0
Content Type
:
JSON
Example Response
{
    "data": {
        "cursor": "1664510413000",
        "extra": {
            "fatal_item_ids": [],
            "logid": "202501170055575AEC12C1BB1E6A1B4BE8",
            "now": 1737075358000
        },
        "hasMore": true,
        "itemList": [
            {
                "AIGCDescription": "",
                "CategoryType": 113,
                "HasPromoteEntry": 0,
                "author": {
                    "avatarLarger": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_1080x1080.jpeg?lk3s=a5d48078&nonce=19506&refresh_token=76561fbba5443c03b5c38f13dd0e8cf5&x-expires=1737244800&x-signature=1vwRwR8wokEDXbRo5yQiCDO%2Btpw%3D&shp=a5d48078&shcp=81f88b70",
                    "avatarMedium": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_720x720.jpeg?lk3s=a5d48078&nonce=46726&refresh_token=e0950c072b2a0466ee70cbe8df1dff7e&x-expires=1737244800&x-signature=IFvFjVbN6PWvPrKTUJdcSI48kDw%3D&shp=a5d48078&shcp=81f88b70",
                    "avatarThumb": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_100x100.jpeg?lk3s=a5d48078&nonce=60011&refresh_token=9bf55c8c0a410cd31b8502fff7e8218a&x-expires=1737244800&x-signature=38drDOOvGX2u%2BsYRNcAiOGUPpAc%3D&shp=a5d48078&shcp=81f88b70",
                    "commentSetting": 0,
                    "downloadSetting": 0,
                    "duetSetting": 0,
                    "ftc": false,
                    "id": "6881290705605477381",
                    "isADVirtual": false,
                    "isEmbedBanned": false,
                    "nickname": "Taylor Swift",
                    "openFavorite": true,
                    "privateAccount": false,
                    "relation": 0,
                    "secUid": "MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6",
                    "secret": false,
                    "signature": "This is pretty much just a cat account",
                    "stitchSetting": 0,
                    "uniqueId": "taylorswift",
                    "verified": true
                },
                "authorStats": {
                    "diggCount": 2204,
                    "followerCount": 32700000,
                    "followingCount": 0,
                    "friendCount": 0,
                    "heart": 247000000,
                    "heartCount": 247000000,
                    "videoCount": 71
                },
  ... (truncated)
Contact
You can contact us via Telegram or Gmail
Telegram Logo
Telegram
@primeapi_co
Gmail Logo
Gmail
primeapico@gmail