Get TikTok User Popular Posts

Sort a creator's uploads by performance instead of by date. The endpoint returns the same video records as the standard post feed, but ordered so the account's strongest work sits at the top of the first page. It is the quickest way to sample what actually lands for a creator before committing to a full crawl of their history, with count and cursor for paging.

Try on Playground
PrimeApi Endpoints > User Endpoints > User Popular Posts
Endpoint Info
Request Method
:
GET
Request URL
:
https://api.primeapi.co/user-popular-posts?secUid={secUid}&count={count}&cursor={cursor}
Required Parameters
:
secUid
Optional Parameters
:
count, cursor
Request Examples
Request Flow
:
User Popular Posts is a single GET call to /user-popular-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 Popular 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-popular-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-popular-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-popular-posts?secUid=MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6&count=35&cursor=0
Content Type
:
JSON
Example Response
{
    "data": {
        "cursor": "35",
        "extra": {
            "fatal_item_ids": [],
            "logid": "2025011701012578958012D8F5CF1F8E6E",
            "now": 1737075687000
        },
        "hasMore": true,
        "itemList": [
            {
                "AIGCDescription": "",
                "CategoryType": 110,
                "HasPromoteEntry": 0,
                "author": {
                    "avatarLarger": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_1080x1080.jpeg?lk3s=a5d48078&nonce=79628&refresh_token=2045ffb41183ae674a8925d12bdac4c9&x-expires=1737248400&x-signature=6V0j1%2BJPLmx86jwzaFILJSiGXjs%3D&shp=a5d48078&shcp=81f88b70",
                    "avatarMedium": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_720x720.jpeg?lk3s=a5d48078&nonce=98943&refresh_token=9eff5a81e37d8d8ef71bc6f60526ff2b&x-expires=1737248400&x-signature=BPQ%2B9lkMUcfkQtBU30gZF7jSAiY%3D&shp=a5d48078&shcp=81f88b70",
                    "avatarThumb": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_100x100.jpeg?lk3s=a5d48078&nonce=26543&refresh_token=1f1b45187fc00685f7b03341f989cdbf&x-expires=1737248400&x-signature=zZWu3JT%2FPh%2BJU7fyUgj%2FDq8lIUg%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