JD.com Product details API
Read one JD.com product by item_id: title, brand, model, price, original_price, available, stock_state, image_urls and variants, for $2.44 per 1,000 calls.
JD.com Product details reads one JD product by item_id: title, brand and model, price and original price, availability, stock state, every product image, variants, barcode, origin and warranty text, plus the shop, whether JD sells it directly and whether JD Logistics delivers it. Use it to see what a product costs right now, whether it can be bought and who ships it, for price monitoring, competitor spec sheets and catalog enrichment.
Pass a numeric product ID or a plain item.jd.com product page link without query or fragment; newer opaque product links are not accepted. Before reading the price, check price_masked: JD hides prices behind sign-in or membership conditions, and when it is true price_display is not a precise selling price. available and unavailable_reason say whether the product can be bought now.
upc,warrantyandproduct_areagive the barcode, the warranty text and the place of origin.is_jd_selfandis_jd_expressmark direct sale by JD and JD Logistics delivery.- Failed calls and empty results are not charged.
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "jd", "action": "product_detail", "params": { "item_id": "https://item.jd.com/100012043978.html" } }2JSON response
{ "results": { "upc": "•••;•••", "item_id": "100012043978", "title": "茅台飞天 53%vol 500ml 贵州茅台酒(带杯)【需预约购买】", "price": 1041, … } }3Fields
upc item_id title price •••;••• 100012043978 茅台飞天 53%vol 500ml 贵州茅台酒(带杯)【需预约购买】 1041 4CSV
jd-product_detail-sample.csv item_id,url,title,price,price_display,price_masked,currency,available,unavailable_reason,shop_id,shop_name,shop_url,category_id,category,stock,stock_state,color,size,weight,image_url,image_urls,is_jd_self,brand,model,original_price,upc,warranty,product_area,is_jd_express,variant_count,variants,platform
item_id goes in, and one JSON object with fields such as title, price and available comes back, listed as a field table and a CSV file.What data you get
The table shows a real call for item.jd.com/100012043978.html, captured October 24, 2026 at 18:28 (UTC), that returned one object; gray bars mark the removed barcode (upc; ••• in the CSV). Your own calls return these fields as listed in the field reference.
| item_id | url | title | price | price_display | price_masked | currency | available | unavailable_reason | shop_id | shop_name | shop_url | category_id | category | stock | stock_state | color | size | weight | image_url | image_urls | is_jd_self | brand | model | original_price | upc | warranty | product_area | is_jd_express | variant_count | variants | platform |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 100012043978 | https://item.jd.com/100012043978.html | 茅台飞天 53%vol 500ml 贵州茅台酒(带杯)【需预约购买】 | 1041 | 1??9 | null | CNY | false | null | 1000475228 | 贵州茅台 | https://mall.jd.com/index-1000475228.html | 9435 | null | 156 | out_of_stock | 1759(需预约) | 单瓶装 | 1.1kg | https://img14.360buyimg.com/n1/jfs/t1/498128/6/14354/78100/6a8678aeFd76e6a0c/008332032059c4fa.jpg | ["https://img14.360buyimg.com/n1/jfs/t1/498128/6/14354/78100/6a8678aeFd76e6a0c/008332032059c4fa.jpg","https://img14.360buyimg.com/n1/jfs/t1/442358/22/5618/62044/6a17b873F63dd4c14/00833203206f6884.jpg","https://img14.360buyimg.com/n1/jfs/t1/538344/32/1045/88182/6aba0a86F8862dac1/00833203209ef461.jpg"] | null | 茅台 | 白酒 | 1041 | •••;••• | 无质保 | 贵州仁怀 | false | 9 | [{"sku_id":"100278756721","image_url":"https://img14.360buyimg.com/n1/jfs/t1/442358/22/5618/62044/6a17b873F63dd4c14/00833203206f6884.jpg"},{"sku_id":"100153291833","image_url":"https://img14.360buyimg.com/n1/jfs/t1/538344/32/1045/88182/6aba0a86F8862dac1/00833203209ef461.jpg"},{"sku_id":"100371797016","image_url":"https://img14.360buyimg.com/n1/jfs/t1/545564/17/1981/187886/6accddbdFb7d949e4/0083320320d24f2b.png"}] | jd |
Use cases
Price tracking
Read
priceandoriginal_priceon a schedule; flag rows whereprice_maskedis true and do not use them as exact prices.Complete a catalog
Fill gaps with
brand,model,category_id,upcandproduct_area, and take every product image fromimage_urls.Find unavailable products
When
availableisfalse, readunavailable_reasonandstock_state.Check who sells and who ships
shop_namenames the shop,is_jd_selfmarks direct sale by JD, andis_jd_expresssays whether JD Logistics delivers.
JD Help Center: price tag explanation vs EveryInfra
Here is how the JD Help Center price tag explanation and EveryInfra product_detail compare on what the live page price includes.
| Compared | JD Help Center: price tag explanation | EveryInfra |
|---|---|---|
| Live page price | The live price on the product page does not include prices tied to a special buyer status, such as Plus, student, enterprise, new-user, Sam's, fan or shop-member prices. | price is a snapshot of the price visible on the page at capture time. When JD masks the price, price_masked is true and price_display is the text the page shows. |
The JD Help Center documentation is in Chinese. The table shows a translation, checked against the page on 2026-11-22; the page shows no update date. The page explains prices to buyers; it is not an interface document for reading products. The JD Union product interfaces read promoted products, a different object, so the table leaves them out. Official sources: Price tag explanation
Limits and gotchas
item_idis required: a numeric JD product ID, or https://item.jd.com/<number>.html with no query string or fragment. Newer opaque links such as /product/<opaque>.html are not accepted.stockisnullwhen the page gives none, which is not 0;availableisnullwhen the page gives no sale status.original_priceisnullwhen the page does not provide it, and when present it can differ from the promotionalprice.variantsisnullwhen the product has no variants or none were provided; for the price and stock of each SKU, useskus.image_urlsis the product gallery including the main image; the long images in the description area are not in it, so read them withdescription_images.
Pricing
You pay $0.002444 per call, and one call reads one product. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $24.44 |
| 100,000 | $244.44 |
| 1,000,000 | $2,444.44 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "jd",
"action": "product_detail",
"params": {
"item_id": "https://item.jd.com/100012043978.html"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for product_detail, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra JD.com Product details endpoint (jd/product_detail).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to jd and action to product_detail, and put the parameters inside params.
- Required parameters:
- item_id: Identifies one JD.com product for product_detail, reviews, or product_price. Pass the digit string returned by search or the canonical legacy URL https://item.jd.com/<digits>.html without a query or fragment.
- Returns one object. Main fields: item_id (JD numeric product ID), url, title, price, price_display (Price string exactly as shown on the JD…), price_masked (Whether JD masked the price on the deta…), currency, available (Whether the item could be bought when i…), unavailable_reason (Public reason JD shows when an item is…), shop_id (JD numeric shop ID), shop_name (Public shop name), shop_url (Public JD shop page); 31 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=jd.
- Example request body:
{
"platform": "jd",
"action": "product_detail",
"params": {
"item_id": "https://item.jd.com/100012043978.html"
}
}
- Price: $2.44 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | jd | Platform identifier, fixed value. |
action | body | string | Yes | product_detail | Capability identifier, fixed value. |
item_id | body.params | string | Yes | - | Identifies one JD.com product for product_detail, reviews, or product_price. Pass the digit string returned by search or the canonical legacy URL https://item.jd.com/<digits>.html without a query or fragment; arbitrary, opaque, or cross-host URLs are not accepted as equivalent item identifiers. |
Response example
#{ "id": "req_…", "platform": "jd", "action": "product_detail", "results": { "item_id": "100012043978", "url": "https://item.jd.com/100012043978.html", "title": "茅台飞天 53%vol 500ml 贵州茅台酒(带杯)【需预约购买】", "price": 1041, "price_display": "1??9", "currency": "CNY", "available": false, "shop_id": "1000475228", "shop_name": "贵州茅台", "shop_url": "https://mall.jd.com/index-1000475228.html", "category_id": "9435", "stock": 156, "stock_state": "out_of_stock", "color": "1759(需预约)", "size": "单瓶装", "weight": "1.1kg", "image_url": "https://img14.360buyimg.com/n1/jfs/t1/498128/6/14354/78100/6a8678aeFd76e6a0c/008332032059c4fa.jpg", "image_urls": [ "https://img14.360buyimg.com/n1/jfs/t1/498128/6/14354/78100/6a8678aeFd76e6a0c/008332032059c4fa.jpg", "https://img14.360buyimg.com/n1/jfs/t1/442358/22/5618/62044/6a17b873F63dd4c14/00833203206f6884.jpg", "https://img14.360buyimg.com/n1/jfs/t1/538344/32/1045/88182/6aba0a86F8862dac1/00833203209ef461.jpg" ], "brand": "茅台", "model": "白酒", "original_price": 1041, "upc": "•••;•••", "warranty": "无质保", "product_area": "贵州仁怀", "is_jd_express": false, "variant_count": 9, "variants": [ { "sku_id": "100278756721", "image_url": "https://img14.360buyimg.com/n1/jfs/t1/442358/22/5618/62044/6a17b873F63dd4c14/00833203206f6884.jpg" }, { "sku_id": "100153291833", "image_url": "https://img14.360buyimg.com/n1/jfs/t1/538344/32/1045/88182/6aba0a86F8862dac1/00833203209ef461.jpg" }, { "sku_id": "100371797016", "image_url": "https://img14.360buyimg.com/n1/jfs/t1/545564/17/1981/187886/6accddbdFb7d949e4/0083320320d24f2b.png" } ], "platform": "jd" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
item_id | JD numeric product ID. From search results you can pass it straight to detail, reviews, or price calls. |
url | Link to the record on the platform. |
title | Title. null when the platform has no titles (for example text-only posts). |
price | Price as a number without a currency symbol; see currency. |
price_display | Price string exactly as shown on the JD page; may be masked by login or membership conditions. |
price_masked | Whether JD masked the price on the detail page. When true, do not treat price_display as the exact transaction price. |
currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
available | Whether the item could be bought when it was read (product_detail, product_price and shop rows); false when out of stock, null when the page did not say. |
unavailable_reason | Public reason JD shows when an item is not sellable. |
shop_id | JD numeric shop ID. |
shop_name | Public shop name. |
shop_url | Public JD shop page. |
category_id | JD leaf category ID of the product (product_detail). |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
stock | Stock quantity JD shows publicly; null means the page did not give one, not zero. |
stock_state | Public JD stock status code. |
color | This SKU's color (or finish) as shown on the JD page. |
size | This SKU's size, capacity or specification value as shown on the JD page. |
weight | Product weight as written on the JD page (product_detail); null when the page gives none. |
image_url | Image URL: in search, product_detail, shop and skus it is the product's main (cover) image; in description_images it is the description image of that row (the full-size https image on JD's image host). |
image_urls | Product gallery image URLs (cover included, in the order shown on the JD page). The singular image_url is the first of them. The long images in the product's description section are not here; get them with description_images. |
is_jd_self | Whether this is a JD self-operated (JD.com retail) product. |
brand | Product brand. |
model | Product model number. |
original_price | List (original) price shown by JD; may differ from the promotional price. null when the page does not provide one. |
upc | Product barcode (UPC/EAN). null when the page does not provide one. |
warranty | Warranty terms, as written on the page. |
product_area | Place of origin. |
is_jd_express | Whether the item ships via JD Logistics. |
variant_count | Number of variants (SKUs). null when there are none or it is not provided. Every skus row carries the same value: when it is larger than the number of rows returned, limit cut the list short or some SKUs were not retrieved this time. |
variants | Variant list. Each entry carries name, SKU ID, price, stock, stock state, and image URL where available; null when there are none or it is not provided. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- JD.com: Displayed-price Labels and Conditional Purchase Prices ↗
JD.com distinguishes a real-time displayed label from final item prices and member, new-user, regional, or targeted benefits, while noting that some comparison information can be delayed or incomplete. Treat a returned price as the visible request-time snapshot, not a personal transaction price, settlement amount, or guarantee of absolute accuracy.
Checked 2026-09-11
FAQ
Which formats does item_id accept?
A numeric JD product ID, or https://item.jd.com/<number>.html with no query string or fragment. Newer opaque links under /product/ are not accepted. The item_id from JD search results works as is.
Why is the price sometimes hidden?
JD masks product page prices behind sign-in or membership conditions. When price_masked is true, price_display is the text the page shows rather than a precise selling price, so flag those rows separately when you track prices.
How do I tell if a product is unavailable?
Read available, the current sale status; when the product cannot be bought, unavailable_reason gives the reason shown on JD. stock_state is JD's public stock status code, worth storing alongside if you track availability over time.
Which fields does the JD product details API return?
item_id, url, title, price, price_display, price_masked, currency, available, unavailable_reason, shop_id, shop_name, category_id, stock, stock_state, brand, model, original_price, upc, warranty, product_area, is_jd_express, variants and more.
What unit does weight use?
weight is the product weight as written on the JD page, such as 1.1kg; null means the page does not state it.
How much does it cost to read one product?
It costs $0.002444 per call, or $2.44 per 1,000 calls. Failed calls and empty results are not charged.
Related JD.com endpoints
You can call the other JD.com endpoints with the same EveryInfra API key.
- Search
search$2.47 per 1,000 callsLook up JD.com products for a search phrase and get up to five results. - Reviews
reviews$8 per 1,000 callsRead up to 10 buyer reviews of a JD.com product per call, and page through for more. - Shop
shop$28.81 per 1,000 callsBrowse up to 24 products from one JD.com store, each with item ID, title, price, currency and availability. - Product price
product_price$5.56 per 1,000 callsCheck the current displayed price and availability of one JD.com product byitem_id. - All SKUs with prices
skus$2.44 per 1,000 callsList every SKU of a JD.com product from any one of its SKUs initem_id. - Description images
description_images$8 per 1,000 callsGet every image in the description section of a JD.com product, top to bottom.