Douyin E-commerce Item Comments
Retrieves 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
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
douyin_ec.get_item_comments_v1
Parameters
-
item_idstring RequiredThe unique ID of the item on Douyin E-commerce.
-
pagestring OptionalPage number for paginated comments.
Example
1
Code samples
curl -G "https://api.mofa-ai.com/v1/douyin_ec/get_item_comments_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/douyin_ec/get_item_comments_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"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/get_item_comments_v1");
url.search = new URLSearchParams({
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
There is no example response for this endpoint yet.
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
-
Product Search
$0.03Searches 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
-
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