JD.com Scraper: Prices, Review Counts & Ratings (Apify Actor)
Thu thập kết quả tìm kiếm trên JD.com theo từ khóa hoặc tra cứu liên kết sản phẩm và SKU: giá bằng CNY, cửa hàng, cờ tự vận hành, số lượng đánh giá, tỷ lệ đánh giá tốt %, hình ảnh và danh mục. Hữu ích cho việc nghiên cứu giá tại Trung Quốc và kiểm tra đối thủ cạnh tranh. Không cần đăng nhập hoặc cookie. Xuất JSON hoặc CSV. Giá: 2 USD cho mỗi 1.000 sản phẩm, cộng thêm 0,005 USD cho mỗi lần bắt đầu chạy. Chạy dưới dạng Apify Actor, có thể được gọi từ các ứng dụng khách MCP thông qua máy chủ Apify MCP (https://mcp.apify.com/?tools=cliqtomedia/jd-com-scraper).
Máy chủ MCP được lưu trữ
npx add-mcp 'https://mcp.apify.com/?tools=cliqtomedia/jd-com-scraper'Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác
Tài liệu
JD.com Scraper: Prices, Review Counts & Ratings, No Login (cliqtomedia/jd-com-scraper) Actor
Scrape JD.com (京东) by keyword, product link or shop: price in CNY, shop, self-operated flag, review count, good rate %, barcode, variants, package size and delivery. Price filter, no login or cookies, pay per product row.
- URL: https://apify.com/cliqtomedia/jd-com-scraper.md
- Developed by: Cliqto Media (community)
- Categories: E-commerce
- Features: Limited permissions
- Stats: 7 total users, 0 monthly users, 87.0% runs succeeded, 0 bookmarks
- User rating: No ratings yet
Pricing
from $1.40 / 1,000 products
This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events. Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.
Learn more: https://docs.apify.com/actors/store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.
For examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
Scrape JD.com (京东) products by keyword, product link or shop: one row per product with price in CNY, shop, 自营 (JD self-operated) flag, review count, good rate in percent, and, from the product page, brand, model, barcode, variants, package size and delivery promise. No JD login, no cookies, no API key.
Use it for price research on the Chinese market, brand and competitor tracking on JD, shop catalog checks and product data for cross-border trade. The prefilled search (手机, 10 products) finishes in a few seconds and costs $0.025 on the Free plan.

Table of contents
- What it does
- How it works
- Quick start
- Use cases
- Input
- Output
- Pricing
- Limits
- API, export and integrations
- Troubleshooting
- FAQ
- Related Actors
- Support
What it does
The Actor reads public JD.com pages in three modes. Any JD link in Start URLs works in every mode: product, search and shop links are each read by their own type.
- Search (
mode: "search") — for each keyword, it reads JD's public search results (京东热卖, re.jd.com) page by page. One row per product: price, shop, self-operated flag, review count (5万+) and the same as a number (50000), good rate (99= 99% positive), main image, category IDs and the position in the results. Turn on includeDetails to also read each product page (brand, model, barcode, variants, size). - Product (
mode: "product") — for each JD product link or SKU number, it reads the public mobile product page: title, brand, model, barcode (UPC/EAN), color and size, all variants, weight and package size, stock, delivery promise and 7-day return. Then it looks for the same SKU in JD search to add the price, review count and good rate. JD Worldwide (京东国际, jd.hk) products work too. - Shop (
mode: "shop") — for each JD shop ID or shop link (mall.jd.com/index-…, a brand domain such as huawei.jd.com), it reads the shop's public product catalog and returns each product like Product mode.
Filters for Search and Shop modes: minPrice / maxPrice (CNY) and selfOperatedOnly. Product mode returns every product you list. Products skipped by a filter are not saved and not charged.
Every row has status, error, a link and fetchedAt, so you can filter, sort and join rows in the Dataset, a spreadsheet or by API.
Good fit
- Find products by Chinese keyword and compare price, shop and review numbers.
- Track prices of the same keywords or SKUs over time (run on a schedule and compare by
skuId). - List a JD shop's catalog with brand, model, barcode and package size.
- Match JD products to your catalog by barcode (
upc) or model.
How it works
- The Actor reads public JD pages without an account: search results for your keywords, product pages for your SKUs, or a shop's catalog.
- It finds the price of each product in JD's public search, applies your price and self-operated filters, and stops at your limit per keyword or shop.
- It saves one Dataset row per product with a status, plus a run summary in the Key-value store (
RUN_SUMMARY): what was found, what was skipped and why.
Quick start
-
Open the Input tab. Keep Mode =
Search by keyword(box 1 in the picture). -
Keep the prefilled keyword
手机in Keywords or type your own; Chinese works best (box 2). -
Keep Max products per keyword or shop = 10 (prefill) or raise it (box 3).
-
Click Start at the bottom of the form.
-
Open the Output tab, view Products, and check
price,commentsCountandgoodRate(box 5 in the table below).
Expected result: 10 rows with status complete, one per product, in JD search order.
For product links, set Mode = Look up product URLs / SKUs and add links or SKU numbers to Product URLs or SKUs. For a shop, set Mode = Scrape JD shops and add the shop ID or link to Shop IDs or shop links.
Use cases
| Buyer job | Input path | Output entity | Key fields | Next integration |
|---|---|---|---|---|
| Price research on JD | keywords (+ minPrice / maxPrice) | product | price, shop, selfOperated | Google Sheets, CSV |
| Popularity and rating check | keywords or productUrls | product | commentsCountMin, goodRate | spreadsheet, BI |
| Price tracking | keywords or productUrls + schedule | product | skuId, price, fetchedAt | Dataset API, webhooks |
| Shop catalog | shopIds (mode shop) | product | title, model, upc, price | your catalog |
| Match by barcode | productUrls or includeDetails | product | upc, model, brand, weightKg | your catalog |
Input
Input fields
| Field | Plain name | Type | Required | Default / prefill | Allowed values | Effect | Example | Recommendation |
|---|---|---|---|---|---|---|---|---|
mode | Mode | string | no | default search | search, product, shop | What to collect | "shop" | product for known SKUs, shop for a shop catalog |
keywords | Keywords | array of strings | in search mode | prefill ["手机"] | 1–20 keywords, up to 100 characters each | One search per keyword | ["笔记本电脑", "耳机"] | Chinese words give the best results |
productUrls | Product URLs or SKUs | array of strings | in product mode | — | up to 50 item.jd.com, item.m.jd.com, jd.hk links or SKU numbers | Products to look up | ["100309589315"] | Wrong entries become free error rows |
shopIds | Shop IDs or shop links | array of strings | in shop mode | — | up to 10 shop IDs, mall.jd.com/index-… links or brand domains | Shops whose catalog to read | ["1000004259"] | The shop ID is the number in mall.jd.com/index-1000004259.html |
startUrls | Start URLs | array of strings or {url} | no | — | up to 100 JD product, search or shop links | Each link is read by its type, in any mode | ["https://search.jd.com/Search?keyword=耳机&ev=exprice_100-300"] | A search link with ev=exprice_A-B sets the price filter for that link |
maxItems | Max products per keyword or shop | integer | no | default and prefill 10 | 1–1000 | Most products per keyword or shop | 200 | JD search gives about 150–200 per keyword |
minPrice | Min price (CNY) | integer | no | — | 0 or more | Skip cheaper products | 1000 | Products without a found price are skipped while a price filter is on |
maxPrice | Max price (CNY) | integer | no | — | 0 or more | Skip more expensive products | 3000 | Must be at least minPrice |
selfOperatedOnly | Only JD self-operated (京东自营) | boolean | no | default false | true, false | Keep only products sold by JD itself | true | |
includeDetails | Add product page details in Search mode | boolean | no | default false | true, false | Reads each product page in Search mode | true | Slower: one more page per product. Product and Shop modes always read it |
proxyConfiguration | Proxy | object | no | {"useApifyProxy": true} | Apify Proxy settings | Proxy for JD requests | {"useApifyProxy": true} | Keep the default |
deliveryConnector | Send results to (optional) | MCP connector | no | — | your Slack, Notion or other connector | Posts a short summary after the run | — | See Send results to Slack or Notion |
deliveryTarget | Notion page or channel (optional) | string | no | — | Notion page link or Slack channel ID | Where the summary goes | — |
Empty input in the selected mode, or input where no keyword or link is valid, ends the run at once with a message that names the field and gives an example: nothing is read or charged except the start fee, and RUN_SUMMARY has status: invalid_input with inputErrors. Extra spaces are removed and duplicates are read once. Names used by other JD scrapers are understood too: query, searchTerms → keywords; productIds, skuIds → productUrls; urls → startUrls; maxResults, limit → maxItems. Our own field wins when both are set. Unknown fields are listed in RUN_SUMMARY.ignoredInputFields.
Interacting settings
| When | Input A | Input B | Effective behavior | Example | Cost/result effect |
|---|---|---|---|---|---|
| Links in Start URLs | startUrls | mode | Each link is read by its own type, together with the fields of the selected mode | a shop link in Search mode | One row per product found |
| Search mode | mode = search | productUrls, shopIds | These lists are ignored | — | None |
| Price filter | minPrice / maxPrice | maxItems | maxItems counts saved products, so the Actor reads further pages to fill it | maxItems: 10, minPrice: 5000 | Skipped products are free |
| Run-wide limit | Console Max items (run option) | maxItems | The run stops when the total saved rows reach Max items; maxItems stays per keyword or shop | Max items 2, maxItems: 10 | 2 rows, RUN_SUMMARY.limitReached: "MAX_ITEMS" |
| Same SKU twice | productUrls | startUrls | Read once | ["100309589315", "https://item.jd.com/100309589315.html"] | Charged once |
Input examples
Search products by keyword
{
"mode": "search",
"keywords": ["手机"],
"maxItems": 10
}
Expected behavior: reads the first JD search results page for 手机.
Expected output: 10 product rows with price, shop, commentsCount, goodRate.
Limit or cost note: a few seconds, $0.025 on the Free plan.
Look up products by link or SKU
{
"mode": "product",
"productUrls": [
"https://item.jd.com/100296149414.html",
"100309589315"
]
}
Expected behavior: reads each product page, then looks for the SKU in JD search to add the price.
Expected output: one row per product with title, brand, model, upc, variants, weightKg, and price when found.
Limit or cost note: 20 SKUs took 57–89 seconds in our tests; not_found and error rows are free.
Read a shop catalog with a price filter
{
"mode": "shop",
"shopIds": ["1000471041"],
"maxItems": 20,
"minPrice": 2000
}
Expected behavior: lists the shop's products and reads each product page; products cheaper than 2,000 CNY or without a found price are skipped. Expected output: up to 20 product rows from this shop. Limit or cost note: about 6–10 seconds per product row in our tests (10 rows in 60–98 seconds).
Output
The Dataset has two views: Products (price, shop, reviews) and Product details (brand, model, barcode, variants, size, delivery). The run summary is in the Key-value store record RUN_SUMMARY.
Output fields
| Field | Meaning | Type | Can be empty? | Example / enum | Source / notes |
|---|---|---|---|---|---|
skuId | JD SKU number | string | on error rows | "100296149414" | |
title | Product title | string | on not_found / error | "摩托罗拉 联想moto g100s …" | As on JD, in Chinese |
price | Price | number | yes | 1116 | In CNY; null = JD search did not show this SKU's price |
variantPrice, variantPriceSkuId | Price of another color or size of the same product | number, string | yes | 5999, "10235322953011" | Only when price is null and JD search shows another variant instead |
currency | Currency | string | no | "CNY" | Always CNY |
shop, shopId, venderId | Shop name and IDs | string | yes | "联想moto手机京东自营旗舰店" | |
selfOperated | Sold by JD itself (京东自营) | boolean | yes | true | From JD search; in Product mode without a price, from 自营 in the shop name |
brand, brandId | Brand | string | in search mode without details | "摩托罗拉(Motorola)" | Product page |
model | Model name | string | yes | "moto g100s" | Product page |
upc | Barcode (EAN/UPC) | string | yes | "6978376531906;6978376531920" | Several barcodes are joined with ; |
color, size, spec | This SKU's variant values | string | yes | "陨黑", "8GB+256GB" | Product page |
variantAttributes, variants, variantCount | Variant axes and all variants with their SKUs | array, integer | empty | 4 | Product page |
weightKg, lengthMm, widthMm, heightMm | Package weight and size | number | yes | 0.46, 172 | Product page |
deliveryPromise | Delivery promise as JD shows it | string | yes | "预计今天送达" | For a visitor without an address, in Chinese |
sevenDayReturn | 7-day no-reason return | boolean | yes | true | Product page |
inStock | In stock | boolean | yes | true | Product page |
commentsCount | Review count as JD shows it | string | yes | "2万+" | 万 = 10,000 |
commentsCountMin | Review count as a number | integer | yes | 20000 | Lower bound: "2万+" → 20000 |
goodRate | Positive reviews, percent | integer | yes | 98 | null = no reviews yet (often new products) |
url, mobileUrl | Product page, desktop and mobile | string | no | "https://item.jd.com/100296149414.html" | |
image, images | Main image, all images | string, array | yes / empty | image URLs | Search without details: 1 image |
categoryIds | JD category IDs, level 1–3 | array | empty | ["9987", "653", "655"] | |
keyword, position, totalResults | Keyword, position in results, results JD reports | string, integer, integer | outside search | "手机", 1, 7680 | Search mode |
input | Your input entry (SKU, link or shop) | string | in search mode | "100296149414" | Product and Shop modes |
mode | Where the row came from | string | no | "search", "product", "shop" | |
status | Row status | string | no | complete, partial, not_found, error | See below |
error, detailsError | What is missing and why | string | yes | null | Empty on complete rows |
fetchedAt | When the row was read | string | no | "2026-11-26T01:47:03.090Z" | ISO 8601, UTC |
Output entities and surfaces
| Situation | Dataset/API/KVS/live view | Result shape | User action |
|---|---|---|---|
| Normal item | Dataset, views Products and Product details | one row per product, status: complete | Open, export or use the fields |
| Price not found (product or shop mode) | Dataset | status: partial, price: null, error explains; variantPrice when another variant's price was found | Use the other fields, or search by keyword |
| SKU does not exist | Dataset | status: not_found, free | Check the number |
| Wrong link | Dataset | status: error, skuId: null, free | Fix the link |
| Keyword or shop without products | RUN_SUMMARY.targets | no rows, target not_found | Try other words or check the shop ID |
| Stopped at a limit | RUN_SUMMARY | limitReached (MAX_ITEMS) or reason (CHARGE_LIMIT, DEADLINE, FILTER_LIMIT), unprocessed lists the inputs not read | Run the unprocessed inputs again |
| Input cannot be used | RUN_SUMMARY.status: invalid_input | no rows, inputErrors name the field and the value | Fix the field and run again |
| JD blocks or fails | RUN_SUMMARY.reason: SOURCE_ERROR | rows saved before the failure stay | Run again later |
Output example
Product mode, one row (images and variants trimmed):
{
"skuId": "100296149414",
"title": "摩托罗拉 联想moto g100s 高刷LCD护眼屏手机 7000mAh大电池 四年质保 8+256 陨黑",
"price": 1116,
"variantPrice": null,
"variantPriceSkuId": null,
"currency": "CNY",
"shop": "联想moto手机京东自营旗舰店",
"shopId": "1000004082",
"selfOperated": true,
"brand": "摩托罗拉(Motorola)",
"commentsCount": "2万+",
"commentsCountMin": 20000,
"goodRate": 98,
"url": "https://item.jd.com/100296149414.html",
"mobileUrl": "https://item.m.jd.com/product/100296149414.html",
"image": "https://img14.360buyimg.com/n0/jfs/t1/590227/25/2792/206745/6b02f125Fa6ffa54b/00835a05a0bfd601.jpg",
"images": ["https://img14.360buyimg.com/n0/jfs/t1/590227/25/2792/206745/6b02f125Fa6ffa54b/00835a05a0bfd601.jpg"],
"categoryIds": ["9987", "653", "655"],
"inStock": true,
"keyword": null,
"position": null,
"totalResults": null,
"input": "100296149414",
"mode": "product",
"status": "complete",
"error": null,
"fetchedAt": "2026-11-26T01:47:03.090Z",
"upc": "6978376531906;6978376531920",
"model": "moto g100s",
"brandId": "13066",
"venderId": "1000004082",
"color": "陨黑",
"size": "8GB+256GB",
"spec": null,
"variantAttributes": ["外观", "存储容量", "套餐"],
"variants": [{ "skuId": "100296149414", "color": "陨黑", "size": "8GB+256GB", "spec": null }],
"variantCount": 4,
"weightKg": 0.46,
"lengthMm": 172,
"widthMm": 85,
"heightMm": 61,
"deliveryPromise": "11:10前付款,预计今天(11月26日)送达",
"sevenDayReturn": true,
"detailsError": null
}
null means JD did not show this value; it is not 0. goodRate: null means "no reviews yet", not "0% positive". In Search mode without includeDetails, the product page fields (brand, model, upc, variants, sizes, delivery) are null or empty.
Send results to Slack or Notion
Pick your connector in the optional deliveryConnector field. After the run saves its data, the Actor posts a short summary (up to 25 rows and a link to the full dataset) there. Put a Notion page link or a Slack channel ID in deliveryTarget: in Notion every run is added on top of that one page, so your workspace does not fill up with new pages. Without a page link, Notion delivery is skipped and the log says so. A delivery error never fails the run and costs nothing extra. Connect a service once in Apify Console → MCP connectors.
Use case → fields
| Buyer job | Input path | Output entity | Key fields | Next integration |
|---|---|---|---|---|
| Compare prices | keywords | product | price, shop, selfOperated | spreadsheet |
| Rank by popularity | keywords | product | commentsCountMin, goodRate, position | BI |
| Catalog enrichment | productUrls, shopIds | product | brand, model, upc, weightKg | your catalog |
| Daily price watch | productUrls + schedule | product | skuId, price, fetchedAt | Slack or Notion summary, webhooks |
Pricing
Pricing unit
Pay per event. You pay for:
- Actor start — $0.005 per run. The start fee scales with run memory: Apify counts one start per GB, at least one; the default 256 MB is one start.
- product — each saved
completeorpartialproduct row.
| Event | Free | Bronze | Silver | Gold and higher |
|---|---|---|---|---|
| Actor start | $0.005 | $0.005 | $0.005 | $0.005 |
| product | $0.002 | $0.0018 | $0.0016 | $0.0014 |
That is $2.00 per 1,000 products on the Free plan. Platform usage (compute, proxy) is included. Keywords or shops with no products, products skipped by your filters, not_found and error rows are free: a run that saves no products costs only the start fee. If a run fails, you pay only for the rows it saved. The run stops when it reaches your maximum charge and says so in RUN_SUMMARY (reason: CHARGE_LIMIT). Product details (includeDetails) cost nothing extra.
Cost examples
Free plan prices.
| Scenario | Input scope | Rows | Base charge | Optional charge | Stop/cap behavior |
|---|---|---|---|---|---|
| Prefill | 1 keyword, 10 products | 10 | $0.025 | none | a few seconds |
| Normal search | 3 keywords × 50 products | 150 | $0.305 | none | |
| All products for a keyword | 1 keyword × 1000 | about 180 | about $0.365 | none | JD gives about 150–200 |
| Product lookup | 50 SKUs | 50 | $0.105 | none | not_found and wrong links free |
| Shop catalog | 1 shop × 10 products | 10 | $0.025 | none | 60–98 seconds |
| Nothing found | 1 keyword with no products | 0 | $0.005 | none | start fee only |
Limits
- Up to 20 keywords, 50 products (product links and SKUs in both fields together), 10 shops and 100 Start URLs per run; up to 1,000 products per keyword or shop. Larger lists stop the run at the start with a message; split them into several runs.
- Two limits work together:
maxItemsis per keyword or shop; the Max items run option in Console (ormaxItemsin the API run options) caps all saved rows of the run. - JD's public search lists about 150–200 products per keyword; later pages repeat. For more products, add more specific keywords (
华为手机,小米手机). - Prices come from JD's public search: JD hides prices on product pages without a login. In our tests the price was found for 17 of 20 products in Product mode. In Shop mode it was found for about half of the products of ordinary shops, plus a variant price for some more, and for none of JD's own Huawei flagship shop, whose products do not appear in public search.
- No review texts, no seller ratings, no category browsing, no sorting. JD shows review texts only to signed-in buyers.
- The Actor stops on its own 30 seconds before the run timeout (75 seconds when
deliveryConnectoris set) and keeps saved rows (reason: DEADLINE,unprocessedlists what was not read). The default run timeout is 300 seconds; raise it in the run options for long product or shop lists. - Measured: 10 products from search in a few seconds; 20 product links with details in 57–89 seconds; 3 shops × 10 products in 165 seconds; 20 keywords × 1,000 → 3,101 rows in 165 seconds (each keyword ends at the 150–200 products JD search lists). With a small proxy group of your own, set a longer timeout: the same run on 3 IPs saved 2,195 rows in 270 seconds before the deadline.
- With
minPrice,maxPriceorselfOperatedOnly, the run stops early when the filters skip almost everything: after about 100 requests or 60 seconds of reading, plus 20 requests or 10 seconds per saved product (reason: FILTER_LIMIT). Product mode is never stopped this way. Widen the filters or use more specific keywords. - Prices are the ones JD shows to a visitor without an account (no member, coupon or app-only prices). The order of results can differ from the JD app.
API, export and integrations
- API: start the Actor with the Apify API and read the Dataset items as JSON, CSV or Excel.
- Export: the Output tab exports JSON, CSV, Excel, XML and RSS.
- Scheduling: run the same keywords or SKUs daily with Apify Schedules and compare
pricebyskuIdandfetchedAt. - Webhooks / no-code: send results to Google Sheets, Make or Zapier through Apify integrations, or get a summary in Slack or Notion with
deliveryConnector.
Use with AI agents (MCP)
- MCP server with only this Actor:
https://mcp.apify.com?tools=cliqtomedia/jd-com-scraper - Smallest input:
{ "keywords": ["手机"], "maxItems": 10 }
- Key output fields:
title,price(CNY),shop,commentsCountMin,goodRate,url; with details alsomodelandupc. - 10 products from search take a few seconds and cost $0.025. Product and shop rows take a few seconds each. Keep
maxItemssmall for quick answers; JD gives at most about 200 products per keyword.
Troubleshooting
Fewer products than maxItems
Symptom: a keyword returns 150–200 rows when you asked for 1,000.
Likely reason: JD's public search lists only about 150–200 products per keyword. The run message says how many keywords ran out.
Check: RUN_SUMMARY.targets and the run message.
Action: add more specific keywords (brand + product, for example 华为手机).
price is null in Product or Shop mode
Symptom: a row with status: partial and an error that starts with "Price not found" or "Exact price not found".
Likely reason: JD hides prices on product pages without a login, and this SKU did not appear in JD search for its title or model. JD search often shows one color or size of a product; then variantPrice has that variant's price.
Check: the error text and variantPrice.
Action: use the other fields, or search by a keyword that finds the product.
The run stopped with unprocessed inputs
Symptom: RUN_SUMMARY.reason: DEADLINE or FILTER_LIMIT, or limitReached: MAX_ITEMS, and a list in unprocessed.
Likely reason: the run reached its timeout or the run-wide Max items, or your price or self-operated filter skipped almost every product it read (FILTER_LIMIT).
Check: the run message says how many inputs were not read.
Action: run the unprocessed inputs again, or raise the timeout or Max items; for FILTER_LIMIT, widen minPrice/maxPrice or use keywords that match the filter.
The run finished with no results and an input error message
Symptom: the run succeeded, the Dataset is empty and the run message starts with "Invalid input".
Likely reason: a required field is empty, no keyword or link is a valid JD one, there are more than 50 products per run, or your own proxy settings could not be used.
Check: RUN_SUMMARY.status: invalid_input and RUN_SUMMARY.inputErrors (the field, the value and what is wrong).
Action: fix that field as the message shows and run again. Only the start fee is charged.
The run failed with SOURCE_ERROR
Symptom: RUN_SUMMARY.reason: SOURCE_ERROR.
Likely reason: JD sent a verification page for some requests, or did not answer after several tries with new proxy IPs. The Actor tries failed keywords and SKUs once more at the end of the run.
Check: saved rows are in the Dataset and charged; inputs JD did not answer have status: error and are free. RUN_SUMMARY.targets[].error names the JD page and its size when JD answered with a page the Actor did not recognize.
Action: run only those inputs again a bit later. This is a failure, not an empty result.
FAQ
Do I need a JD account, cookies or API key?
No. The Actor reads public JD pages without a login. It does not solve captchas or log in.
How do I find a shop ID?
Open the shop on JD. The number in mall.jd.com/index-1000004259.html is the shop ID; shopId in any product row of that shop is the same. You can also paste the shop link or a brand domain such as huawei.jd.com.
Can I get review texts?
Not in this Actor. JD shows review texts only after a login. You get the review count and good rate.
Why are the prices different from the JD app?
The Actor sees the price JD shows to a visitor without an account. Member prices, coupons and app-only offers are not included.
Are the results complete and fresh?
The rows show what JD's public pages show at fetchedAt. JD changes order and prices often. The Actor does not promise every product for a keyword or every price.
Related Actors
- AliExpress Scraper: Products, Prices & Reviews, No Login — compare JD prices with AliExpress products and reviews.
- Alibaba Scraper: Products, Suppliers & Prices, No Login — find wholesale suppliers for the same products.
- Historical Exchange Rates & Currency Converter (ECB) — convert CNY prices to your currency for a given date.
- Google Autocomplete Scraper: Keyword Suggestions — find product keywords to use in
keywords. - Website JSON-LD Structured Data Scraper: Schema.org Objects — read product prices from other online stores.
Support
For a bug, question or feature request, open the Issues tab of this Actor on Apify. Add the run ID, the input mode and the error or RUN_SUMMARY message. Never send tokens, cookies or passwords.
⭐ Found it useful? Rate this Actor. Something wrong? Report a problem — we fix reported problems.
Changelog
This Actor's version history is a separate document: https://apify.com/cliqtomedia/jd-com-scraper/changelog.md
Actor input Schema
mode (type: string):
Search: products for keywords. Product: details for JD product URLs or SKU numbers. Shop: products of JD shops. Links in "Start URLs" run in any mode.
keywords (type: array):
Search words, Chinese works best (for example 手机, 笔记本电脑, 耳机). Up to 20 per run. Used in Search mode only.
productUrls (type: array):
JD product links (https://item.jd.com/100292929859.html, item.m.jd.com or JD Worldwide jd.hk links) or bare SKU numbers. Up to 50 per run. Product rows always include barcode, model, variants and package size.
shopIds (type: array):
JD shop IDs (1000004259) or shop links (https://mall.jd.com/index-1000004259.html, brand domains like https://huawei.jd.com). Up to 10 per run; "Max products" applies per shop.
startUrls (type: array):
Any JD links, mixed: product pages, search results (search.jd.com or re.jd.com with keyword; a price filter in the link is applied) and shop pages. Up to 100 per run.
maxItems (type: integer):
How many products to save for each keyword, search link or shop. JD public search lists about 150-200 products per keyword. Each saved product is one billable result. The run option "Max items" (if set) limits the whole run on top of this.
minPrice (type: integer):
Keep only products priced at or above this, in yuan. Search and Shop results only. Skipped products are not saved and not charged; products without a public price are skipped when a price filter is set.
maxPrice (type: integer):
Keep only products priced at or below this, in yuan. Search and Shop results only; skipped products are not charged.
selfOperatedOnly (type: boolean):
Keep only products sold by JD itself. Search and Shop results only; skipped products are not charged.
includeDetails (type: boolean):
Also read each product page: barcode (UPC/EAN), model, color and size variants, weight, package size, delivery promise and 7-day return. Slower (one more page per product); same price per row. Product and Shop rows always include these details.
proxyConfiguration (type: object):
Apify datacenter proxy works for JD's public pages. Leave the default unless you see blocks.
deliveryConnector (type: string):
Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors.
deliveryTarget (type: string):
Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why.
Actor input object example
{
"mode": "search",
"keywords": [
"手机"
],
"maxItems": 10,
"selfOperatedOnly": false,
"includeDetails": false,
"proxyConfiguration": {
"useApifyProxy": true
}
}
Actor output Schema
products (type: string):
Product rows as a table.
details (type: string):
Barcode, model, variants and package size as a table.
runSummary (type: string):
Status, counts per keyword, shop or product, limits reached, unprocessed inputs, request statistics.
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"keywords": [
"手机"
],
"maxItems": 10,
"proxyConfiguration": {
"useApifyProxy": true
}
};
// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/jd-com-scraper").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"keywords": ["手机"],
"maxItems": 10,
"proxyConfiguration": { "useApifyProxy": True },
}
# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/jd-com-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{
"keywords": [
"手机"
],
"maxItems": 10,
"proxyConfiguration": {
"useApifyProxy": true
}
}' |
apify call cliqtomedia/jd-com-scraper --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/jd-com-scraper"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/DKft2XSKUqhyzujLF/builds/C79gGxwjNPyershkR/openapi.json

