Douyin · Content details
Recommendation feed
Pick a recommendation channel; get its fresh recommended videos (or recommended short‑drama series) with engagement counts and author data.
POST/v1/douyin/feed
$0.00405per record
- 1,000 records
- ≈ $4.05
- minimum per page of 16 records
- $0.00125
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/douyin/feed" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"channel":"food"}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/douyin/feed",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"channel": "food",
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/douyin/feed", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"channel": "food"
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-21. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "video",
"awemeId": "7696053134036192547",
"url": "https://www.douyin.com/video/76960531…",
"description": "美国最廉价牛排馆!年卖60亿!15块吃顶…",
"createdAt": "2026-10-13T08:43:42Z",
"durationSeconds": 634.7,
"likeCount": 53037,
"commentCount": 1453,
"shareCount": 10001,
"collectCount": 4535,
"hashtags": [
"美国美食",
"国外美食",
"美国"
],
"musicId": "7696053398709586731",
"musicTitle": "@子***",
"musicAuthor": "<masked>",
"authorSecUid": "<masked>",
"authorUid": "<masked>",
"authorNickname": "<masked>",
"authorDouyinId": "<masked>",
"authorAvatar": "<masked>",
"authorGender": null,
"authorBio": "<masked>",
"authorIpLocation": null,
"authorRegion": "<masked>",
"authorFollowerCount": null,
"authorVerified": null,
"coverUrl": "https://p3-pc-sign.douyinpic.com/imag…",
"videoUrl": "https://v3-web-prime.douyinvod.com/vi…",
"imageUrls": null
},
{
"type": "video",
"awemeId": "7690488236862398372",
"url": "https://www.douyin.com/video/76904882…",
"description": "跟家人一起测评早100华莱士午100牛约堡…",
"createdAt": "2026-09-28T10:00:00Z",
"durationSeconds": 588.3,
"likeCount": 52263,
"commentCount": 1461,
"shareCount": 12172,
"collectCount": 2876,
"hashtags": [
"和弦今天吃什么",
"妈呀太香了",
"深夜放毒"
],
"musicId": "7690488309558364968",
"musicTitle": "@和***(自罚版)创作的原声",
"musicAuthor": "<masked>",
"authorSecUid": "<masked>",
"authorUid": "<masked>",
"authorNickname": "<masked>",
"authorDouyinId": "<masked>",
"authorAvatar": "<masked>",
"authorGender": null,
"authorBio": "<masked>",
"authorIpLocation": null,
"authorRegion": "<masked>",
"authorFollowerCount": null,
"authorVerified": null,
"coverUrl": "https://p3-pc-sign.douyinpic.com/imag…",
"videoUrl": "https://v3-web-prime.douyinvod.com/vi…",
"imageUrls": null
}
],
"cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.008100",
"balance_usd": "9.875000",
"items": 2
}
}Fields 28
| Field | Type | Example value |
|---|---|---|
| type | string | video |
| awemeId | string | 7696053134036192547 |
| url | string | https://www.douyin.com/video/7696053134036192547 |
| description | string | 美国最廉价牛排馆!年卖60亿!15块吃顶级烤肉套餐! #美国美食#国外美食#美国#美食#女生解馋小零食 |
| createdAt | string | 2026-10-13T08:43:42Z |
| durationSeconds | number | 634.7 |
| likeCount | number | 53037 |
| commentCount | number | 1453 |
| shareCount | number | 10001 |
| collectCount | number | 4535 |
| hashtags | array | ["美国美食","国外美食","美国"] |
| musicId | string | 7696053398709586731 |
| musicTitle | string | @子*** |
| musicAuthor | string | <masked> |
| authorSecUid | string | <masked> |
| authorUid | string | <masked> |
| authorNickname | string | <masked> |
| authorDouyinId | string | <masked> |
| authorAvatar | string | <masked> |
| authorGender | null | null |
| authorBio | string | <masked> |
| authorIpLocation | null | null |
| authorRegion | string | <masked> |
| authorFollowerCount | null | null |
| authorVerified | null | null |
| coverUrl | string | https://p3-pc-sign.douyinpic.com/image-cut-tos/3a1feedbc60d0… |
| videoUrl | string | https://v3-web-prime.douyinvod.com/video/tos/cn/tos-cn-ve-15… |
| imageUrls | null | null |
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 |
| channel | string | no | Which recommendation feed to read. series lists recommended short-drama series. | food |
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 = {"channel":"food"};
const records = [];
let cursor = null;
do {
const response = await fetch("https://api.silklinedata.com/v1/douyin/feed", {
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 16 records and its minimum is $0.00125; a request for 100 records reads 7 pages.
- 1 record: up to $0.00405
- 20 records: up to $0.081
- 100 records: up to $0.405
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 Recommendation feed take?
No parameter is required. Optional: channel. 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 16 records, so 100 records take 7 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.00405. The minimum is $0.00125 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.405.
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.