Product Comments
Retrieve paginated customer comments for a JD.com product identified by item ID. Use it to review buyer feedback for a known product.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
item_id |
Required | string | A unique product identifier on JD.com (item ID). | 10164640878768 |
— |
page |
Optional | string | Page number for paginated comments. | 1 |
— |
Code samples
curl -G "https://api.mofa-ai.com/v1/jd/get_item_comments_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'item_id=10164640878768' \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/jd/get_item_comments_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"item_id": "10164640878768",
"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/jd/get_item_comments_v1");
url.search = new URLSearchParams({
item_id: "10164640878768",
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);
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.
Example response
Captured 2026-11-07, took 3222 ms · Request parameters {"page": "1", "item_id": "10164640878768"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "jd.get_item_comments_v1",
"cost_usd": 0.04,
"data": {
"code": 0,
"data": {
"data": [
{
"guid": "T6NYO8B3jJstdhiBWaKRw3aF",
"isPlus": 1,
"buyCount": 1,
"commentId": "106270470227249394",
"praiseCnt": 0,
"productId": "10164640878768",
"userImgURL": "https://storage.360buyimg.com/i.imageUpload/6865726f5f64696e673139373831343638363833323736393034_sma.jpg",
"commentData": "东西的味道不错,一直在复购。",
"commentDate": "2026-09-30 18:26:51",
"productSize": "",
"afterComment": {},
"commentScore": "5",
"productColor": "三合一800g2袋【100杯】",
"userNickName": "豪***霸",
"pictureInfoList": []
},
{
"guid": "T6NYO8F1jpQtdhiDXaWex36A",
"isPlus": 0,
"buyCount": 1,
"commentId": "106262680225636711",
"praiseCnt": 0,
"productId": "10164640878768",
"userImgURL": "https://storage.360buyimg.com/default.image/6a645f6465665f696d675f393836313831373632333134353936363836_sma.jpg",
"commentData": "g7咖啡经常买,老妈很喜欢喝。趁着活动,赶紧买。咖啡味道好,苦味不明显,甜度刚刚好,喝完回味久。成分表比较干净。包装一如既往的稳定。",
"commentDate": "2026-09-22 14:49:18",
"productSize": "",
"afterComment": {},
"commentScore": "5",
"productColor": "三合一800g2袋【100杯】赠冰箱贴(送完即止)",
"userNickName": "t***1",
"pictureInfoList": [
{
"picURL": "https://img30.360buyimg.com/shaidan/s300x300_jfs/t1/535357/29/265/101639/6ab224edF883480b3/00a939b34f737e56.jpg.dpg",
"mediaType": "1",
"largePicURL": "https://img30.360buyimg.com/shaidan/s1080x1080_jfs/t1/535357/29/265/101639/6ab224edF883480b3/00a939b34f737e56.jpg.dpg",
"liveShooting": "0",
"showOrderMediaId": "-1564685795"
},
{
"picURL": "https://img30.360buyimg.com/shaidan/s300x300_jfs/t1/527021/15/8630/66227/6ab224edFdf04033a/00a930f3914bb211.jpg.dpg",
"mediaType": "1",
"largePicURL": "https://img30.360buyimg.com/shaidan/s1080x1080_jfs/t1/527021/15/8630/66227/6ab224edFdf04033a/00a930f3914bb211.jpg.dpg",
"liveShooting": "0",
"showOrderMediaId": "1421771271"
}
]
},
"… +8"
],
"pageInfo": {
"count": "200",
"maxPage": "2",
"nowPage": "1",
"good_rate": 100,
"good_count": "20",
"poor_count": "0",
"comment_count": "200+",
"general_count": "0"
}
},
"message": null,
"requestId": "a2940ab4148d446a9edca8ea607e2e7f",
"recordTime": "2026-11-08T07:59:45.282811098",
"requestParams": {
"body": null,
"query": {
"page": "1",
"itemId": "10164640878768"
}
}
}
}