Douyin Shop · E-commerce
Search products by keyword
Send Chinese keywords; get matching products with price, monthly sales, 30-day daily sales, positive rate, shop score and commission rate.
POST/v1/douyin-shop/search
$0.008per record
- 1,000 records
- ≈ $8.00
- minimum per page of 15 records
- $0.04
Paid balance onlyPages 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-shop/search" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"keywords":["手机壳"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/douyin-shop/search",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"keywords": ["手机壳"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/douyin-shop/search", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"keywords": [
"手机壳"
]
}),
});
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": "product",
"productId": "3851929479551255180",
"promotionId": "3852118928436364995",
"url": "https://haohuo.jinritemai.com/ecommer…",
"searchKeyword": "口红",
"title": "植物胡萝卜素变色唇膏口红不易沾杯保湿…",
"imageUrl": "https://p9-aio.ecombdimg.com/obj/ecom…",
"whiteImageUrl": "https://p9-aio.ecombdimg.com/obj/ecom…",
"categoryLevel1": "个人护理",
"categoryLevel2": "唇部护理",
"categoryLevel3": "润唇膏",
"price": 29.9,
"regularPrice": null,
"monthlySales": 1599,
"positiveRate": 94.12,
"shopId": "315941911",
"shopName": "好优来精选",
"shopLogoUrl": "https://p6-ecom-qualification-sign.ec…",
"shopScore": 89,
"commissionRate": 50,
"commissionAmount": 14.95,
"cooperatingCreators": 241,
"tags": [
"运费险",
"包邮"
],
"recommendReason": null,
"dailySales": [
{
"date": "2026-10-10",
"sales": 0
},
{
"date": "2026-10-11",
"sales": 0
},
{
"date": "2026-10-12",
"sales": 0
}
]
},
{
"type": "product",
"productId": "3852110154019504233",
"promotionId": "3852112022103785758",
"url": "https://haohuo.jinritemai.com/ecommer…",
"searchKeyword": "口红",
"title": "奢金丝绒不沾杯口红防水持久不掉色滋润…",
"imageUrl": "https://p3-aio.ecombdimg.com/obj/ecom…",
"whiteImageUrl": "https://p3-aio.ecombdimg.com/obj/ecom…",
"categoryLevel1": "彩妆香水",
"categoryLevel2": "唇部彩妆",
"categoryLevel3": "有色唇膏/口红",
"price": 12.9,
"regularPrice": 17.9,
"monthlySales": 177,
"positiveRate": null,
"shopId": "291510100",
"shopName": "沐颜集优选",
"shopLogoUrl": "https://p6-ecom-qualification-sign.ec…",
"shopScore": 81,
"commissionRate": 5,
"commissionAmount": 0.65,
"cooperatingCreators": 7,
"tags": [
"消费券",
"现货"
],
"recommendReason": null,
"dailySales": [
{
"date": "2026-10-10",
"sales": 0
},
{
"date": "2026-10-11",
"sales": 0
},
{
"date": "2026-10-12",
"sales": 0
}
]
}
],
"cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.040000",
"balance_usd": "9.875000",
"items": 2
}
}Fields 25
| Field | Type | Example value |
|---|---|---|
| type | string | product |
| productId | string | 3851929479551255180 |
| promotionId | string | 3852118928436364995 |
| url | string | https://haohuo.jinritemai.com/ecommerce/trade/detail/index.h… |
| searchKeyword | string | 口红 |
| title | string | 植物胡萝卜素变色唇膏口红不易沾杯保湿滋润 |
| imageUrl | string | https://p9-aio.ecombdimg.com/obj/ecom-shop-material/jpeg_m_f… |
| whiteImageUrl | string | https://p9-aio.ecombdimg.com/obj/ecom-shop-material/jpeg_m_0… |
| categoryLevel1 | string | 个人护理 |
| categoryLevel2 | string | 唇部护理 |
| categoryLevel3 | string | 润唇膏 |
| price | number | 29.9 |
| regularPrice | null | null |
| monthlySales | number | 1599 |
| positiveRate | number | 94.12 |
| shopId | string | 315941911 |
| shopName | string | 好优来精选 |
| shopLogoUrl | string | https://p6-ecom-qualification-sign.ecombdimg.com/tos-cn-i-6v… |
| shopScore | number | 89 |
| commissionRate | number | 50 |
| commissionAmount | number | 14.95 |
| cooperatingCreators | number | 241 |
| tags | array | ["运费险","包邮"] |
| recommendReason | null | null |
| dailySales | array | [{"date":"2026-10-10","sales":0},{"date":"2026-10-11","sales… |
When the usual route to this data is unavailable, the request is answered another way rather than failing. Records fetched that way carry partialFields: true, and in them these fields can be empty: whiteImageUrl, regularPrice, recommendReason. That way a request gets at most 30 records and its answer cannot be continued (no cursor): the list may be longer.
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 |
| keywords | array | yes | Search keywords, Chinese (for example 手机壳). Results are collected keyword by keyword until Max results is reached. Leave it empty to use 手机壳. | ["手机壳"] |
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 = {"keywords":["手机壳"]};
const records = [];
let cursor = null;
do {
const response = await fetch("https://api.silklinedata.com/v1/douyin-shop/search", {
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);Thousands of records of one item? Submit a job: up to 10,000 records, no cursor loop, the same price. How jobs work
What a request costs
You pay for the records delivered or the endpoint minimum for each page of each item you ask for (a keyword, a user, a link), whichever is more; an item that is looked up and has nothing there counts as one page, and only timeouts and errors, on our side or the platform side, are not charged.
Here a page holds up to 15 records and its minimum is $0.04; 100 records of one item take 7 pages, and each item in a request counts its own pages.
- 1 record: up to $0.04
- 20 records: up to $0.16
- 100 records: up to $0.80
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 Search products by keyword take?
Required: keywords. 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 15 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.008. The minimum is $0.04 for each page of each item you ask for: when the records come to less than the minimums of the pages they fill, you pay those minimums instead. 100 records of one item cost at most $0.80.
What does a request cost when it fails or comes back empty?
You pay for the records delivered or the endpoint minimum for each page of each item you ask for (a keyword, a user, a link), whichever is more; an item that is looked up and has nothing there counts as one page, and only timeouts and errors, on our side or the platform side, are not charged. Each answer's meta says what the request was charged and the balance left.