JD.com API for Openclaw

A specialized tool for extracting precise JD.com product details, customer reviews, and shop inventories via the JustOneAPI interface.

justoneapi
v1.0.9
Apr 23, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install justoneapi-jd

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install justoneapi-jd using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is JD.com API?

The JD.com API skill is a robust integration designed for Openclaw Skills that bridges the gap between AI agents and one of the world's largest ecommerce platforms. By leveraging JustOneAPI, this skill enables developers and researchers to programmatically access structured data from JD.com, ensuring high accuracy for catalog analysis and competitive intelligence.

This skill focuses on three core pillars of ecommerce data: granular product specifications, authentic consumer feedback through comments, and comprehensive shop-level item listings. It transforms the AI agent into a powerful ecommerce researcher capable of handling specific identifiers like itemId and shopId to deliver exact, API-backed answers rather than estimated summaries.

JD.com API Use Cases

  • Conducting deep-dive catalog analysis and product monitoring for JD.com listings.
  • Performing sentiment analysis and market research using JD.com product comments and reviewer signals.
  • Tracking competitor inventories and pricing strategies through shop product list extraction.
  • Automating ecommerce research workflows that require exact pricing, images, and shop information.

How JD.com API Works

  1. The AI agent identifies a JD.com-related intent, such as a request for product specifications or shop inventory.
  2. The skill references available operations (getJdItemDetailV1, getItemCommentsV1, or getJdShopItemListV1) to match the user's specific query.
  3. The agent validates required parameters like itemId or shopId, requesting clarification from the user if data is missing.
  4. A secure GET request is dispatched via the JustOneAPI gateway using the provided environment token.
  5. The skill processes the structured JSON response, highlighting decision-relevant fields before presenting the final data to the user.

JD.com API Setup

To enable this skill within your Openclaw Skills environment, you must configure the required API token.

  1. Obtain your API key from the Just One API Dashboard.
  2. Export the token to your environment:
export JUST_ONE_API_TOKEN="your_api_token_here"
  1. Run operations using the following command structure:
node {baseDir}/bin/run.mjs --operation "getJdItemDetailV1" --token "$JUST_ONE_API_TOKEN" --params-json '{"itemId":"12345"}'

JD.com API Data Schema & Taxonomy

The JD.com API skill organizes data into structured JSON responses based on the specific operation invoked. Below is the primary taxonomy:

Data Type Key Parameters Primary Output Fields
Product Details itemId Price, images, shop information, product attributes
Product Comments itemId, page Ratings, review text, timestamps, reviewer metadata
Shop Inventory shopId, page Item titles, current prices, thumbnail images, item IDs

JD.com API Advanced Features

  • Parameter-driven precision: Supports exact filtering using itemId and shopId for non-probabilistic data retrieval.
  • Efficient Pagination: Built-in support for the page parameter to crawl through extensive comment sections or shop inventories.
  • Error Transparency: Detailed backend payload reporting ensures that any API-level issues are explicitly communicated for debugging.
  • Multi-Operation Flexibility: Seamlessly switch between individual item analysis and broad shop-level research within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*