TikTok · Content details
Videos of a profile
Send profiles; get each profile's latest videos, pinned first, with views, likes, comments, shares, caption and hashtags.
POST/v1/tiktok/userPosts
$0.00042per record
- 1,000 records
- ≈ $0.42
- minimum per page of 10 records
- $0.001337
Works with trial balancePages with a cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/tiktok/userPosts" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"profiles":["@zachking"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/tiktok/userPosts",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"profiles": ["@zachking"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/tiktok/userPosts", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"profiles": [
"@zachking"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "video",
"videoId": "7655004069190192398",
"url": "https://www.tiktok.com/@z***2398",
"description": "a message to all AI",
"hashtags": [],
"createdAt": "2026-06-24T16:45:49Z",
"durationSeconds": 27.9,
"playCount": 68095151,
"likeCount": 13975701,
"commentCount": 105200,
"shareCount": 562293,
"collectCount": 1016828,
"downloadCount": 24867,
"authorHandle": "<masked>",
"authorName": "<masked>",
"authorFollowerCount": 86733793,
"authorVerified": "<masked>",
"authorId": "<masked>",
"authorSecUid": "<masked>",
"authorAvatarUrl": "<masked>",
"authorBio": "<masked>",
"authorRegion": "<masked>",
"musicTitle": "original sound - zachking",
"musicAuthor": "<masked>",
"coverUrl": "https://p16-common-sign.tiktokcdn-eu.…",
"videoUrl": "https://v45.tiktokcdn-eu.com/0452894b…",
"textLanguage": "en",
"isPinned": true,
"isSlideshow": false,
"mentions": [],
"width": 720,
"height": 1280,
"musicId": "7655004159753718541",
"musicOriginal": false,
"authorFollowingCount": 185,
"isPaidContent": false,
"isAd": false,
"sourceProfile": "zachking"
},
{
"type": "video",
"videoId": "6768504823336815877",
"url": "https://www.tiktok.com/@z***5877",
"description": "They rejected my application to Hogwa…",
"hashtags": [
"illusion",
"magic",
"harrypotter"
],
"createdAt": "2019-12-09T18:15:37Z",
"durationSeconds": 18.3,
"playCount": 2384385967,
"likeCount": 29625839,
"commentCount": 797305,
"shareCount": 1118557,
"collectCount": 999827,
"downloadCount": 569764,
"authorHandle": "<masked>",
"authorName": "<masked>",
"authorFollowerCount": 86733793,
"authorVerified": "<masked>",
"authorId": "<masked>",
"authorSecUid": "<masked>",
"authorAvatarUrl": "<masked>",
"authorBio": "<masked>",
"authorRegion": "<masked>",
"musicTitle": "Zach Kings Magic Broomstick",
"musicAuthor": "<masked>",
"coverUrl": "https://p16-common-sign.tiktokcdn-eu.…",
"videoUrl": "https://v45.tiktokcdn-eu.com/89a2ee37…",
"textLanguage": "en",
"isPinned": true,
"isSlideshow": false,
"mentions": [],
"width": 576,
"height": 1090,
"musicId": "6768109565536946950",
"musicOriginal": false,
"authorFollowingCount": 185,
"isPaidContent": false,
"isAd": false,
"sourceProfile": "zachking"
}
],
"cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.001337",
"balance_usd": "9.875000",
"items": 2
}
}Fields 38
| Field | Type | Example value |
|---|---|---|
| type | string | video |
| videoId | string | 7655004069190192398 |
| url | string | https://www.tiktok.com/@z***2398 |
| description | string | a message to all AI |
| hashtags | array | [] |
| createdAt | string | 2026-06-24T16:45:49Z |
| durationSeconds | number | 27.9 |
| playCount | number | 68095151 |
| likeCount | number | 13975701 |
| commentCount | number | 105200 |
| shareCount | number | 562293 |
| collectCount | number | 1016828 |
| downloadCount | number | 24867 |
| authorHandle | string | <masked> |
| authorName | string | <masked> |
| authorFollowerCount | number | 86733793 |
| authorVerified | string | <masked> |
| authorId | string | <masked> |
| authorSecUid | string | <masked> |
| authorAvatarUrl | string | <masked> |
| authorBio | string | <masked> |
| authorRegion | string | <masked> |
| musicTitle | string | original sound - zachking |
| musicAuthor | string | <masked> |
| coverUrl | string | https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-… |
| videoUrl | string | https://v45.tiktokcdn-eu.com/0452894bd22ccd44e1fd41eaec3e529… |
| textLanguage | string | en |
| isPinned | boolean | true |
| isSlideshow | boolean | false |
| mentions | array | [] |
| width | number | 720 |
| height | number | 1280 |
| musicId | string | 7655004159753718541 |
| musicOriginal | boolean | false |
| authorFollowingCount | number | 185 |
| isPaidContent | boolean | false |
| isAd | boolean | false |
| sourceProfile | string | zachking |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| profiles | array | yes | Public profiles as khaby.lame, @khaby.lame, or a link to the profile or to one of its videos. Short vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ links are not supported. | ["@zachking"] |
Paging
Send the cursor of the last answer back with the same parameters to get the next page. Each page is a request of its own, charged on its own; the last page has cursor null.
const params = {"profiles":["@zachking"]};
const records = [];
let cursor = null;
do {
const response = await fetch("https://api.silklinedata.com/v1/tiktok/userPosts", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ ...params, limit: 100, ...(cursor ? { cursor } : {}) }),
});
const answer = await response.json();
records.push(...answer.data);
cursor = answer.cursor;
} while (cursor);
console.log(records.length);What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here a page holds up to 10 records and its minimum is $0.001337; a request for 100 records reads 10 pages.
- 1 record: up to $0.001337
- 20 records: up to $0.0084
- 100 records: up to $0.042
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Videos of a profile take?
Required: profiles. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 10 records, so 100 records take 10 pages in one request.
Can I page through more results?
Yes. While the answer carries a cursor, send it back with the same parameters for the next batch.
How much does it cost?
Per record: record $0.00042. The minimum is $0.001337 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.042.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.