Technical Deep Dive: JD.com Product Detail API - Full Guide & Standard JSON Reference

知名用户180079054733小时前未分类4

Introduction

As one of China’s largest and most trusted e-commerce ecosystems, JD.com operates a robust open API platform that powers millions of merchant ERP systems, supply chain management tools, and third-party data integration workflows. The official product detail interface is the core technical gateway for developers to access structured, real-time SKU data, covering JD’s unique logistics system, tiered pricing rules, and official inventory synchronization logic. Unlike generic web scraping solutions, this official RESTful API guarantees data accuracy, anti-scraping stability, and full compliance with JD’s developer terms, making it the industry standard for production-level B2C and B2B e-commerce integration. This guide breaks down the full technical architecture, mandatory request parameters, and provides a production-grade standard JSON response reference to help developers quickly build stable JD data integration pipelines.

1. Core Interface Basic Information

The JD Product Detail API is a high-performance RESTful service hosted on JD’s global open platform infrastructure, optimized for high-frequency commercial data access scenarios.

Item

Specification

Official API Name

jd.product.detail.get (Get Full JD Product Details)

Communication Protocol

HTTPS POST (Recommended) / GET

Default Data Format

JSON

Official Gateway Endpoint

https://api.jd.com/routerjson

Authentication Mechanism

AppKey + AppSecret + OAuth 2.0 AccessToken + MD5 Signature

Typical Use Cases

JD store product synchronization, real-time price monitoring, inventory status verification, Jingdong Logistics distribution pre-estimation, competitor analysis and selection

2. Full Request Parameter Breakdown

Calling this API strictly follows JD Open Platform’s official TOP-style signature specification. All non-empty parameters must be sorted lexicographically and encrypted with the AppSecret to generate a valid, tamper-proof signature value.

2.1 Mandatory Public Gateway Parameters

These parameters are required for every JD API call, used for platform authentication, permission validation and request tracing:

Parameter Name

Type

Required

Description

app_key

String

Yes

Unique application identifier, obtained after enterprise developer verification on JD Open Platform

method

String

Yes

Fixed as


jd.product.detail.get


to specify the target product detail interface

access_token

String

Yes

OAuth 2.0 authorized token, which carries the requester’s permission scope (public data / merchant exclusive operation permission)

timestamp

String

Yes

East 8 timezone timestamp formatted as


yyyy-MM-dd HH:mm:ss, used to prevent replay attacks

v

String

Yes

API protocol version, the current stable production version is


1.0

sign_method

String

Yes

Signature algorithm,


md5


is the platform standard for all open interfaces

sign

String

Yes

Final encrypted signature value generated by AppSecret and sorted parameters

2.2 Business Core Parameters

These parameters control the granularity and scope of the JD product data returned:

Parameter Name

Type

Required

Description

skuId

Long

Yes

JD unique SKU ID, extracted directly from the product detail page URL

fields

String

Yes

Custom return field list, for example


skuId,name,price,stock. Explicitly specifying required fields can reduce response latency by over 35%

needJdLogistics

Boolean

No

Default


false. Set to


true


to return real-time JD self-operated warehouse stock distribution and 211 time-limited delivery information

needPromotion

Boolean

No

Default


false. Set to


true


to pull all ongoing flash sale, coupon and full reduction activity data of the product

3. Standard Production JSON Response Reference

Below is a standard full JSON response that strictly follows JD’s official interface return specification. This structure includes all unique high-value fields of JD’s e-commerce system, and can be directly used for debugging and enterprise system docking:

Use the website: o0b.cn/anzexi

{
  "jd_product_detail_get_response": {
    "code": 0,
    "msg": "success",
    "request_id": "jd_req_20260919113044789",
    "data": {
      "sku_id": 100012345678,
      "spu_id": 100087654321,
      "name": "Apple MacBook Pro 14-inch M4 Pro Chip 18GB RAM 512GB SSD Space Black",
      "brand_info": {
        "brand_id": 1342,
        "brand_name": "Apple",
        "is_self_operated_brand": true
      },
      "price_info": {
        "current_price": 14999.00,
        "original_price": 16999.00,
        "discount_rate": 12,
        "currency": "CNY",
        "is_jd_price_protection": true,
        "promotion_list": [
          {"promotion_type": "full_reduction", "desc": "Minus 500 when order over 10000"},
          {"promotion_type": "coupon", "desc": "Exclusive 200 yuan coupon for PLUS members"}
        ]
      },
      "stock_info": {
        "total_available_stock": 8600,
        "stock_status": "in_stock",
        "is_jd_self_operated": true,
        "warehouse_distribution": [
          {"warehouse_code": "BJ001", "city": "Beijing", "stock": 3200, "delivery_type": "211_timeline"},
          {"warehouse_code": "SH002", "city": "Shanghai", "stock": 2800, "delivery_type": "211_timeline"},
          {"warehouse_code": "GZ003", "city": "Guangzhou", "stock": 2600, "delivery_type": "next_day"}
        ]
      },
      "specifications": [
        {"attr_name": "Screen Size", "attr_value": "14.2 inches Liquid Retina XDR"},
        {"attr_name": "Chip", "attr_value": "Apple M4 Pro"},
        {"attr_name": "Memory", "attr_value": "18 GB Unified Memory"},
        {"attr_name": "Storage", "attr_value": "512 GB SSD"},
        {"attr_name": "Warranty", "attr_value": "1 Year Official Warranty + JD Home On-site Service"}
      ],
      "sku_list": [
        {
          "sub_sku_id": 100012345679,
          "spec_text": "Space Black / 18GB / 512GB",
          "sku_price": 14999.00,
          "sku_stock": 4500
        },
        {
          "sub_sku_id": 100012345680,
          "spec_text": "Silver / 24GB / 1TB",
          "sku_price": 18999.00,
          "sku_stock": 4100
        }
      ],
      "media_resources": {
        "main_image": "https://img14.360buyimg.com/n1/jfs/t1/xxx/main.jpg",
        "image_gallery": [
          "https://img14.360buyimg.com/n1/jfs/t1/xxx/1.jpg",
          "https://img14.360buyimg.com/n1/jfs/t1/xxx/2.jpg",
          "https://img14.360buyimg.com/n1/jfs/t1/xxx/3.jpg"
        ],
        "detail_video": "https://cdn.jd.com/video/play/xxx.mp4"
      },
      "service_info": {
        "support_jd_installment": true,
        "support_jd_delivery": true,
        "return_policy": "7 days no reason return, 15 days exchange",
        "warranty_service": "JD Home On-site Support"
      }
    }
  }
}



相关文章

Alibaba国际站商品详情API JSON数据返回解析指南

Alibaba国际站商品详情API JSON数据返回解析指南一、核心JSON数据结构基础结构示例:json{  "request_id": "...

小红书笔记评论 API 简明文档(含 JSON 样例)

前言一、接口简介小红书笔记评论 API 用于获取单条笔记下的主评论、楼中楼子评论、用户信息、互动数据,支持分页与排序,是舆情分析、内容调研、用户反馈采集的常用接口。接口采用 HTTPS 请求,基于 T...

技术实战:Bilibili Video API 视频详情接口技术解析与标准JSON返回参考

前言在长视频内容分析、UP主运营数据监控、弹幕舆情挖掘的业务场景中,Bilibili(哔哩哔哩)视频详情API是开发者和内容运营从业者最核心的结构化数据入口。它无需搭建复杂的反爬代理体系,就能稳定获取...

1688 跨境寻源通 API 免费对接・五大落地成功案例(适配文章直接使用)

说明:所有案例前期均依托寻源通免费基础额度完成技术验证与业务跑通,放量后扩容配额;覆盖跨境 ERP SaaS、独立站、代采服务商、店群自研系统、跨境选品工具五大主流赛道,附带业务痛点、技术方案、落地成...

淘宝商品评论 API(taobao.item.reviews.get)标准 JSON 示例

一、成功完整返回(官方标准原生结构,适配技术文章)json{    "code": 0,    &...

淘宝商品详情 API,就是用来一键获取淘宝商品全部信息的接口

主要用处:拿到商品标题、价格、原价、促销价获取销量、库存、好评率拿到主图、详情图、SKU 规格(颜色、尺码等)获取店铺名称、品牌、发货地、运费用于价格监控、竞品分析、选品、导购返利、数据分析一句话总结...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。