Tiktok Public Media API

API ID 12389

A fast and low-cost TikTok API to fetch user profiles, videos, and public data with simple REST endpoints.

100% uptime 3,150 ms avg response

API Documentation

Endpoints

Request

Retrieve detailed profile information of a TikTok user using their username.
Returns user metadata such as follower count, following count, and profile details.

Endpoint ID: 23413
GET https://zylalabs.com/api/12389/tiktok+public+media+api/23413/get+user+detail
INPUT PARAMETERS

Get User Detail — Endpoint Features

Object Description
username Required username of an user. Get from URL (after @)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{"data":{"id":"7056448482777695258","nickname":"Mỹ Nhân","signature":"Liên hệ ☎️: 0979282350 .\nGmail    ✉️:[email protected].\nig                : dphlinh .","hdAvatarUrlList":["https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=5ec0e2df&x-expires=1776607200&x-signature=9%2FDYxNRXL8bJE9DiXYNK0NrtCDM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my"],"uniqueId":"linhcutexgai","secUid":"MS4wLjABAAAAt0IgGuV_pDz3lpQ5ocQoqwXyoZagefPQzsEPTbyfjgN854YunzppFRS-zSgb_htw","isVerified":false,"statistics":{"followerCount":61600,"followingCount":105,"friendCount":74,"heartCount":2000000,"videoCount":274,"diggCount":0}}}
Get User Detail — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/12389/tiktok+public+media+api/23413/get+user+detail?username=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Retrieve a list of videos posted by a TikTok user using their secUid.
Returns video metadata including IDs, descriptions, and statistics.

Endpoint ID: 23414
GET https://zylalabs.com/api/12389/tiktok+public+media+api/23414/get+video+list
INPUT PARAMETERS

Get video list — Endpoint Features

Object Description
secUid Required secUid of an user. Get by using Get user details API
minCursor Optional Minimum cursor for TikTok pagination. Defaults to `"0"` (on first request). On next request, get it from previous response.
maxCursor Optional Maximum cursor for TikTok pagination. Defaults to `"0"` (on first request). On next request, get it from previous response.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

secUid
minCursor
maxCursor
API EXAMPLE RESPONSE
JSON
{"data":{"awemeList":[{"id":"7498665422624017672","url":"https://www.tiktok.com/@linhcutexgai/photo/7498665422624017672?_r=1&u_code=del0k2f2gh81lf&region=US&mid=7485972275355847441&preview_pb=0&sharer_language=en&_d=djf240c2f6j7fi&share_item_id=7498665422624017672&source=h5_t","description":"ai sẽ là ngoại lệ đây 😜#viral #qdndvn #xhhhhhhhhhhhhhhhhhhhhhhh ","createdAt":1745919102,"contentType":"MULTI_PHOTO","author":{"id":"7056448482777695258","nickname":"Mỹ Nhân","signature":"Liên hệ ☎️: 0979282350 .\nGmail    ✉️:[email protected].\nig                : dphlinh .","hdAvatarUrlList":["https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14635&refresh_token=045801c3&x-expires=1776520800&x-signature=u4ls7A0NxA4YlRM2Afo%2BaIJhXgk%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my","https://p19-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14635&refresh_token=b82b1873&x-expires=1776520800&x-signature=mtFNUIuohfexs%2FCKA%2BvvII5avoc%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my","https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14635&refresh_token=9064f00f&x-expires=1776520800&x-signature=cg9IsTlpZNlpGf128d5VMwzpezs%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my"],"uniqueId":"linhcutexgai","secUid":"MS4wLjABAAAAt0IgGuV_pDz3lpQ5ocQoqwXyoZagefPQzsEPTbyfjgN854YunzppFRS-zSgb_htw"},"statistics":{"diggCount":12693,"commentCount":214,"playCount":187108,"repostCount":0,"shareCount":447,"collectCount":352},"video":null,"imagePost":{"total":2,"title":"","images":[{"height":2136,"width":1202,"urlList":["https://p16-common-sign.tiktokcdn.com/tos-alisg-i-photomode-sg/bc2f229ac799449191de985e59bf4820~tplv-photomode-image-v1:q70.webp?dr=14555&from=photomode.PUBLISH&ftpl=1&idc=my&ps=13740610&refresh_token=ed7d637b&s=PUBLISH&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474&x-expires=1777730400&x-signature=b9pINQHXcnLdRK3iYHyf6goqP48%3D","https://p19-common-sign.tiktokcdn.com/tos-alisg-i-photomode-sg/bc2f229ac799449191de985e59bf4820~tplv-photomode-image-v1:q70.webp?dr=14555&from=photomode.PUBLISH&ftpl=1&idc=my&ps=13740610&refresh_token=c9628fa0&s=PUBLISH&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474&x-expires=1777730400&x-signature=EKnUJypRt47N5gw%2FMGvQjqNjHAw%3D","https://p16-common-sign.tiktokcdn.com/tos-alisg-i-photomode-sg/bc2f229ac799449191de985e59bf4820~tplv-photomode-image-v1:q70.jpeg?dr=14555&from=photomode.PUBLISH&ftpl=1&idc=my&ps=13740610&refresh_token=144c3215&s=PUBLISH&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474&x-expires=1777730400&x-signature=e9HWEJ3bUJyvStwmC0v9UGz92g4%3D"]},{"height":2098,"width":1184,"urlList":["https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/4c2fc231d2224f24b95f9185a024bb26~tplv-photomode-image-v1:q70.webp?dr=14555&from=photomode.PUBLISH&ftpl=1&idc=my&ps=13740610&refresh_token=9d4de10a&s=PUBLISH&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474&x-expires=1777730400&x-signature=8veiQbyVYzv4mFk4uIKlRQj2eRE%3D","https://p16-sign-sg.tiktokcdn.com/tos-alisg-i-photomode-sg/4c2fc231d2224f24b95f9185a024bb26~tplv-photomode-image-v1:q70.jpeg?dr=14555&from=photomode.PUBLISH&ftpl=1&idc=my&ps=13740610&refresh_token=632c85b5&s=PUBLISH&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474&x-expires=1777730400&x-signature=OsuiQMWJE16diBQg1j5wsA5Qj0M%3D"]}]},"music":{"id":"7485972275355847441","author":{"id":"7421865585623286802","nickname":"Đại Ngọt Music","secUid":"MS4wLjABAAAAprgjsHlJpGoZYgxnjUhXvlzSG9Ffuht_hXaPOCJtDEFkEAlgkJmiZpnYBDE_kBcd","uniqueId":"daingotmusic"},"title":"original sound - Đại Ngọt Music","playUrlList":["https://v45e-us.tiktokcdn.com/8b46cd2311b4d13c54f179a11ce2d6ee/69e39c76/video/tos/alisg/tos-alisg-v-27dcd7/o4efjqqshfKXQAIcvfJLAhgGKeR2jYMVB3ASdM/?a=1340&bti=bGRxbGRoamRobDFybndmKTR2KTc6OWZtXGxxZG9kK3FpaHFmOmQtOm00NDA6&&bt=125&ft=n-iX38V0xwUxNdKutCwD_KXdkcAy2hhFNLrd7bdKXmoag3&mime_type=audio_mpeg&rc=aTVoNmRnaDk4Mzo7Zzk0Z0Bpam94M3c5cjpyeTMzODU8NEAwLy9fXjUwNi4xMDIzMy0vYSNhNmlsMmRzNWVgLS1kMS1zcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e00055000&shp=d05b14bd&shcp=-","https://v16me.tiktokcdn.com/01de3ec9273e5c979679990d5e9d5143/69e39c76/video/tos/alisg/tos-alisg-v-27dcd7/o4efjqqshfKXQAIcvfJLAhgGKeR2jYMVB3ASdM/?a=1340&bti=bGRxbGRoamRobDFybndmKTR2KTc6OWZtXGxxZG9kK3FpaHFmOmQtOm00NDA6&&bt=125&ft=n-iX38V0xwUxNdKutCwD_KXdkcAy2hhFNLrd7bdKXmoag3&mime_type=audio_mpeg&rc=aTVoNmRnaDk4Mzo7Zzk0Z0Bpam94M3c5cjpyeTMzODU8NEAwLy9fXjUwNi4xMDIzMy0vYSNhNmlsMmRzNWVgLS1kMS1zcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e00050000&shp=d05b14bd&shcp=-","https://api.tiktokv.com/aweme/v1/play/?video_id=v10942g50000cvho87vog65to0lu9ldg&line=0&is_play_url=1&source=PUBLISH&file_id=2d01666d58374015963e8daab32e223f&item_id=7485972275355847441&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjkwZjIxNjg4ZDhkMDc4YWY5ZTBhMDM1MzE0YTZmYzRk&shp=d05b14bd&shcp=-"]}},{"id":"7519454791802670343","url":"https://www.tiktok.com/@linhcutexgai/video/7519454791802670343?_r=1&u_code=del0k2f2gh81lf&region=US&mid=7517925071323679505&preview_pb=0&sharer_language=en&_d=djf240c2f6j7fi&share_item_id=7519454791802670343&source=h5_t","description":"Xinh gái đến từ Hà Nam #CapCut#xh #cobodoi #xhhhhhhhhhhhhhhhhhhhhhhh #fyp  ","createdAt":1750759503,"contentType":"VIDEO","author":{"id":"7056448482777695258","nickname":"Mỹ Nhân","signature":"Liên hệ ☎️: 0979282350 .\nGmail    ✉️:[email protected].\nig                : dphlinh .","hdAvatarUrlList":["https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14635&refresh_token=045801c3&x-expires=1776520800&x-signature=u4ls7A0NxA4YlRM2Afo%2BaIJhXgk%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my","https://p19-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.webp?dr=14635&refresh_token=b82b1873&x-expires=1776520800&x-signature=mtFNUIuohfexs%2FCKA%2BvvII5avoc%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my","https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/87422c83f8c8867d28f9f86794acab70~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14635&refresh_token=9064f00f&x-expires=1776520800&x-signature=cg9IsTlpZNlpGf128d5VMwzpezs%3D&t=4d5b0474&ps=82dc5187&shp=d05b14bd&shcp=34ff8df6&idc=my"],"uniqueId":"linhcutexgai","secUid":"MS4wLjABAAAAt0IgGuV_pDz3lpQ5ocQoqwXyoZagefPQzsEPTbyfjgN854YunzppFRS-zSgb_htw"},"statistics":{"diggCount":97854,"commentCount":680,"playCount":1305648,"repostCount":0,"shareCount":4260,"collectCount":2525},"video":{"hdPlayUrlList":["https://v45e-us.tiktokcdn.com/b5b5e331806e3cb4d604137c0ebdbd89/69e39c46/video/tos/alisg/tos-alisg-pve-0037c001/ooIx6eIAozAFkEPyBpjCftfzaBDbDCwEbLHQca/?a=1340&bti=bGRxbGRoamRobDFybndmKTR2KTc6OWZtXGxxZG9kK3FpaHFmOmQtOm00NDA6&&bt=599&ft=n-iX38V0xwUxNdKutCwD_KXdkcA22hhFNLrd7bdKXmoag3&mime_type=video_mp4&rc=ZjtmaTs7NGZkO2loaTRnZEBpMzU4Znk5cmk6NDMzODczNEBhMzJgMzQwNjAxYWMuXjYvYSNmanJiMmRrZGFhLS1kMTFzcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e000bd000","https://v16me.tiktokcdn.com/cac8735bf1cab1c5903e869623d0c08e/69e39c46/video/tos/alisg/tos-alisg-pve-0037c001/ooIx6eIAozAFkEPyBpjCftfzaBDbDCwEbLHQca/?a=1340&bti=bGRxbGRoamRobDFybndmKTR2KTc6OWZtXGxxZG9kK3FpaHFmOmQtOm00NDA6&&bt=599&ft=n-iX38V0xwUxNdKutCwD_KXdkcA22hhFNLrd7bdKXmoag3&mime_type=video_mp4&rc=ZjtmaTs7NGZkO2loaTRnZEBpMzU4Znk5cmk6NDMzODczNEBhMzJgMzQwNjAxYWMuXjYvYSNmanJiMmRrZGFhLS1kMTFzcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e000b8000","https://api.tiktokv.com/aweme/v1/play/?faid=1340&file_id=2a9da11ffedf483a9c317868cf5c68dc&is_play_url=1&item_id=7519454791802670343&line=0&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjM3MmViNjIwNzk4MTM2M2FhZjQxNmZiZTA2MjQ4YTdm&source=PUBLISH&video_id=v14044g50000d1d7gfnog65vecu5m2i0"],"coverUrlList":["https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oEe9qFFCPQnHQAIXei2L5IEGC5tItQj0BeoABD~tplv-tiktokx-cropcenter-q:300:400:q72.webp?dr=16276&refresh_token=e868e252&x-expires=1776520800&x-signature=O3Y1PVtPXfbUMzo349bozGaU%2Bs4%3D&t=5872c671&ps=933b5bde&shp=d05b14bd&shcp=ede7c6fc&idc=my&s=PUBLISH&sc=cover&biz_tag=tt_video"]},"imagePost":null,"music":{"id":"7517925071323679505","author":{"id":"7468297701189960720","nickname":"ɴʜʏ́(🐽)🍫","secUid":"MS4wLjABAAAAL8FJ1SsMPIq8D0fUhN1MhQAChCsxX60B_kBmUW5xmbs5EnKDgvaagrDqIFyeWads","uniqueId":"dnkhanhnhi1309"},"title":"original sound - ɴʜʏ́(🐽)🍫","playUrlList":["https://v45e-us.tiktokcdn.com/80333515b0bc986f6169d4482ff053d8/69e39c45/video/tos/alisg/tos-alisg-v-27dcd7/oQidMoYfoHBI6XKECOK0dCiSimlBCGwABr33LA/?a=1340&bti=M0BzbGRxbGRoamRobDFybndmKTc6OWYucCNtXGxxZG9kK3FpaHFmOmQ0NDA6&&bt=125&ft=n-iX38V0xwUxNdKutCwD_KXdkcAy2hhFNLrd7bdKXmoag3&mime_type=audio_mpeg&rc=ZDo6MzM2aTUzOzdnM2dnM0BpMzRkanE5cjRqNDMzODU8NEAwYjEuL19jXi4xNGE2NTUuYSNlamtiMmRjZl5hLS1kMS1zcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e0007d000&shp=d05b14bd&shcp=-","https://v16me.tiktokcdn.com/c31336a04ca912ae126a45d66a4f43c3/69e39c45/video/tos/alisg/tos-alisg-v-27dcd7/oQidMoYfoHBI6XKECOK0dCiSimlBCGwABr33LA/?a=1340&bti=M0BzbGRxbGRoamRobDFybndmKTc6OWYucCNtXGxxZG9kK3FpaHFmOmQ0NDA6&&bt=125&ft=n-iX38V0xwUxNdKutCwD_KXdkcAy2hhFNLrd7bdKXmoag3&mime_type=audio_mpeg&rc=ZDo6MzM2aTUzOzdnM2dnM0BpMzRkanE5cjRqNDMzODU8NEAwYjEuL19jXi4xNGE2NTUuYSNlamtiMmRjZl5hLS1kMS1zcw%3D%3D&vvpl=1&l=20260417225907E2E4A26BDF47C5B818BA&btag=e00078000&shp=d05b14bd&shcp=-","https://api.tiktokv.com/aweme/v1/play/?video_id=v10942g50000d1agi1fog65negnam1h0&line=0&is_play_url=1&source=PUBLISH&file_id=108d8d90dd744810a2ffb3201047e73a&item_id=7517925071323679505&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLjA0NGEyNmQ2YjBjNjFhMzdlZTA1NjY0MTMxMmQzZjY1&shp=d05b14bd&shcp=-"]}},{"id":"7494966455746841863"}]},"_note":"Response truncated for documentation purposes"}
Get video list — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/12389/tiktok+public+media+api/23414/get+video+list?secUid=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Retrieve TikTok video details by ID or URL including description statistics author info and media URLs.
Endpoint ID: 23415
GET https://zylalabs.com/api/12389/tiktok+public+media+api/23415/get+video+or+photo+details
INPUT PARAMETERS

Get Video Or Photo Details — Endpoint Features

Object Description
idOrUrl Required id or url of the video or photo

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

idOrUrl
API EXAMPLE RESPONSE
JSON
{
    "data": {
        "id": "7661681676719869214",
        "url": "https://www.tiktok.com/@khaby.lame/video/7661681676719869214?_r=1&u_code=del0k2f2gh81lf&preview_pb=0&sharer_language=vi&_d=f557dm1hhi8l3m&share_item_id=7661681676719869214&source=h5_m",
        "description": "First day at work… I don’t think I’m coming back tomorrow. #learnfromkhaby #comedy ",
        "createdAt": 1783874300,
        "contentType": "VIDEO",
        "author": {
            "id": "127905465618821121",
            "nickname": "Khabane lame",
            "signature": "Se vuoi ridere sei nel posto giusto😎 If u wanna laugh u r in the right place😎",
            "hdAvatarUrlList": [
                "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=10796&refresh_token=959409f0&x-expires=1788274800&x-signature=tlOAKH0JJbHzfiCzffWD5JrE4FI%3D&t=223449c4&ps=87d6e48a&shp=d05b14bd&shcp=1d1a97fc&idc=my&s=AWEME_DETAIL&sc=avatar",
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=10796&refresh_token=65523f5e&x-expires=1788274800&x-signature=iJGNG0eMuw%2B3CJL7mO4t5f%2FMNq8%3D&t=223449c4&ps=87d6e48a&shp=d05b14bd&shcp=1d1a97fc&idc=my&s=AWEME_DETAIL&sc=avatar"
            ],
            "uniqueId": "khaby.lame",
            "secUid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA"
        },
        "statistics": {
            "diggCount": 2708053,
            "commentCount": 28123,
            "playCount": 32787083,
            "repostCount": 0,
            "shareCount": 101592,
            "collectCount": 110131
        },
        "video": {
            "hdPlayUrlList": [
                "https://v19.tiktokcdn.com/f6bf5c61703c0c9b84240d66c19afa12/6a96ed39/video/tos/alisg/tos-alisg-ve-37c799-sg/oMRBKFEJQDyfVlUdDqzTAaVTvYIEERDED8xfEA/?a=1180&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=3768&ft=kih3WV0xwnRRfjCEX~ObK_geFcpiOcQEQjKJhND07.0P3-I&mime_type=video_mp4&rc=OGVoODs2NWc3NDxkNGZnNUBpM3k7O2w5cmZ2PDMzaTczNEBeNmMwNTBiNWAxMGEyYTU0YSNhMGBrMmRrMjZhLS1kMTJzcw%3D%3D&vvpl=1&l=202608312319476418ED7C0749F25F15DC&btag=e00088000",
                "https://v16m.tiktokcdn.com/82d09f230f6cec2d135b0ece10f1a282/6a96ed39/video/tos/alisg/tos-alisg-ve-37c799-sg/oMRBKFEJQDyfVlUdDqzTAaVTvYIEERDED8xfEA/?a=1180&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=3768&ft=kih3WV0xwnRRfjCEX~ObK_geFcpiOcQEQjKJhND07.0P3-I&mime_type=video_mp4&rc=OGVoODs2NWc3NDxkNGZnNUBpM3k7O2w5cmZ2PDMzaTczNEBeNmMwNTBiNWAxMGEyYTU0YSNhMGBrMmRrMjZhLS1kMTJzcw%3D%3D&vvpl=1&l=202608312319476418ED7C0749F25F15DC&btag=e00088000",
                "https://api-h2.tiktokv.com/aweme/v1/play/?faid=1180&file_id=728ddc51da3941c48de2338835fe9ba5&is_play_url=1&item_id=7661681676719869214&line=0&pt=dGlrdG9rLnZpZGVvLmNvbnN1bXB0aW9uX2FwaSYvYXdlbWUvdjEvYXdlbWUvZGV0YWlsLyYyMDI2MDgzMTIzMTk0NzY0MThFRDdDMDc0OUYyNUYxNURDJjE3ODgxODk1ODgmNDRhMDhjYjM3MTM2&signaturev3=dmlkZW9faWQ7ZmlsZV9pZDtpdGVtX2lkLmM4ZGVhNzE0MjMwM2M3NTJlNTQ1ZmM3NzQ5MGQ1MWQw&source=AWEME_DETAIL&video_id=v15044gf0000d99s5cnog65in8c83vd0"
            ],
            "coverUrlList": [
                "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUEATqLEACeAEAR31pIABiiEFwBhNUAp8vBevV~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=14782&refresh_token=062dddf1&x-expires=1788274800&x-signature=ba1BQq4cl7OITKcYMVHaou6%2FutE%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=1d1a97fc&idc=my&bas=android_bas&biz_tag=tt_video&s=AWEME_DETAIL&sc=cover",
                "https://p19-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUEATqLEACeAEAR31pIABiiEFwBhNUAp8vBevV~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=14782&refresh_token=00c68d31&x-expires=1788274800&x-signature=b%2BvQAVLt1yltqK8WaNmg5vGnisU%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=1d1a97fc&idc=my&bas=android_bas&biz_tag=tt_video&s=AWEME_DETAIL&sc=cover",
                "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUEATqLEACeAEAR31pIABiiEFwBhNUAp8vBevV~tplv-tiktokx-cropcenter-q:300:400:q70.jpeg?dr=14782&refresh_token=23daeda1&x-expires=1788274800&x-signature=94E0pTJdYKKEY1dSEguuJG9O4EU%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=1d1a97fc&idc=my&bas=android_bas&biz_tag=tt_video&s=AWEME_DETAIL&sc=cover"
            ]
        },
        "imagePost": null,
        "music": {
            "id": "7661681653856717599",
            "author": {
                "id": "127905465618821121",
                "nickname": "Khabane lame",
                "secUid": "MS4wLjABAAAAwAg0rSzO65WQfz4RzQgGv2Xdv108BgPXhRrrmNVIHQZ9PO8-flwwRtEppYTS0OjA",
                "uniqueId": "khaby.lame"
            },
            "title": "âm thanh gốc - khaby.lame",
            "playUrlList": [
                "https://sf16-ies-music-va.tiktokcdn.com/obj/ies-music-ttp-dup-us/tx27662101950158228255.mp3"
            ]
        }
    }
}
Get Video Or Photo Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/12389/tiktok+public+media+api/23415/get+video+or+photo+details?idOrUrl=https://www.tiktok.com/@khaby.lame/video/7661681676719869214?lang=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Tiktok Public Media API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Tiktok Cheap API provides a fast and affordable way to access public TikTok data.

This API allows developers to retrieve TikTok user information, video data, and other public metrics through simple REST endpoints. It is designed to be lightweight, reliable, and easy to integrate into any application.

Features:
- Get TikTok user profile information
- Fetch user videos
- Retrieve public statistics
- Fast JSON responses
- Simple REST API design

Perfect for developers building analytics tools, automation systems, or social media applications that require TikTok data.

Tiktok Public Media API FAQs

The API provides user profile data, video lists, and detailed video information. The "Get User Detail" endpoint returns user metadata, while "Get Video List" provides video metadata for a user. The "Get Video Or Photo Details" endpoint returns comprehensive details about a specific video, including author info and media URLs.

Key fields include user statistics (followerCount, videoCount), video details (description, createdAt), and author information (nickname, signature). Each endpoint's response structure varies, focusing on relevant data for users or videos.

Response data is structured in JSON format, with a "data" object containing relevant information. For example, user details include metadata and statistics, while video details encompass author info and media URLs, making it easy to parse and utilize.

The "Get User Detail" endpoint provides user profile information, including follower counts and signatures. The "Get Video List" returns a list of videos with IDs and descriptions, while "Get Video Or Photo Details" offers in-depth statistics and media URLs for specific videos.

Each endpoint requires specific parameters: "Get User Detail" uses the username, "Get Video List" requires secUid, and "Get Video Or Photo Details" accepts either a video ID or URL. These parameters help customize data requests for specific users or videos.

Users can analyze user profiles for insights into follower engagement or track video performance through metrics like heartCount and videoCount. The structured JSON format allows easy integration into applications for analytics or social media tools.

Common use cases include building analytics tools to track user engagement, creating automation systems for content management, and developing social media applications that require real-time TikTok data for user interaction or marketing strategies.

Data is sourced directly from TikTok's public profiles and videos, ensuring real-time accuracy. The API's design focuses on reliability, and regular updates help maintain data quality, allowing developers to trust the information retrieved.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs