# JD.com Products Search Scraper (`automation-lab/jd-products-search-scraper`) Actor

Scrape JD.com (京东) products by keyword, shop or SKU: real CNY price, title, shop, self-operated flag, review count, good rate, categories and images. No JD account needed.

- **URL**: https://apify.com/automation-lab/jd-products-search-scraper.md
- **Developed by:** [Automation Lab](https://apify.com/automation-lab) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.30 / 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/running/actors-in-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](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## JD.com Products Search Scraper

Search **JD.com (京东, Jingdong)** by keyword, list every product of a JD shop, or look up SKU ids, and get one clean row per product: the **real CNY price** a signed-out shopper sees, title, shop name and id, the **self-operated (京东自营) flag**, **review count and good rate**, categories, photo and, for shop rows, the product's variants. No JD account, cookies or Chinese reading needed.

Keywords, search addresses, shop addresses, SKU ids and shop ids all work in the same run.

### What does JD.com Products Search Scraper do?

- 🔍 **Keyword search**: type `华为手机`, `iphone 17` or `奶粉` and get up to 5,000 products per keyword, in JD's ranking.
- 🏪 **Shop catalogs**: give a shop id (`1000004259`) or a shop address and get the shop's products, each priced, with the variant SKUs the shop lists.
- 🏷️ **SKU look-ups**: give SKU ids or product addresses and get each product's current price, shop and review summary. Good for daily price checks.
- 💴 **Real prices**: the price comes from JD's public listing data, not the product page that shows a masked price such as `6??9`.
- ✅ **Self-operated flag**: see at a glance whether JD sells the product itself (京东自营) or a third-party seller does.
- ⭐ **Review signals**: review count as a number (`5万+` becomes `50000`) plus JD's own wording, and the good rate in percent.
- 🧹 **Flat English field names**: the columns read the same in any language, ready for a spreadsheet or a database.

### Who is it for?

**China ecommerce sourcing teams**

- Track the JD price of the products you buy or resell, every day, from a list of SKU ids.
- Compare JD self-operated prices with third-party sellers of the same item.

**Competitor price monitoring**

- Re-run the same keywords and shops on a schedule and diff prices and review counts between runs.
- Watch a competitor's JD flagship store and spot new products and price moves.

**Brand and channel managers**

- See which shops sell your brand on JD, at what price, and whether they are authorised flagship stores.
- Follow review counts and good rates of your products against competitors.

**Market researchers and analysts**

- Build a price distribution for a category from a few hundred keyword results.
- Size the share of JD self-operated listings in a niche.

### Why use this JD.com scraper?

- **Three input modes in one Actor**: keywords, shops and SKU ids together, so one scheduled task covers a whole monitoring list.
- **No login**: it reads JD's public listing pages, so there are no cookies to renew and no account to lose.
- **Real CNY prices**: prices are numbers in yuan, ready to sum and compare.
- **Off-topic ads removed**: JD mixes loosely related promoted products into keyword results; rows that share no word with your keyword are skipped and not charged.
- **Pay per product**: you pay for the rows you get, not for compute time or failed pages.

### What data can you extract from JD.com?

| Field | Example | Notes |
|---|---|---|
| `skuId` | `100256825845` | JD SKU id |
| `title` | `HUAWEI Pura X Max 12GB+512GB 零度白` | As JD shows it, in Chinese |
| `price` | `11999` | CNY, signed-out shopper price |
| `currency` | `CNY` | Always yuan |
| `shopName` | `华为京东自营旗舰店` | Shop name |
| `shopId`, `venderId`, `shopUrl` | `1000004259` | Shop and seller ids, shop home page |
| `isSelfOperated` | `true` | Sold by JD itself (京东自营) |
| `reviewsCount`, `reviewsCountText` | `50000`, `5万+` | Number and JD's wording |
| `goodRate` | `99` | Positive reviews, percent |
| `categoryIds`, `categoryName` | `["9987","653","655"]`, `手机` | JD category path |
| `imageUrl` | `https://img14.360buyimg.com/n1/jfs/...jpg` | Main photo |
| `url`, `mobileUrl` | `https://item.jd.com/100256825845.html` | Product pages |
| `promoTag`, `installmentOffer` | `赠品`, `24期免息` | Search badges |
| `isPresale`, `isNewArrival`, `isJdSupermarket`, `isLiveStreaming` | `false` | Status flags |
| `listedAt` | `2026-04-20T13:19:02.000Z` | When the product went on sale |
| `reviewTags` | `["手感一流","时尚美观"]` | Review highlights from search |
| `variants`, `variantCount` | `[{"skuId":"100445476474","name":"开窗器 外开"}]` | Variants listed by a shop |
| `sourceType`, `searchQuery`, `position` | `keyword`, `华为手机`, `1` | Where the row came from |
| `scrapedAt` | `2026-11-12T08:02:58.565Z` | Time of the row |

Which fields are filled depends on the mode:

- **Keyword rows** carry everything JD's search shows: price, shop, self-operated flag, review count and good rate (when JD lists them for that product), promotion and installment badges, review tags and listing date. `categoryName` is null.
- **Shop rows and SKU rows** carry price, shop, self-operated flag, review count, good rate, category ids and category name. Shop rows also carry `variants`. Search-only badges are null.

### How much does it cost to scrape JD.com products?

You pay a small fee per run plus a fee per product row. Off-topic search cards, unknown SKU ids and failed pages are not charged as rows; a finished run that finds no products still pays the run start fee. A run that fails on bad input costs nothing.

| Event | FREE | BRONZE | SILVER | GOLD | PLATINUM | DIAMOND |
|---|---|---|---|---|---|---|
| Run start (once per run) | $0.005 | $0.005 | $0.005 | $0.005 | $0.005 | $0.005 |
| Product (per row) | $0.00162 | $0.00162 | $0.001458 | $0.001296 | $0.001296 | $0.001296 |

Examples on the FREE plan price:

- 50 products of one keyword: $0.005 + 50 × $0.00162 = **$0.086**
- 30 SKU price checks: $0.005 + 30 × $0.00162 = **$0.0536**
- 1,000 products from five keywords: $0.005 + 1,000 × $0.00162 = **$1.625**

Apify's free plan includes $5 of monthly usage, enough for about 3,000 products at the FREE price.

### How to scrape JD.com products

1. Open the Actor and press **Try for free**.
2. Type one or more **Search keywords** (Chinese or English), or paste **JD addresses**, **SKU ids** or **Shop ids**.
3. Set **Max products per keyword or shop** (50 by default).
4. Optionally set a **Minimum price** and **Maximum price** in yuan.
5. Press **Start** and wait; 50 keyword products usually take under a minute.
6. Open the **Products** tab, or download the dataset as JSON, CSV or Excel.

### Input parameters

| Field | Type | Default | What it does |
|---|---|---|---|
| `keywords` | array of strings | `["华为手机"]` (prefill) | Words to search on JD. A 6 to 15 digit number is read as a SKU id. |
| `startUrls` | array of URLs | none | Product pages (`item.jd.com/<id>.html`, `item.m.jd.com/product/<id>.html`), search pages (`search.jd.com/Search?keyword=...`, `re.jd.com/search?keyword=...`) and shop pages (`mall.jd.com/index-<id>.html`, `shop.m.jd.com/shop/home?shopId=...`). |
| `productIds` | array of strings | none | SKU ids, one row each. |
| `shopIds` | array of strings | none | Shop ids, the shop's product list each. |
| `maxItems` | integer | `50` | Products per keyword, search address or shop, up to 5,000. A SKU id always gives one row. |
| `minPrice`, `maxPrice` | integer (CNY) | none | Price range for keyword and shop rows. |
| `shopSort` | string | `default` | Order of a shop's list: `default`, `newest`, `reviews`, `priceAsc`, `priceDesc`. |
| `proxyConfiguration` | object | none | Not needed. The Actor rotates Apify datacenter IPs itself; set your own proxy only if runs are refused. |

Example input mixing all modes:

```json
{
    "keywords": ["华为手机", "lego"],
    "productIds": ["100012043978", "4806379"],
    "shopIds": ["1000004259"],
    "maxItems": 100,
    "minPrice": 100
}
```

### Output example

One keyword row from a `lego` run:

```json
{
    "skuId": "100193567697",
    "url": "https://item.jd.com/100193567697.html",
    "mobileUrl": "https://item.m.jd.com/product/100193567697.html",
    "title": "乐高（LEGO）积木机械组42212 法拉利FXX K赛车男女孩儿童玩具生日礼物赠礼袋",
    "price": 419,
    "currency": "CNY",
    "imageUrl": "https://img14.360buyimg.com/n1/jfs/t1/320624/39/15428/130120/687226dcF7e2820dc/caf16a3c7efe5430.png",
    "shopId": "1000001521",
    "shopName": "乐高京东自营旗舰店",
    "shopUrl": "https://mall.jd.com/index-1000001521.html",
    "venderId": "1000001521",
    "isSelfOperated": true,
    "categoryIds": ["6233", "6275", "6280"],
    "categoryName": null,
    "reviewsCount": null,
    "reviewsCountText": null,
    "goodRate": null,
    "reviewTags": [],
    "promoTag": null,
    "installmentOffer": "3期免息",
    "isPresale": false,
    "isJdSupermarket": true,
    "isNewArrival": false,
    "isLiveStreaming": false,
    "listedAt": "2025-07-14T09:47:53.000Z",
    "variants": [],
    "variantCount": null,
    "sourceType": "keyword",
    "searchQuery": "lego",
    "position": 1,
    "scrapedAt": "2026-11-12T08:14:13.636Z"
}
```

One SKU row:

```json
{
    "skuId": "100012043978",
    "title": "茅台飞天 53%vol 500ml 贵州茅台酒（带杯）【需预约购买】",
    "price": 1699,
    "shopName": "贵州茅台酒京东自营旗舰店",
    "isSelfOperated": true,
    "categoryIds": ["12259", "9435"],
    "categoryName": "白酒",
    "reviewsCount": 2000000,
    "reviewsCountText": "200万+",
    "goodRate": 99,
    "sourceType": "product"
}
```

### What this Actor does not include

- **Brand, model, barcode (UPC/EAN), stock, delivery promise, weight and full variant matrix.** JD only serves these from its signed product-page service, which refuses anonymous traffic. If you need them, this Actor is not the right tool.
- **Individual review texts.** JD shows them to signed-in shoppers only.
- **Coupon-adjusted prices.** `price` is the listed price before checkout coupons.

### Tips and limits

- **Chinese keywords give the widest results.** English words work too: JD matches them against its titles.
- **Keyword results follow JD's own ranking**, which mixes in promoted products. Cards that share no word with your keyword are skipped and not charged, so a run can save fewer rows than `maxItems` when JD runs out of matching products.
- **Price filters are applied to the rows**, so a narrow range on a broad keyword reads more JD pages before it fills `maxItems`.
- **Review counts on keyword rows** are filled when JD's search lists them; for new or rarely bought products they are null.
- **Unknown or delisted SKU ids** are skipped with a log message and not charged as rows (the run start fee still applies).
- **A failing keyword or shop does not stop the run**: the rest goes on and the status message names what failed.

### Integrations and workflow ideas

- **Daily price tracker**: schedule a task with your SKU ids, send the dataset to Google Sheets, and chart `price` per `skuId` over time.
- **New product alert**: run a competitor shop with `shopSort: newest` every morning and post new `skuId`s to Slack through a webhook.
- **Category snapshot**: run 10 keywords of a category once a week and load the rows into BigQuery or Snowflake.
- **Cross-market comparison**: pair this Actor with our Amazon and AliExpress scrapers to compare the same product across marketplaces.

### Use the Actor through the API

cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~jd-products-search-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["华为手机"],"maxItems":50}'
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('automation-lab/jd-products-search-scraper').call({
    keywords: ['华为手机'],
    productIds: ['100012043978'],
    maxItems: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((p) => [p.skuId, p.price, p.shopName]));
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("automation-lab/jd-products-search-scraper").call(
    run_input={"shopIds": ["1000004259"], "maxItems": 100, "shopSort": "newest"}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["skuId"], item["price"], item["title"])
```

### Use it with AI assistants through MCP

Claude Code:

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/jd-products-search-scraper"
```

Claude Desktop, Cursor or VS Code (JSON configuration):

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/jd-products-search-scraper"
        }
    }
}
```

Example prompts:

- "Find the 50 cheapest self-operated listings for 奶粉 on JD and list them with price and good rate."
- "Check today's JD price of SKUs 100012043978 and 4806379."
- "List the newest 30 products of JD shop 1000004259."

Start one run and follow that same run until it finishes: keep the run id, check its status with backoff instead of starting a new run, then read the dataset in pages with `limit`, `offset` and only the fields you need.

### Error reports and your data

When a run or a keyword fails, the Actor sends a sanitized error report to our private GlitchTip error tracker so we can fix it: the error message, the Actor, build and run ids, and your input with secret fields and URL query strings removed. Reports are kept for 30 days and are never shared or used for anything else. No product data is sent.

### Is it legal to scrape JD.com?

This Actor reads only public listing data that JD shows to any visitor without an account: prices, titles, shop names and review summaries. It does not log in, does not read personal data and does not collect review texts. You are responsible for using the data in line with JD's terms, applicable laws (including China's data rules and the GDPR where relevant) and fair competition. Do not use it to collect personal data or to overload JD's servers.

### FAQ

**Why is `price` sometimes different from what I see on JD?**
`price` is the listed price for a signed-out shopper. JD can show a different price to a signed-in member, in another region, or after coupons at checkout.

**Why did a keyword return fewer rows than `maxItems`?**
JD ranks promoted products into keyword results. Rows that share no word with your keyword, or fall outside your price range, are skipped and not charged. Try a broader keyword or a wider price range.

**Why are review counts null for some keyword rows?**
JD's search does not list a review count for every product. SKU and shop rows read it from another JD page and are usually filled.

**A shop id returned an error. What now?**
Check that the number comes from `mall.jd.com/index-<id>.html`. The seller (vendor) id is a different number and does not open the shop.

**Can I get brand, barcode or stock?**
No. JD serves these only to its signed product-page service; see "What this Actor does not include".

### Related scrapers

- [JD.com Scraper](https://apify.com/automation-lab/jd-scraper): JD product pages with your own cookies.
- [Amazon Product Scraper](https://apify.com/automation-lab/amazon-scraper): Amazon products and prices.
- [AliExpress Products Scraper](https://apify.com/automation-lab/aliexpress-products-scraper): AliExpress listings for cross-market price checks.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/jd-products-search-scraper/changelog.md

# Actor input Schema

## `keywords` (type: `array`):

Words to search on JD, one search per line, in Chinese or English (华为手机, iphone 17, 奶粉). A 6 to 15 digit number is read as a SKU id.

## `startUrls` (type: `array`):

JD product pages (item.jd.com/100320690657.html, item.m.jd.com/product/…), search pages (search.jd.com/Search?keyword=…, re.jd.com/search?keyword=…) and shop pages (mall.jd.com/index-1000004259.html, shop.m.jd.com/shop/home?shopId=…). Other addresses are skipped with a log message.

## `productIds` (type: `array`):

JD SKU ids, the number in item.jd.com/<id>.html. One row each with the live price.

## `shopIds` (type: `array`):

JD shop ids, the number in mall.jd.com/index-<id>.html. Each lists the shop's products.

## `maxItems` (type: `integer`):

Products saved per keyword, search address or shop. A SKU id or product address always gives one row.

## `minPrice` (type: `integer`):

Keep keyword and shop products at or above this price in yuan.

## `maxPrice` (type: `integer`):

Keep keyword and shop products at or below this price in yuan.

## `shopSort` (type: `string`):

Order of a shop's product list. Keyword results keep JD's own ranking.

## `proxyConfiguration` (type: `object`):

Optional. By default the Actor rotates Apify datacenter IPs, because JD throttles one IP after a few dozen pages. Set your own proxy only if runs are refused.

## Actor input object example

```json
{
  "keywords": [
    "华为手机"
  ],
  "maxItems": 20,
  "shopSort": "default"
}
```

# Actor output Schema

## `overview` (type: `string`):

All product rows of the run in the Products table view.

# 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

```javascript
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": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/jd-products-search-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

```python
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": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/jd-products-search-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

```bash
echo '{
  "keywords": [
    "华为手机"
  ],
  "maxItems": 20
}' |
apify call automation-lab/jd-products-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation-lab/jd-products-search-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/AdBfS4hPgQuzzlu11/builds/f6BalOB2IXMsJpXnD/openapi.json
