JD Price and Seller Snapshot Monitor
Pricing
Pay per usage
JD Price and Seller Snapshot Monitor
Compare sellers, prices, and availability in authorized JD JSON snapshots you supply. No live collection or marketplace connection.
JD Price and Seller Snapshot Monitor
Pricing
Pay per usage
Compare sellers, prices, and availability in authorized JD JSON snapshots you supply. No live collection or marketplace connection.
You can access the JD Price and Seller Snapshot Monitor programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "snapshot": {12 "sourceId": "synthetic-demo",13 "capturedAt": "2026-11-18T01:00:00Z",14 "rows": [15 {16 "skuId": "100000000000000001",17 "merchantId": "example-shop",18 "merchantName": "示例商店",19 "offerId": "example-offer",20 "regionCode": "1_72_2799_0",21 "priceType": "displayed",22 "priceCny": "89.90",23 "availability": "in_stock"24 },25 {26 "skuId": "100000000000000001",27 "merchantId": "second-example-shop",28 "regionCode": "1_72_2799_0",29 "priceType": "displayed",30 "priceCny": 9231 }32 ]33 },34 "baseline": {35 "sourceId": "synthetic-demo",36 "capturedAt": "2026-11-17T01:00:00Z",37 "rows": [38 {39 "skuId": "100000000000000001",40 "merchantId": "example-shop",41 "merchantName": "示例商店",42 "offerId": "example-offer",43 "regionCode": "1_72_2799_0",44 "priceType": "displayed",45 "priceCny": "99.90",46 "availability": "in_stock"47 },48 {49 "skuId": "100000000000000001",50 "merchantId": "previous-example-shop",51 "regionCode": "1_72_2799_0",52 "priceType": "displayed",53 "priceCny": 10054 }55 ]56 }57};58
59// Run the Actor and wait for it to finish60const run = await client.actor("magenta_courser/jd-price-seller-monitor").call(input);61
62// Fetch and print Actor results from the run's dataset (if any)63console.log('Results from dataset');64console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);65const { items } = await client.dataset(run.defaultDatasetId).listItems();66items.forEach((item) => {67 console.dir(item);68});69
70// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docsThe Apify API client for JavaScript is the official library that allows you to use JD Price and Seller Snapshot Monitor API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: