Douyin E-commerce Product Search
Searches Douyin E-commerce products by keyword with page and search-ID pagination. Use it to discover marketplace products and continue a multi-page search.
/v1/douyin_ec/search_item_list_v1
$0.03
- Price
- $0.03 per successful call, Failed calls are free
- Endpoint ID
douyin_ec.search_item_list_v1
Parameters
-
keywordstring RequiredSearch keyword.
Example
咖啡 -
pagestring OptionalPage number for pagination.
Example
1 -
search_idstring OptionalSearch ID; use the search_id value returned by the last response for subsequent pages.
Code samples
curl -G "https://api.mofa-ai.com/v1/douyin_ec/search_item_list_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'keyword=咖啡' \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/douyin_ec/search_item_list_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"keyword": "咖啡",
"page": "1",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/douyin_ec/search_item_list_v1");
url.search = new URLSearchParams({
keyword: "咖啡",
page: "1",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"page": "1", "keyword": "咖啡"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "douyin_ec.search_item_list_v1",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"extra": {
"search_id": "1ece287eacd2e63289af8378fa9a4d8565454a55a684b0e87f62212d249b213e9eb6e28f896f145e0e2adbb6105c232a795c21a5a13e86233ee105cb…",
"channel_id": "200",
"session_id": "2240ef2d8a855155c5a83bb0482ffccf197cd99dd99017347d914442b8d79bf12d198f25b4e2e48dc6e53f53c63250f7d1545dc9457a1672c8e8f425…",
"recall_type": "Search",
"material_type": "promotion_id"
},
"shops": null,
"total": 500,
"log_id": "20261108075944454BC6CC8D520BB4BB9D",
"has_more": true,
"promotions": [
{
"base_info": {
"price": null,
"title": "雅贝热奶咖固体饮料(送实验装)",
"category": {
"leaf_layer": 3,
"first_category": {
"category_id": 1000001823,
"category_name": "水饮冲调"
},
"third_category": {
"category_id": 1000001918,
"category_name": "速溶咖啡"
},
"fourth_category": {
"category_id": 0,
"category_name": ""
},
"second_category": {
"category_id": 1000001834,
"category_name": "咖啡及辅料"
}
},
"main_img": {
"uri": "ecom-shop-material/png_m_c806bdef193426f343a7d7b6d7187983_sx_3166796_www1728-1728",
"url_list": [
"https://p9-aio.ecombdimg.com/obj/ecom-shop-material/png_m_c806bdef193426f343a7d7b6d7187983_sx_3166796_www1728-1728"
]
},
"detail_url": "https://haohuo.jinritemai.com/ecommerce/trade/detail/index.html?id=3851920193941012594&origin_type=2631"
},
"product_id": "3851920193941012594",
"promotion_id": "3851925783958388809"
},
"… +29"
],
"promotions_pc": null,
"summary_shops": [],
"summary_authors": [],
"summary_promotions": [
{
"base_model": {
"tag_info": {
"main_tags": [
{
"pic": "https://lf3-static.bytednsdoc.com/obj/eden-cn/lm-ljuhpssh/ljhwZthlaukjlkulzlp/d2c/xiy/切图_14px@3x标签.png",
"text": {
"text": ""
},
"type": "big_promotion_11_tag",
"tag_type": 1
}
],
"tag_codes": [
"big_promotion_11_tag",
"… +4"
],
"second_tags": [
{
"text": {
"text": "免费寄样"
},
"type": "FreeSample",
"tag_type": 1,
"border_color": "rgba(255, 112, 29, 0.34)"
},
"… +3"
]
},
"shop_info": {
"shop_id": 45617111,
"shop_logo": {
"url_list": [
"https://p3-ecom-qualification-sign.ecombdimg.com/tos-cn-i-6vegkygxbk/8ae09f50f7f24bec85eaf81f92596995~tplv-6vegkygxbk-s:…"
]
},
"shop_name": "雅贝热",
"shop_score_info": {
"has_data": true,
"shop_score": {
"score": 89,
"rating": "",
"percentage": 0,
"rise_than_7d_ago": 0
}
}
},
"extend_info": {
"is_in_cart": false,
"data_report": {
"query": "咖啡",
"scene": "PCSquareSearch",
"log_pb": "20261108075944454BC6CC8D520BB4BB9D",
"shop_id": "45617111",
"search_id": "1ece287eacd2e63289af8378fa9a4d8565454a55a684b0e87f62212d249b213e9eb6e28f896f145e0e2adbb6105c232a795c21a5a13e86233ee105cb…",
"tag_codes": "big_promotion_11_tag,FreeSample,big_promote_coupon,DouMonthPay,spot_goods",
"channel_id": "200",
"first_tags": "big_promotion_11_tag",
"product_id": "3851920193941012594",
"session_id": "2240ef2d8a855155c5a83bb0482ffccf197cd99dd99017347d914442b8d79bf12d198f25b4e2e48dc6e53f53c63250f7d1545dc9457a1672c8e8f425…",
"recall_type": "Search",
"search_type": "搜商品",
"second_tags": "FreeSample,big_promote_coupon,DouMonthPay,spot_goods",
"commodity_id": "3851925783958388809",
"material_type": "promotion_id"
}
},
"product_info": {
"name": "雅贝热奶咖固体饮料(送实验装)",
"category": {
"leaf_layer": 3,
"first_category": {
"category_id": 1000001823,
"category_name": "水饮冲调"
},
"third_category": {
"category_id": 1000001918,
"category_name": "速溶咖啡"
},
"fourth_category": {
"category_id": 0,
"category_name": ""
},
"second_category": {
"category_id": 1000001834,
"category_name": "咖啡及辅料"
}
},
"main_img": {
"uri": "ecom-shop-material/png_m_c806bdef193426f343a7d7b6d7187983_sx_3166796_www1728-1728",
"url_list": [
"https://p9-aio.ecombdimg.com/obj/ecom-shop-material/png_m_c806bdef193426f343a7d7b6d7187983_sx_3166796_www1728-1728"
]
},
"sale_axis": [
{
"x": "20261009",
"y": 0
},
"… +29"
],
"detail_url": "https://haohuo.jinritemai.com/ecommerce/trade/detail/index.html?id=3851920193941012594&origin_type=2631",
"month_sale": {
"origin": 89
},
"product_status": {
"status": 0,
"check_status": 3
},
"month_sale_text": "月销"
},
"marketing_info": {
"price_desc": {
"price": {
"origin": 3990,
"suffix": "",
"decimal": "9",
"integer": "39"
},
"price_text": "到手价"
}
},
"promotion_info": {
"cos_info": {
"cos": {
…
Truncated for display; the full response is longer.
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More Douyin E-commerce endpoints
-
Item Details
$0.02Retrieves Douyin E-commerce product details by item ID. Use it to inspect a known marketplace item for catalog or product research.
/v1/douyin_ec/get_item_detail_v2
-
Product SKU Info v1
$0.04Retrieves SKU information for a Douyin E-commerce product by item ID. Use it to inspect the purchasable variations of a known product during catalog review.
/v1/douyin_ec/get_item_sku_info_v1
-
Product SKU Info v2
$0.04Retrieves SKU information for a Douyin E-commerce product by item ID. Returns code 202 when the product is not supported.
/v1/douyin_ec/get_item_sku_info_v2
-
Item Comments
$0.02Retrieves paginated customer comments for a Douyin E-commerce product by item ID. Use it to review product feedback for a known marketplace item.
/v1/douyin_ec/get_item_comments_v1
-
Shop Product List
$0.02Retrieves a paginated product list for a Douyin E-commerce shop by shop ID. Use it to browse a known seller's marketplace catalog page by page.
/v1/douyin_ec/get_shop_item_list_v1