AliExpress Affiliate
Let your AI research AliExpress products for affiliate marketing: search and hot products with prices and commissions, product and SKU details, shipping cost, coupons, affiliate links with your tracking ID and the orders and commissions they earned.
7-day free trial · No credit card · EU-hosted
Ask AliExpress anything
Try a real prompt against AliExpress Affiliate via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.
Install AliExpress on CloudClaude is AI and can make mistakes. Please double-check responses.
Setup in 2 minutes
- 1Start a free trial on cloud.anythingmcp.com.
- 2Click AliExpress Affiliate in the connector store. Paste credentials when prompted.
- 3Mint an MCP API key and point your AI client at the generated MCP URL.
Guides for AliExpress
Step-by-step setup for the most popular AI clients.
Setting up AliExpress Affiliate
From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.
AliExpress Affiliate
This connector calls the AliExpress Affiliate API (AliExpress Open Platform, api-sg.aliexpress.com) with your own affiliate app: product search and details, hot products, featured promotions, coupons, shipping cost to a country, affiliate link generation and the orders and commissions your links earned. Everything is read-only.
What you need: an AliExpress Portals affiliate account, an Open Platform developer account with an app in the Affiliates category, and a tracking ID. About 15 minutes, plus AliExpress's review of the developer profile and app category.
Setup
- Sign up as an affiliate at https://portals.aliexpress.com and create a tracking ID there; it attributes the commissions of your links.
- At https://openservice.aliexpress.com click Create Account (or sign in), open your profile and choose the developer type Affiliate (individual) or Affiliate (corporation). AliExpress reviews the profile.
- In the App Console click Create, apply for the Affiliates app category, then create the app (the callback URL is not used by this connector, any https address of yours works). The same Open Platform account cannot hold both an Affiliate and a Dropshipping app: for dropshipping use the AliExpress Dropshipping connector with its own account.
- On the app's overview page copy the App Key into
ALIEXPRESS_APP_KEYand the App Secret (click View) intoALIEXPRESS_APP_SECRET, and put your tracking ID inALIEXPRESS_TRACKING_ID. - A new app runs in test status with a low call quota; click Apply Online in the console when you are ready.
How it signs: every call carries app_key, method, a millisecond timestamp, sign_method=sha256 and sign, an upper-case HMAC-SHA256 of all parameters sorted by name, keyed with the app secret. The secret never leaves AnythingMCP. A timestamp more than two hours off is refused, so the host clock must be right.
Where to start
- Product research:
aliexpress_affiliate_search_products(keywords, category, price range, delivery days),aliexpress_affiliate_list_hot_products(raised commission),aliexpress_affiliate_list_categoriesfor category ids. - One product:
aliexpress_affiliate_get_products(up to 50 ids),aliexpress_affiliate_get_sku_details(variants, stock),aliexpress_affiliate_get_shipping(cost and delivery time of one SKU, using thesku_id,target_sale_priceandtax_rateof a search result),aliexpress_affiliate_get_promotions(coupons now). - Campaigns:
aliexpress_affiliate_list_featured_promos, thenaliexpress_affiliate_list_promo_products. - Links:
aliexpress_affiliate_generate_linksturns up to 50 AliExpress URLs into links with your tracking ID. Search and detail results already carry apromotion_link. - Earnings:
aliexpress_affiliate_list_orders(time window and status),aliexpress_affiliate_get_orders(by id).
Units and formats: price filters min_sale_price and max_sale_price are in cents of target_currency; prices in answers are decimal strings with their currency next to them (target_sale_price, target_sale_price_currency). Rates such as commission_rate and discount are percentages as text ("7.0%"). Order times and promotion windows are Pacific time (PST/PDT), YYYY-MM-DD HH:MM:SS. Product ids are long numbers: keep them as text.
Paging: page_no from 1 and page_size up to 50; answers give total_record_count and total_page_no. Ask for fewer fields to keep long lists short.
Answers and errors: results sit under aliexpress_affiliate_<call>_response.resp_result, where resp_code 200 is success and result holds the data; 405 means nothing matched, 402 a bad parameter. Gateway refusals come as error_response with a code: InvalidAppKey or IncompleteSignature (key or secret wrong or not of the same app), InsufficientPermission (the app lacks the API: check the app category and permission group in the console), call-limit codes when the quota is used up (test apps have a small one).
Your AI is two clicks away from AliExpress Affiliate.
Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.