Taobao vs JD.com Price Comparison: Pull Prices for the Same Product Line by API
Take brand and model from a Taobao listing, search JD.com for the same line, then read the JD price. Five steps, about $0.028 a round.
To take a Taobao product and price-check it on JD.com, run five steps per round: taobao/search finds the product, taobao/product_detail reads its title and price, jd/search searches JD by brand plus model, jd/product_detail confirms the JD item's brand and shop, and jd/product_price reads the JD price. At catalog price they are $0.0135, $0.0045, $0.002472, $0.002444 and $0.005556, about $0.028 a round.
The calls below ran live on November 29, 2026, with the Chinese word for coffee machine as the keyword, sent exactly as written. None of the top 5 JD results matched the Taobao model exactly, so the final comparison is between close models from the same product line.
| Step | Endpoint | Catalog price |
|---|---|---|
| 1 | taobao/search | $0.0135 |
| 2 | taobao/product_detail | $0.0045 |
| 3 | jd/search | $0.002472 |
| 4 | jd/product_detail | $0.002444 |
| 5 | jd/product_price | $0.005556 |
Step 1: Find the product on Taobao
curl -X POST https://api.everyinfra.com/api/v1/social \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"taobao","action":"search","params":{"keyword":"咖啡机","sort":"popular"}}'Request body:
{
"platform": "taobao",
"action": "search",
"params": {
"keyword": "咖啡机",
"sort": "popular"
}
}Pass the url to step 2. Keep the brand (De'Longhi) and model (S5 Pro) from the title for the JD search in step 3.
{
"id": "1022885015807",
"url": "https://item.taobao.com/item.htm?id=1022885015807",
"title": "[礼物]delonghi德龙S5 Pro全自动咖啡机现磨意式家用小型醇萃冰咖",
"price": 4690.0,
"currency": "CNY",
"sold_text": "1000+",
"shop_name": "delonghi德龙旗舰店",
"is_tmall": true
}Step 2: Read the Taobao product details
{
"platform": "taobao",
"action": "product_detail",
"params": {
"url": "https://item.taobao.com/item.htm?id=1022885015807"
}
}This time the details had no brand field, so the JD search term comes from title: the brand and model plus the word for coffee machine, written in Chinese.
{
"id": "1022885015807",
"title": "[礼物]delonghi德龙S5 Pro全自动咖啡机现磨意式家用小型醇萃冰咖",
"price": 4690.0,
"currency": "CNY",
"shop_name": "delonghi德龙旗舰店"
}Step 3: Search JD.com by brand and model
A search on the category word alone can return other brands, and then the comparison no longer holds. Include the brand and model in the search term.
{
"platform": "jd",
"action": "search",
"params": {
"keyword": "德龙 S5 Pro 咖啡机"
}
}Pass item_id to steps 4 and 5: pick a result with S5 in the title. Here the one with S5 in the title was the S5Plus, from the same line as the Taobao S5 Pro but a different model.
{
"item_id": "10223899311178",
"url": "https://item.jd.com/10223899311178.html",
"title": "德龙(Delonghi)咖啡机意式家用全自动13档研磨一体机美式一键萃取醇萃冰咖手动奶泡系统S3升级版 S5Plus",
"currency": "CNY",
"shop_name": "领袖水准严选小店",
"is_jd_self": false
}Step 4: Verify the JD.com product
This step only confirms brand, title and shop. The price comes from step 5.
{
"platform": "jd",
"action": "product_detail",
"params": {
"item_id": "10223899311178"
}
}Step 5 reuses the same item_id.
{
"item_id": "10223899311178",
"title": "德龙(Delonghi)咖啡机意式家用全自动13档研磨一体机美式一键萃取醇萃冰咖手动奶泡系统S3升级版 S5Plus",
"brand": "德龙(Delonghi)",
"shop_name": "领袖水准严选小店",
"shop_id": "16669839"
}Step 5: Read the JD.com price
{
"platform": "jd",
"action": "product_price",
"params": {
"item_id": "10223899311178"
}
}Put this price next to the Taobao price from step 1.
{
"item_id": "10223899311178",
"url": "https://item.jd.com/10223899311178.html",
"price": 5480,
"currency": "CNY",
"available": true
}Result of this round: the De'Longhi S5 Pro at the Tmall flagship store on Taobao lists at CNY 4,690; the De'Longhi S5Plus at a third-party JD shop lists at CNY 5,480. They are close models from one line, not the same model, so the gap is not a price difference for one product on two sites.
What to do with the data
- Match on brand plus model, not the whole title. Pairs whose models differ go in a separate list marked as close models.
- For each matched pair, store the Taobao
idand the JDitem_id. From then on, call onlyjd/product_priceand the Taobao details each day, storeprice,availableand the fetch time, and chart the price curve. - Taobao's search price and detail price are sometimes different numbers. Always compare prices from the same source; for variant-level comparison, use
skusin the details.
Related pages
FAQ
How much does it cost to compare one product between Taobao and JD.com?
The first five-step round is about $0.028, and Taobao search at $0.0135 is nearly half of it. Once a pair is matched, checking only the Taobao details and the JD price each day costs $0.010056, about $0.30 a month.
Why is there no price in the JD.com product details?
The price field in jd/product_detail is masked, with price_masked set to true. Read JD prices with jd/product_price, which exists for exactly this.
Am I charged if a product is not found or the price lookup fails?
No. Failed requests, invalid parameters and authentication failures are not charged. JD search bills one call per 5 results, and the share for results that did not come back is refunded.
Do I need a Taobao or JD.com account?
Neither. One API key covers both platforms, with no login, no cookies and no scraper or proxy to maintain.
Can Claude or Cursor do the price comparison for me?
Yes. Add https://api.everyinfra.com/mcp to the client's remote MCP settings with an Authorization: Bearer header and your key. The agent can run the five steps above through everyinfra_call_api and list both prices alongside the model differences.
Reference UC-07