JD.com Scraper
Extract product listings, pricing in CNY, seller ratings, and delivery options from JD.com China marketplace. Built on spider-browser .
- target
- jd.com
- success rate
- 99.9%
- latency
- ~4ms
Extract data in minutes.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
captcha: "solve",
});
await spider.connect();
const page = spider.page!;
await page.goto("https://search.jd.com/Search?keyword=laptop&enc=utf-8");
await page.content(12000);
const data = await page.evaluate(`(() => {
const items = [];
document.querySelectorAll("#J_goodsList .gl-item").forEach(el => {
const name = el.querySelector(".p-name em")?.textContent?.trim();
const price = el.querySelector(".p-price strong i")?.textContent?.trim();
const shop = el.querySelector(".p-shop a")?.textContent?.trim();
const comments = el.querySelector(".p-commit a")?.textContent?.trim();
if (name) items.push({ name, price, shop, comments });
});
return JSON.stringify({ total: items.length, items: items.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); One endpoint for jd.com.
Structured JSON from jd.com with a single POST. AI-resolved selectors, cached on the first call.
curl -X POST https://api.spider.cloud/fetch/jd.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/jd.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/jd.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); Fields you can pull.
Regional access
Access geo-restricted content on jd.com via local proxies.
Multi-language SPA
Handle internationalized React/Vue storefronts with dynamic content.
Global coverage
Scrape marketplace listings across multiple countries and currencies.
More International scrapers.
Mercado Libre Scraper
Extract product listings, seller ratings, pricing in local currencies, and shipping data from Mercado Libre.
Rakuten Scraper
Extract product listings, store ratings, cashback offers, and pricing data from Rakuten Japan marketplace.
Flipkart Scraper
Extract product listings, seller data, pricing in INR, and delivery estimates from Flipkart India store.
Start scraping jd.com.
Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.