CJ Dropshipping Sourcing Skill for Openclaw

A dedicated automation tool for querying the CJ Dropshipping API v2.0 to source products and extract structured catalog data.

zero2ai-hub
v1.0.2
Mar 1, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install skill-dropshipping-sourcing

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 skill-dropshipping-sourcing 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 CJ Dropshipping Sourcing Skill?

The CJ Dropshipping Sourcing Skill is a specialized tool designed to interface directly with the CJ Dropshipping API v2.0, bypassing the need for manual catalog browsing. It enables developers to programmatically search for products, fetch detailed SPU and SKU records, and retrieve essential media assets like images and variant descriptions. By utilizing this Openclaw Skills integration, you can build scalable, data-driven dropshipping workflows with minimal overhead.

This skill is particularly effective for those looking to automate the building of e-commerce catalogs or inventory synchronization systems. It handles the complexities of API authentication and data normalization, providing a clean JSON output that is ready for ingestion into frontend stores or database systems.

CJ Dropshipping Sourcing Skill Use Cases

  • Automating high-volume product discovery based on specific market keywords.
  • Generating structured JSON catalogs for import into Shopify, WooCommerce, or custom storefronts.
  • Synchronizing product variant details, including colors and sizes, directly from the CJ database.
  • Maintaining up-to-date product records for dropshipping research and analysis.

How CJ Dropshipping Sourcing Skill Works

  1. The skill authenticates with the CJ Dropshipping API using credentials provided in a local configuration file.
  2. It manages session security by automatically refreshing access tokens before they expire.
  3. The user triggers a search query via the command line, specifying keywords and desired result volume.
  4. The skill queries the CJ product/listV2 endpoint to retrieve comprehensive product data, including categories and descriptions.
  5. The retrieved data is normalized and exported into a structured JSON file for further use in Openclaw Skills automation pipelines.

CJ Dropshipping Sourcing Skill Setup

First, configure your credentials in the ./cj-api.json file. You will need to provide your apiKey, baseUrl, accessToken, and tokenExpiry details.

To ensure your authentication is valid, refresh the access token:

node scripts/token.js

To search for products and generate a catalog file, use the sourcing script:

node scripts/source.js --keyword "sunset lamp" --size 20 --out cj-results.json

CJ Dropshipping Sourcing Skill Data Schema & Taxonomy

The skill manages data through a centralized configuration and outputs standardized JSON records. Below is the metadata taxonomy used:

Object Key Components
Config (cj-api.json) apiKey, baseUrl, accessToken, tokenExpiry
Product Record SPU, SKU, productName, categoryName
Media Assets Image URLs, variant-specific images
Output Format Normalized JSON with enable_description fields

CJ Dropshipping Sourcing Skill Advanced Features

  • Conservative token refresh logic that proactively updates sessions 10 minutes before expiry to prevent workflow interruptions.
  • Full support for the CJ V2.0 API, enabling deep data retrieval including product descriptions and category hierarchies.
  • Customizable output paths for easy integration into multi-agent Openclaw Skills environments.
  • Parameterized search controls to filter by result size and keyword relevance.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*