Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

aliexpress-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aliexpress-api

A package that wraps Aliexpress API for node

latest
Source
npmnpm
Version
1.2.3
Version published
Weekly downloads
58
-3.33%
Maintainers
1
Weekly downloads
 
Created
Source

aliexpress-api

A Node.js package that wraps the Aliexpress API for affiliate marketing and product data access.

Description

This package provides a simple interface to interact with the Aliexpress Open Platform API. It's particularly useful for affiliate marketing and product data retrieval.

Based on the Aliexpress Open Platform API Documentation

Installation

npm install aliexpress-api

Dependencies

  • request: ^2.88.2
  • mime: ^3.0.0

Usage

const AliexpressApiService = require("aliexpress-api");

// Initialize the service with your credentials
const aliexpressApiService = new AliexpressApiService(
  ALIEXPRESS_APP_KEY,
  ALIEXPRESS_APP_SECRET,
  ALIEXPRESS_APP_SIGNATURE,
  ALIEXPRESS_TRACKING_ID
);

// Get affiliate link for a product
const affiliateLink = await aliexpressApiService.getAffiliateLink(aliexpressUrl);

Configuration

You'll need the following credentials from Aliexpress Open Platform:

  • ALIEXPRESS_APP_KEY: Your application key
  • ALIEXPRESS_APP_SECRET: Your application secret
  • ALIEXPRESS_APP_SIGNATURE: Your application signature
  • ALIEXPRESS_TRACKING_ID: Your tracking ID

Development

To run tests:

npm test

Version History

  • 1.2.2
    • Current version
  • 1.2.0
    • Migrated to use new Aliexpress endpoint and standards
  • 1.0.0
    • Initial Release

License

ISC

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

If you have any questions, you can:

Author

Alon Segal

Keywords

aliexpress

FAQs

Package last updated on 20 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts