# 京东 JD.com 全部 SKU 与价格 API (jd.skus)

- Canonical page: [https://everyinfra.com/jd-api/skus](https://everyinfra.com/jd-api/skus?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "jd", "action": "skus", "params": {...}}
- Price: $0.002444 per call ($2.44 per 1,000 requests); failed calls and empty results are not charged
- Billing unit: each row you ask for counts as one call; rows that do not come back are refunded
- Returns: list, default 100, max 100 per call
- Mode: sync only; everything it returns (every target of a batch, or every SKU of a product) is read in one call, and "mode": "async" returns 422 before any charge

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=jd&action=skus

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| item_id | not declared | yes | not declared | 京东商品（任一 SKU）的数字 ID，或京东商品页链接（https://item.jd.com/<数字>.html、https://item.m.jd.com/product/<数字>.html、微信里打开的 wqitem.jd.com 商品页），也可以是只含一个这类链接的分享文本；链接里的跟踪参数不影响。3.cn、u.jd.com 等短链不收，请先在浏览器打开再复制商品页链接。 |
| limit | integer (1–100) | no | 100 | 正整数（≥1），本次最多返回的条数：不传则返回本次取到的全部结果，传了只把结果截短到这个条数以内，不会多取，也不会变多。扣费不受 `limit` 影响。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| item_id | 京东商品数字 ID；search 可把它直接交给详情、评价或价格能力。 |
| url | 该记录在原平台上的可访问链接。 |
| product_id | 京东商品组 ID：同一商品的所有 SKU 共用（skus）。它不是 SKU，不能当 item_id 去调详情、评价或价格。 |
| is_requested | 这一行是不是请求里传的那个 SKU（skus）；同一商品的其他 SKU 为 false。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| properties | 这个 SKU 的销售属性，属性名 → 属性值，按京东页面原文（如 外观: 亚麻灰、存储容量: 12GB+512GB）（skus）。 |
| color | 京东页面上这个 SKU 的颜色（或外观）属性值。 |
| size | 京东页面上这个 SKU 的尺码、容量或规格属性值。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| on_sale | 这个 SKU 是否在售（上架）（skus）。在售不等于有货，有货看 in_stock 与 stock_state。 |
| in_stock | 这个 SKU 现在能否直接下单（有现货）（skus）。预售、预约中的 SKU 为 false，详见 stock_state。 |
| stock_state | 京东公开的库存状态码。 |
| stock | 京东页面公开的库存数量；null 表示页面没给，不是 0。 |
| purchase_limit | 每位买家限购件数；null 表示页面没写限购（skus）。 |
| delivery_promise | 京东页面上的配送或发货承诺原文，如「预计11月9日前发货」（skus）；按京东未登录时的默认收货地区给出，换地区可能不同。 |
| is_presale | 是否为预售商品（skus）。 |
| is_government_subsidy | 京东是否给这个 SKU 标了国家补贴（国补）（skus）；这个标记本身不说明 price 是否已扣除补贴。null 表示这次没拿到这个标记。 |
| is_billion_subsidy | 京东是否给这个 SKU 标了百亿补贴（skus）；null 表示这次没拿到这个标记。 |
| is_flash_sale | 这个 SKU 是否在秒杀中（skus）；null 表示这次没拿到这个标记。 |
| promo_tags | 京东给这个 SKU 标的促销标签原文列表（skus）；null 表示没有或这次没拿到。 |
| upc | 商品条码（UPC/EAN）；null 表示页面未提供。 |
| brand | 商品品牌。 |
| image_url | 图片链接：search、product_detail、shop、skus 里是商品主图（封面）；description_images 里是这一行的那张详情图（京东图床的 https 原图）。 |
| shop_id | 京东店铺数字 ID。 |
| shop_name | 公开店铺名称。 |
| is_jd_self | 是否为京东自营商品；shop_info 里是这家店是不是京东自营店。 |
| variant_count | 变体（SKU）数量；null 表示无变体或未提供。skus 的每一行都带同一个值：它大于本次返回的行数时，说明被 limit 截断或有 SKU 这次没取到。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
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": "skus",
  "params": {
    "item_id": "https://item.m.jd.com/product/10232789210191.html"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "jd",
        "action": "skus",
        "params": {
            "item_id": "https://item.m.jd.com/product/10232789210191.html",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 12. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "jd",
  "action": "skus",
  "results": [
    {
      "item_id": "10232789210191",
      "url": "https://item.jd.com/10232789210191.html",
      "product_id": "10035827040758",
      "is_requested": true,
      "title": "HUAWEI Pura X View 华为阔直屏手机 沉浸阔直板 超轻薄长续航 亚麻灰 12GB+512GB",
      "properties": {
        "外观": "亚麻灰",
        "存储容量": "12GB+512GB"
      },
      "color": "亚麻灰",
      "size": "12GB+512GB",
      "price": 6999,
      "currency": "CNY",
      "on_sale": true,
      "in_stock": false,
      "stock_state": "pre_order",
      "stock": 6,
      "purchase_limit": 2,
      "delivery_promise": "预计11月23日前发货",
      "is_presale": false,
      "is_government_subsidy": false,
      "upc": "•••",
      "brand": "华为",
      "image_url": "https://img14.360buyimg.com/n0/jfs/t1/536837/15/12542/70661/6ad028daF0fe35216/00835a05a00b835a.jpg",
      "shop_id": "16374386",
      "shop_name": "华为官方旗舰店",
      "is_jd_self": false,
      "variant_count": 12,
      "platform": "jd"
    },
    {
      "item_id": "10232789210185",
      "url": "https://item.jd.com/10232789210185.html",
      "product_id": "10035827040758",
      "is_requested": false,
      "title": "HUAWEI Pura X View 华为阔直屏手机 沉浸阔直板 超轻薄长续航 零度白 12GB+512GB",
      "properties": {
        "外观": "零度白",
        "存储容量": "12GB+512GB"
      },
      "color": "零度白",
      "size": "12GB+512GB",
      "price": 6999,
      "currency": "CNY",
      "on_sale": true,
      "in_stock": false,
      "stock_state": "pre_order",
      "stock": 6,
      "purchase_limit": 2,
      "delivery_promise": "预计11月23日前发货",
      "is_presale": false,
      "is_government_subsidy": false,
      "upc": "•••",
      "brand": "华为",
      "image_url": "https://img14.360buyimg.com/n0/jfs/t1/547139/32/2822/66014/6ad028e0F5afed3f9/00835a05a054f860.jpg",
      "shop_id": "16374386",
      "shop_name": "华为官方旗舰店",
      "is_jd_self": false,
      "variant_count": 12,
      "platform": "jd"
    }
  ],
  "count": 12,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=jd
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
