Sources › Social media › TikTok › Get Detail Post
TikTok Detail Post API
One TikTok video or photo slideshow by URL or id: caption, author, music, cover, play links with and without watermark (HD with `hd`), slideshow images and engagement counts.
Request
https://api.zapi.ink/v1/social-media:tiktok-scraper/post/:idSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | No | Video ID (numeric) atau full TikTok URL. Auto-inject dari path-param via template `:id`. Example: 7554652158981983544 |
| url | string | query | No | Full TikTok video URL — alias untuk id (dipakai bulk async scraping) |
| hd | boolean | query | No | Request HD play URL kalau available. Default true |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/post/7554652158981983544?url=&hd=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/post/7554652158981983544?url=&hd=", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:tiktok-scraper/post/7554652158981983544", params={"url":"","hd":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:tiktok-scraper", "data": { "url": "https://www.tiktok.com/@mrbeast/video/7659558620098465055", "isAd": false, "play": "https://v16m.tiktokcdn-us.com/7e8db613ae0e5955a19a51b0c4da6daa/6a5f7f52/video/tos/useast8/tos-useast8-ve-0068c004-tx2/oMGgqFDzjIIeIInORYEQQeCAcgQACjHLmUfsFy/?a=1233&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=1629&ft=arR-Iqq2m0nPD12o~gdI3wU1OGrdaeF~O5&mime_type=video_mp4&rc=OWdpZGRlOTs2aWllZzg0N0BpMzVwNWs5cjY2PDMzaTczNEBhYmMvM19hNjExMDMwNWEwYSNvZC1sMmRrYzNhLS1kMTJzcw%3D%3D&vvpl=1&l=20260721081631D525FB3687370C5095DF&btag=e000b8000", "size": 3995654, "cover": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oEqAV2YyHCgIDAFRyEvQ8AfAATE1ACfC3gcDEO~tplv-tiktokx-dmt-logoccm:300:400:tos-useast8-i-0068-tx2/o0BEgADaFAEGTOMRARTHACuEdf0EIVAfAqDDYE.jpeg?dr=8595&refresh_token=46dc33cc&x-expires=1784707200&x-signature=WoHeq9%2FFyqYEwYq%2FmKwq%2FnvAamE%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=1d1a97fc&idc=useast5&biz_tag=tt_video&s=AWEME_DETAIL&sc=cover", "music": { "id": "7659558591884118814", "title": "original sound - mrbeast", "author": "MrBeast", "playUrl": "https://v19-ies-music.tiktokcdn-us.com/25b1db0166b820dd789512bb4fbf4a31/6a686585/video/tos/useast8/tos-useast8-v-27dcd7-tx2/oQIVMEIcTMwmEMGUJL5FefchiAroXIsAqeHXCZ/?a=583965&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=125&ft=aERJYqq2m0nPD12o~gdI3wU1OGrdaeF~O5&mime_type=audio_mpeg&rc=ZTNoO2llZDM6O2Y3ODg0aUBpM3lqOXQ5cjU2PDMzaTU8NEBhLi1iYWAuXjAxYGIyYV8tYSNlcjBtMmRzZDNhLS1kMTJzcw%3D%3D&vvpl=1&l=20260721081631D525FB3687370C5095DF&btag=e000f8000&shp=d05b14bd&shcp=-", "duration": 19, "original": true }, "title": "@riley check your DMs :) @riley ", "author": { "id": "6614519312189947909", "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/1e2348ca19d394037718e3b1d3fc2958~tplv-tiktokx-cropcenter-q:300:300:q70.jpeg?dr=8834&idc=useast5&ps=87d6e48a&refresh_token=da8ae928&s=AWEME_DETAIL&sc=avatar&shcp=1d1a97fc&shp=d05b14bd&t=223449c4&x-expires=1784707200&x-signature=rK7H8nPH020zsIuZcvmZCDp0QMg%3D", "nickname": "MrBeast", "username": "mrbeast" }, "hdSize": 3639675, "hdplay": "https://v16m-default.tiktokcdn-us.com/a3eb63870a349f8e830f1c00f48b3ac9/6a5f7f52/video/tos/useast8/tos-useast8-pve-0068-tx2/oMIeQqsgODAVOQGReGFjIjUgJIQAFC4mILfkME/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=1484&ft=ary.8qUHm3-PD12o~gdI3wUdS7bhMeF~O5&mime_type=video_mp4&rc=O2dlNDdlPGQ7Z2RpaTQ5aEBpMzVwNWs5cjY2PDMzaTczNEAwYGMxLy4vXmIxMTNhXi5eYSNvZC1sMmRrYzNhLS1kMTJzcw%3D%3D&vvpl=1&l=20260721081631EB487DDD0B8ACC59D5E3&btag=e000b8000", "images": [], "region": "US", "wmSize": 3642568, "wmplay": "https://v16m.tiktokcdn-us.com/417dd5b464029631619e71a4d86fc257/6a5f7f52/video/tos/useast8/tos-useast8-pve-0068-tx2/o82IeeUIMQFDUCLOAOqBGfEJFIAjVgmjTsQgGQ/?a=1233&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&&bt=1485&ft=arR-Iqq2m0nPD12o~gdI3wU1OGrdaeF~O5&mime_type=video_mp4&rc=NmVoNGlnNzU2ZWU7OTw8aUBpMzVwNWs5cjY2PDMzaTczNEAyLTQxLzRfNWMxXy9gYi9gYSNvZC1sMmRrYzNhLS1kMTJzcw%3D%3D&vvpl=1&l=20260721081631D525FB3687370C5095DF&btag=e000b8000", "anchors": [], "videoId": "7659558620098465055", "duration": 19, "diggCount": 522498, "playCount": 7392809, "createTime": 1783379976, "shareCount": 23433, "isSlideshow": false, "originCover": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/ooOkMAhua2CIwoVAY4FARtyuEjw3ivBIBBxiI~tplv-tiktokx-shrink-aq:360:360:q75.webp?dr=11731&refresh_token=e01de40c&x-expires=1784707200&x-signature=zlaC9JtziTiER8IPRH39zFuyj44%3D&t=bacd0480&ps=d97f9a4f&shp=d05b14bd&shcp=1d1a97fc&idc=useast5&biz_tag=tt_video&s=AWEME_DETAIL&sc=feed_cover", "collectCount": 19752, "commentCount": 22379, "createTimeIso": "2026-07-06T23:19:36.000Z", "downloadCount": 597 }, "timestamp": "2026-06-13T03:11:01Z" }
Frequently asked questions
How do I call the TikTok Detail Post API?
Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/post/:id with your Zapi key in the x-api-key header. Parameters — optional: id, url, hd. The response is JSON in the { project, data, timestamp } envelope.
What does the TikTok Detail Post API return?
One TikTok video or photo slideshow by URL or id: caption, author, music, cover, play links with and without watermark (HD with `hd`), slideshow images and engagement counts. The example response has the fields url, isAd, play, size, cover, music, title, author.
Is the TikTok Detail Post API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the TikTok Detail Post API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "post".
What other TikTok API endpoints are there?
It has 21 endpoints. Besides Get Detail Post: Get User Profile, Get User Posts, Get Post Comments, Get Hashtag Info, Get Hashtag Posts, Search Videos, and 14 more.