# JD.com Scraper — Prices, Stock, SKUs, Reviews (京东) (`apimy/jd-products-scraper`) Actor

JD.com (京东, Jingdong) scraper, no login: search by keyword and get products with live CNY price, shop and availability. Full item cards add specs: brand, model, weight, origin, variants and stock per SKU; also reviews. Typical run: one keyword, up to 20 products, in about 30 seconds.

- **URL**: https://apify.com/apimy/jd-products-scraper.md
- **Developed by:** [Nikita Iakovlev](https://apify.com/apimy) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 34 total users, 14 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.80 / 1,000 search 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 (京东) product data with no login and no proxy of your own: keyword search results with live CNY prices and shop names, the real price and availability of any item, one row per SKU with its own stock and delivery promise, the latest reviews and the products of a JD shop.

### What you get

| Mode | One row is | Key fields |
|---|---|---|
| **Search** | a product from JD search for your keyword | item id, title, price (CNY), shop, JD self-operated flag, good-rate %, promotion, selling point, category ids, position |
| **Items → price** | the live price of an item | price, currency, available, reason when unavailable |
| **Items → full card** | price plus the product card | brand, model, weight as printed, stock, stock state, variants, UPC, origin, warranty, JD Express flag, images |
| **SKUs** | one variant of an item | variant name and properties, price, in stock, stock count, stock state, delivery promise, presale and subsidy flags, promo tags |
| **Reviews** | one review | rating, text, follow-up text, date, variant bought, repeat-purchase count, helpful votes, photos |
| **Shop** | a product of a JD shop | item id, title, price, available |

Measured on 08 November 2026, keyword 冻干狗粮 (freeze-dried dog food): 7 unique products from 2 search requests, prices ¥238.9–¥1,538.8. Item 100069941041 (京东京造 freeze-dried dog food): price ¥269, stock 681, weight 10.32kg, 18 variants; latest review dated 2026-11-08.

### Honest limits

- **Search returns 5 products per request and has no page 2.** Repeating the request returns partly different products, so "Search repeats" collects more, and the Actor stops repeating once repeats stop bringing new products. Don't expect hundreds of products per keyword: 4 repeats usually give 15–20.
- **The product page often masks its price** (`5??9`). The price in our rows comes from JD's price endpoint, not from the masked page. The masked text is kept in `pagePriceDisplay` / `pagePriceMasked` on full cards.
- **Stock is a snapshot**, taken when the request ran. JD's stock state and the price endpoint's "available" can disagree. Both raw values are delivered and the Actor does not pick one for you.
- **Sales counts are not available.** JD search leaves `sold_count` empty for anonymous requests. The text field is passed through when JD fills it.
- **Reviews: the latest 10 per item**, no older pages. Reviewer names and avatars are not included.
- **Unknown is null, not 0.** A missing price, stock or weight stays `null`.

### Pricing

Pay per row. You are charged only for rows you receive.

| Row | Price |
|---|---|
| Search product | $0.0018 |
| Item live price | $0.0044 |
| Item full card | $0.0087 (two source requests per item) |
| SKU | $0.0044 |
| Review | $0.00045 |
| Shop product | $0.0038 |
| Run start | $0.005 |

The full card costs more than the plain price rows of other JD Actors, because it combines a live price with the product card. If you only need prices, use the live price.

On the Apify Free plan a run returns up to 20 rows, because every row is bought from a paid data source. Paid plans have no such limit.

### Input examples

Search:

```json
{ "mode": "search", "keywords": ["狗粮", "冻干狗粮"], "searchRepeats": 4 }
```

Stock per variant:

```json
{ "mode": "skus", "items": ["https://item.jd.com/100069941041.html"], "maxSkusPerItem": 20 }
```

Daily price tracking of a fixed panel (schedule this run):

```json
{ "mode": "items", "items": ["100069941041", "709835"], "itemDetail": "price" }
```

### Every row carries its origin

`provenance` holds the source request, the item id, the parser and schema versions, and the time the value was observed. Free `notice` rows explain anything skipped: a bad id, an empty answer, a variant limit. Filter them out with `type != "notice"`.

# Actor input Schema

## `mode` (type: `string`):

Search finds products by keyword. The other modes work on JD item ids or item.jd.com links you already have.

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

Search words. Chinese words match JD titles best, e.g. 狗粮 (dog food), 冻干狗粮 (freeze-dried dog food), 猫粮 (cat food).

## `searchRepeats` (type: `integer`):

JD search through our source returns 5 products per request and no page 2; repeating the request returns partly different products. Each repeat adds up to 5 new unique products. Repeats stop by themselves once they stop bringing new products.

## `items` (type: `array`):

JD item ids (100069941041) or links like https://item.jd.com/100069941041.html. The new opaque /product/… links are not supported.

## `itemDetail` (type: `string`):

The full card makes two source requests per item, so it costs about twice as much. Choose it only when you need brand, weight, stock and variants.

## `maxSkusPerItem` (type: `integer`):

Some JD items have 100+ variants and every variant is a paid row. This caps rows per item.

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

JD shop ids (1000096602) or links like https://mall.jd.com/index-1000096602.html. Returns 24 products per shop.

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

Upper limit of paid rows in the dataset — protection against an unexpectedly large bill.

## Actor input object example

```json
{
  "mode": "search",
  "keywords": [
    "狗粮"
  ],
  "searchRepeats": 4,
  "items": [
    "https://item.jd.com/100069941041.html"
  ],
  "itemDetail": "price",
  "maxSkusPerItem": 20,
  "maxItems": 100
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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": [
        "狗粮"
    ],
    "items": [
        "https://item.jd.com/100069941041.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apimy/jd-products-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": ["狗粮"],
    "items": ["https://item.jd.com/100069941041.html"],
}

# Run the Actor and wait for it to finish
run = client.actor("apimy/jd-products-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": [
    "狗粮"
  ],
  "items": [
    "https://item.jd.com/100069941041.html"
  ]
}' |
apify call apimy/jd-products-scraper --silent --output-dataset

```

## MCP server setup

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