# JD.com API

> Product search, details with variants, description images, prices and a shop's products.

Canonical page: https://okdata.online/apis/jd/

5 endpoints, $0.033 to $0.322 per call. Region: Mainland China. No JD.com login or cookies needed.

| Endpoint | ID | Returns | Price |
|---|---|---|---|
| [JD.com product search](https://okdata.online/apis/jd/products/search/) | `jd.products.search` | Product[] | $0.033 per call · about 48 products per page |
| [JD.com product details](https://okdata.online/apis/jd/products/get/) | `jd.products.get` | Product | $0.086 per call |
| [JD.com product description](https://okdata.online/apis/jd/products/description/get/) | `jd.products.description.get` | ProductMedia | $0.033 per call |
| [JD.com price](https://okdata.online/apis/jd/products/prices/get/) | `jd.products.prices.get` | Product[] | $0.322 per call · about 1 products per page |
| [JD.com shop products](https://okdata.online/apis/jd/shops/products/list/) | `jd.shops.products.list` | Product[] | $0.043 per call · about 24 products per page |

## Good for

- Product research: `jd.products.search`, `jd.products.get`, `jd.products.description.get`, `jd.products.prices.get`, `jd.shops.products.list`
- Competitor monitoring: `jd.products.search`, `jd.products.get`, `jd.products.prices.get`, `jd.shops.products.list`

## At a glance

5 JD.com endpoints covering products and shops, from $0.033 a call. No JD.com account or cookie needed.

Categories: [E-commerce](https://okdata.online/categories/commerce/)

- **Endpoints**: 5 endpoints. In 2 groups, one response format.
- **Lowest price**: From $0.033. A call, paid from a prepaid balance.
- **Freshness**: Live. Read from the platform when you call.
- **Monthly fee**: $0. No subscription or minimum spend.

- [Start free](https://okdata.online/console/)
- Try one: [JD.com product search](https://okdata.online/apis/jd/products/search/)
- JD.com in Claude, Cursor and other agents: [JD.com MCP](https://okdata.online/mcp/jd/)

## Endpoints by group

### Products (4)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Product search](https://okdata.online/apis/jd/products/search/) | `GET /v1/jd/products/search` | Product[] | $0.033 per call |
| [Product details](https://okdata.online/apis/jd/products/get/) | `GET /v1/jd/products/get` | Product | $0.086 per call |
| [Product description](https://okdata.online/apis/jd/products/description/get/) | `GET /v1/jd/products/description/get` | ProductMedia | $0.033 per call |
| [JD.com price](https://okdata.online/apis/jd/products/prices/get/) | `GET /v1/jd/products/prices/get` | Product[] | $0.322 per call |

### Shops (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Shop products](https://okdata.online/apis/jd/shops/products/list/) | `GET /v1/jd/shops/products/list` | Product[] | $0.043 per call |

- [JD.com API pricing](https://okdata.online/pricing/jd/)
- [JD.com in your AI (MCP)](https://okdata.online/mcp/jd/)
- [Live status](https://okdata.online/status/)

## What people do with JD.com data

- [Product research](https://okdata.online/solutions/product-research/): “What do the best sellers cost, and what do buyers complain about?” [Product search](https://okdata.online/apis/jd/products/search/) $0.033, [Product details](https://okdata.online/apis/jd/products/get/) $0.086, [Product description](https://okdata.online/apis/jd/products/description/get/) $0.033
- [Competitor monitoring](https://okdata.online/solutions/competitor-monitoring/): “What did our competitors post this week, and what took off?” [Product search](https://okdata.online/apis/jd/products/search/) $0.033, [Product details](https://okdata.online/apis/jd/products/get/) $0.086, [JD.com price](https://okdata.online/apis/jd/products/prices/get/) $0.322

## Start in three steps

1. Get a key: [open the console](https://okdata.online/console/). A new key comes with $0.10 to try, no card.
2. Connect your AI with this sentence (swap in your key), or call the API yourself:

   > Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

3. Make the first call (JD.com product search). Items arrive in data.items, the next page in page.next_cursor, the charge in meta.billing.amount.

```bash
curl -G "https://api.okdata.online/v1/jd/products/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=咖啡磨豆机'
```

## Questions about the JD.com API

### What does the JD.com API cost?

Each of the 5 endpoints has its own price, from $0.033 to $0.322 a call; the cheapest is JD.com product description at $0.033. You pay per call from a prepaid balance, with no subscription. A call that reaches the data source is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.

### Do I need a JD.com account or cookie?

No. You call https://api.okdata.online with one okdata key and get public JD.com data back; you never use your own JD.com account, cookie or QR login.

### How fresh is the data?

A request reads JD.com when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours).

### Can my AI agent use the JD.com API?

Yes. Connect the MCP server at https://api.okdata.online/mcp: its find tool lists these 5 endpoints with their prices, and its call tool runs them on your key.

### Can I try it for free?

New accounts get $0.10 of trial credit with no card: enough for 3 calls to JD.com product description.

## More about JD.com

- [Product detail API](https://okdata.online/roles/products-get/)
- [Product search API](https://okdata.online/roles/products-search/)

## Other platforms

[Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/) · [Douyin API](https://okdata.online/apis/douyin/) · [WeChat Official Accounts API](https://okdata.online/apis/wechat_mp/) · [WeChat Channels API](https://okdata.online/apis/wechat_channels/) · [WeChat Search API](https://okdata.online/apis/wechat/) · [Weibo API](https://okdata.online/apis/weibo/) · [Bilibili API](https://okdata.online/apis/bilibili/) · [Kuaishou API](https://okdata.online/apis/kuaishou/) · [Zhihu API](https://okdata.online/apis/zhihu/) · [Douyin Shop API](https://okdata.online/apis/douyin_shop/) · [Taobao & Tmall API](https://okdata.online/apis/taobao/) · [1688 API](https://okdata.online/apis/alibaba_1688/) · [Xianyu (Goofish) API](https://okdata.online/apis/xianyu/) · [Douban Movie API](https://okdata.online/apis/douban/) · [Youku API](https://okdata.online/apis/youku/) · [Toutiao API](https://okdata.online/apis/toutiao/) · [Xigua Video API](https://okdata.online/apis/xigua/) · [Baidu API](https://okdata.online/apis/baidu/) · [All platforms API](https://okdata.online/apis/all/) · [TikTok API](https://okdata.online/apis/tiktok/) · [YouTube API](https://okdata.online/apis/youtube/) · [Instagram API](https://okdata.online/apis/instagram/) · [X (Twitter) API](https://okdata.online/apis/x/) · [Reddit API](https://okdata.online/apis/reddit/) · [Amazon API](https://okdata.online/apis/amazon/) · [AliExpress API](https://okdata.online/apis/aliexpress/) · [Meta Ad Library API](https://okdata.online/apis/meta/) · [Google API](https://okdata.online/apis/google/) · [Telegram API](https://okdata.online/apis/telegram/) · [Facebook API](https://okdata.online/apis/facebook/) · [LinkedIn API](https://okdata.online/apis/linkedin/) · [Bluesky API](https://okdata.online/apis/bluesky/) · [App Store API](https://okdata.online/apis/app_store/) · [Twitch API](https://okdata.online/apis/twitch/) · [IMDb API](https://okdata.online/apis/imdb/)
