# JD.com Scraper - Products, Prices, Shops 京东 (`pshivam/jd-com-scraper`) Actor

Scrape JD.com (京东) products by search text with the real price, shop, review count, good rate and installments. Product page details: brand, barcode, size, stock. Thousands per search.

- **URL**: https://apify.com/pshivam/jd-com-scraper.md
- **Developed by:** [Shivam Prajapati](https://apify.com/pshivam) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 records

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 Scraper - Products, Prices, Barcodes 京东

**Get JD.com (京东) products as clean rows: the real price, shop, review count, good rate, installment offers and, with product page details, brand, model, barcode, size and stock. No login, no API key.** Thousands of products per search. Export to Excel, CSV, JSON or the API.

**Actively maintained.** Last update: 2026-11-14. Every release passes 60+ automated tests on real saved JD pages.

### What can you use it for?

- **Compare prices.** The real price JD shows a visitor, for every product of a search. JD hides it on product pages as `8??9`. This Actor takes it from JD's search, where it is shown in full.
- **Track prices and promotions.** Schedule the same search daily with `onlyNew` and see new products as they appear. `isLowestPrice`, `installmentOffer` and `promoTag` show JD's own badges.
- **Find sellers and brands.** See which shops sell a product, whether JD sells it itself (`isSelfOperated`), review counts, good rates and the tags buyers pick.
- **Match products with your catalogue.** Barcodes (`barcode`), brands, models, sizes and weights from the product pages, ready to join with your own data or with Amazon and Tmall listings.
- **Research a market.** How many products a search holds (`totalResults`), how they are priced, which categories they fall in and how new they are (`listedAt`).
- **Source from China.** Chinese or English search texts, prices in yuan, origin, warranty and stock for Beijing.

### What data can you get?

Give search texts, JD links or product numbers. Every row is one product.

| You give | You get |
|---|---|
| `searchQueries`: a search text such as `手机壳` or `lego` | The products of that search, page after page, until `maxItemsPerSearch` is reached |
| `startUrls`: a JD search link | The same, for that search |
| `startUrls` or `productIds`: a product link or number | That product with all product page details (no price: JD hides it there) |

#### Fields

Rows hold every field. A field that JD does not show for a product is `null`. Fields marked "with product page details" fill in when `includeDetails` is on or the input is a product link or number.

##### Product

| Field | What it is |
|---|---|
| `skuId` | JD's product (SKU) number. |
| `title` | The product title as the search result shows it. |
| `titleFull` | The full product title from the product page (with product page details). |
| `url` | The product page on item.jd.com. |
| `mobileUrl` | The mobile product page on item.m.jd.com. |
| `imageUrl` | The main picture. |
| `images` | All product pictures (with product page details). |
| `price` | The real price in yuan that a visitor without login sees in JD's search. Empty for products read by number: JD hides the price on product pages. |
| `currency` | The currency of price: CNY. |
| `isLowestPrice` | True when JD marks the price as the lowest it has been. |
| `installmentOffer` | The installment offer, for example 6期免息 (6 interest-free installments). |
| `promoTag` | A promotion tag, for example 赠品 (gift included). |
| `sellPoint` | The selling points the shop writes, separated by |. |

##### Reviews

| Field | What it is |
|---|---|
| `reviewCount` | The number of reviews as a floor: JD prints rounded labels such as 2000+, and 2万+ becomes 20000. |
| `reviewCountLabel` | The review count as JD prints it, for example 2000+. |
| `goodRate` | The share of good reviews in percent, for example 98. |
| `reviewTags` | The tags buyers pick most in their reviews, for example 手感一流 (great feel). |
| `recommendReason` | The reasons JD gives for recommending the product, built from the review tags. |

##### Product page details

| Field | What it is |
|---|---|
| `brand` | The brand (with product page details). |
| `brandId` | JD's brand number (with product page details). |
| `model` | The model, for example iPhone 14 Pro (with product page details). |
| `barcode` | The UPC or EAN barcode, to match the product with other catalogues (with product page details). |
| `origin` | The country or region of origin (with product page details). |
| `warranty` | The warranty, for example 1年质保 (1 year) (with product page details). |
| `saleDate` | When the product went on sale (with product page details). |
| `listedAt` | When the product was put on the shelf, from the search result (UTC). |
| `weightKg` | The weight in kilograms (with product page details). |
| `lengthCm` | The length of the package in centimeters (with product page details). |
| `widthCm` | The width of the package in centimeters (with product page details). |
| `heightCm` | The height of the package in centimeters (with product page details). |
| `inStock` | True when JD has the product in stock for its default address, Beijing (with product page details). |
| `stockStatus` | JD's stock word: 现货 (in stock), 有货 (available), 预定 (pre-order) or 无货 (out of stock) (with product page details). |

##### Seller and category

| Field | What it is |
|---|---|
| `isSelfOperated` | True when JD sells the product itself (京东自营) and not a third-party seller. |
| `isThirdParty` | True when the product page says a third-party seller (POP) sells it (with product page details). |
| `isInternational` | True for a JD International (cross-border) product. |
| `shopId` | JD's shop number. |
| `shopName` | The shop's name. |
| `shopUrl` | The shop's page on mall.jd.com. |
| `venderId` | JD's seller (vendor) number. It differs from the shop number for most shops. |
| `categoryId1` | The number of the top category. |
| `categoryId2` | The number of the second category. |
| `categoryId3` | The number of the third category. |
| `spuId` | The number of the product group the SKU belongs to. |

##### Where it came from

| Field | What it is |
|---|---|
| `searchText` | The search text that found the product. Empty for products read by number. |
| `foundVia` | How the Actor reached the product: search, related search <text>, or product link. |
| `page` | The page of the search the product was on. |
| `rank` | The product's position on that page. |
| `totalResults` | How many products JD says the search holds in total. |
| `sourceUrl` | The JD page the product was read from. |
| `scrapedAt` | When the record was collected (UTC). |

#### Example results

Product from a search:

```json
{"skuId": "10217885496415", "title": "Apple/苹果【24期白条免息】苹果iPhone Duo折叠屏支持移动联通电信准新手机 星光色 256GB【全新未激活未使用】 【官方标配】", "url": "https://item.jd.com/10217885496415.html", "imageUrl": "https://img14.360buyimg.com/n1/jfs/t1/541664/19/9747/58736/6ad1cc67F86cd1b25/00833203207aa4dd.jpg", "price": 17679, "currency": "CNY", "isLowestPrice": false, "installmentOffer": null, "promoTag": null, "reviewCount": 1000, "reviewCountLabel": "1000+", "goodRate": 100, "reviewTags": null, "listedAt": "2026-10-15T06:19:54Z", "isSelfOperated": false, "isInternational": false, "shopId": "17100023", "shopName": "京晨买手店", "shopUrl": "https://mall.jd.com/index-17100023.html", "venderId": "19172294", "categoryId1": "13765", "categoryId2": "13767", "categoryId3": "39053", "searchText": "iphone", "foundVia": "search", "page": 1, "rank": 1, "totalResults": 400, "sourceUrl": "https://re.jd.com/search?keyword=iphone", "scrapedAt": "2026-11-14T05:29:40Z"}
```

Product page details (shortened):

```json
{"skuId": "100038004389", "titleFull": "Apple/苹果/苹果 iPhone 14 Pro (A2892) 256GB 暗紫色 支持移动联通电信5G 双卡双待手机", "brand": "Apple", "model": "iPhone 14 Pro", "barcode": "194253403197", "origin": "中国大陆", "warranty": "1年质保", "saleDate": "2024-02-24 22:09:07", "weightKg": 0.377, "lengthCm": 166, "widthCm": 90, "heightCm": 29, "inStock": false, "stockStatus": "无货", "isThirdParty": false, "shopName": "Apple产品京东自营旗舰店", "images": ["https://img14.360buyimg.com/n1/jfs/t1/114685/29/30239/19477/63191dc3E28765f27/d8aae16330834a26.jpg", "https://img14.360buyimg.com/n1/jfs/t1/94898/35/30744/10759/63191dcaEb942eb41/cee02e5cca7918dc.jpg", "https://img14.360buyimg.com/n1/jfs/t1/65814/31/20828/32289/63191dd0E702699e0/2f21b9173694f1e3.jpg"]}
```

### How does it get thousands of products per search?

JD's search lists up to about 160 pages of about 50 products for one text. The Actor reads the pages in parallel waves, skips every product it already has and stops when it has the number you asked for. One search for `手机壳` (phone case) returned 3,651 different products in 36 seconds. With `deepScan` it then follows the related searches JD suggests when you want more.

### Input

| Input | What it does |
|---|---|
| `searchQueries` | Search texts, Chinese or English, one per line |
| `startUrls` | JD search links and product links, one per line |
| `productIds` | JD product numbers, one per line |
| `maxItemsPerSearch` | Stop each search after this many products |
| `deepScan` | Follow JD's related searches when a search has no more pages |
| `includeDetails` | Open each product's page for brand, model, barcode, size, stock and pictures |
| `minPrice`, `maxPrice` | Keep only products inside this price range in yuan |
| `onlyNew` | Skip products that earlier runs of the same input returned |
| `maxItems` | Stop after this many products in total |
| `maxConcurrency` | Pages read at the same time |
| `secondsBetweenRequests` | Pause between requests |

### How much does it cost?

You pay per product. There is no start fee. Product page details cost nothing extra.

| Plan | Price per 1,000 products |
|---|---|
| Free | $1.50 |
| Bronze | $1.35 |
| Silver | $1.20 |
| Gold | $1.05 |

- 100 products cost about $0.15.
- 3,600 products from one search cost about $5.40.
- Use `maxItems` to cap the cost of a run, and `onlyNew` to pay only for new products on scheduled runs.

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/jd-com-scraper").call(run_input={
    "searchQueries": ["iphone 17", "手机壳"],
    "maxItemsPerSearch": 500,
    "includeDetails": False,
})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product["title"], product["price"], product["shopName"])
```

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/jd-com-scraper` and an input like this:

```json
{"searchQueries": ["lego"], "maxItemsPerSearch": 200, "minPrice": 100}
```

#### Watch a search for new products

Schedule the Actor daily with the same input and `onlyNew` turned on. Each run returns only the products that earlier runs did not return.

### Good to know

- **Prices are what a visitor without login sees,** in yuan, before coupons, member prices and subsidies. They change often, especially around big sales.
- **The order of JD's results is JD's own.** JD's search favours promoted products and repeats some of them. The Actor returns each product once. `rank` and `page` tell where it was.
- **JD hides the price on product pages.** Products read by number have no price. Use a search to get it.
- **What a visitor cannot see is not returned:** review texts, variants (colors and sizes with their own prices) and coupons need a JD login. The Actor never logs in.
- **Shop pages are not supported.** JD draws them in the browser, so a plain request gets no product list. Search for the shop's brand or products instead. `shopId` and `shopName` tell which shop sells each product.
- **Stock is for JD's default address, Beijing.** Delivery to other cities may differ.
- **JD can refuse requests.** The Actor waits, slows down and switches to Apify Proxy. If product pages stay refused, the products come back with the search fields and the run message says how many came without product page data.
- **Unknown searches** are named in the run message. They are not returned or charged.
- **Independent tool.** Not affiliated with or endorsed by JD.com. The Actor reads public pages that JD shows to every visitor. Check JD's terms before you redistribute the data.

### FAQ

#### Why do JD product pages show 8??9 and this Actor shows the real price?

JD masks the price on product pages for visitors without login. Its search results show the price in full, and this Actor reads them. Products you ask for by number or link have no price for that reason.

#### Can I scrape more than one page of JD search results?

Yes. The Actor reads every page of a search, up to about 160 pages and around 4,000 different products. Raise `maxItemsPerSearch` to get them.

#### Do I need a JD account or an API key?

No. The Actor never logs in.

#### Can I search in English?

Yes. JD understands English words such as `lego` or `iphone 17`. Chinese texts find more.

#### Can I get barcodes?

Yes. Turn on `includeDetails` and read `barcode`. Not every product has one.

#### How do I get new products only?

Turn on `onlyNew` and run the same input again later. Products that earlier runs returned are skipped and not charged.

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

The Actor reads public pages that JD shows without login. You are responsible for how you use the data. Check JD's terms before you redistribute it.

# Actor input Schema

## `searchQueries` (type: `array`):

What to search for on JD, one per line: Chinese (手机壳) or English (iphone 17, lego). Every text is one search.

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

JD links, one per line: a search page (re.jd.com/search?keyword=..., search.jd.com/Search?keyword=..., so.m.jd.com/...) or a product page (item.jd.com/<number>.html, item.m.jd.com/product/<number>.html, npcitem.jd.hk/<number>.html).

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

JD product (SKU) numbers such as 100038004389, one per line. You get the product page details. JD hides the price on product pages, so these rows have no price. Products found by a search always have it.

## `maxItemsPerSearch` (type: `integer`):

Stop each search after this many products. JD lists up to about 160 pages of about 50 products for one text, around 4,000 different products.

## `deepScan` (type: `boolean`):

When a search has no more pages and you want more products, also read the related searches JD suggests for it (up to 12). Turn it off to read the search's own pages only.

## `includeDetails` (type: `boolean`):

Also open each product's page for the full title, brand, model, barcode, country of origin, warranty, size and weight, stock, all pictures and whether a third-party seller sells it. Slower.

## `minPrice` (type: `number`):

Skip products cheaper than this many yuan. Empty means no limit.

## `maxPrice` (type: `number`):

Skip products more expensive than this many yuan. Empty means no limit.

## `onlyNew` (type: `boolean`):

Skip products that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'jd-com-scraper-only-new'.

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

Stop after this many products in total. You are charged per product.

## `maxConcurrency` (type: `integer`):

How many pages are read in parallel. Raise it for large searches.

## `secondsBetweenRequests` (type: `number`):

Pause between requests. After a refusal the Actor doubles the pause and switches to Apify Proxy when it can.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone 17"
  ],
  "maxItemsPerSearch": 100,
  "deepScan": true,
  "includeDetails": false,
  "onlyNew": false,
  "maxItems": 100,
  "maxConcurrency": 5,
  "secondsBetweenRequests": 0.1
}
```

# Actor output Schema

## `products` (type: `string`):

Products as a table.

## `details` (type: `string`):

Product details as a table.

## `shops` (type: `string`):

Shops as a table.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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 = {
    "searchQueries": [
        "iphone 17"
    ],
    "maxItems": 100
};

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

```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 = {
    "searchQueries": ["iphone 17"],
    "maxItems": 100,
}

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

```bash
echo '{
  "searchQueries": [
    "iphone 17"
  ],
  "maxItems": 100
}' |
apify call pshivam/jd-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pshivam/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/VgnD2XyIj3PQEMYRR/builds/KKWkcDyaCfzMKNEDp/openapi.json
