AliExpress Scraper avatar
AliExpress Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
AliExpress Scraper

AliExpress Scraper

epctex/aliexpress-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Effortlessly extract descriptions, images, feedback, questions, prices, and shipping information from AliExpress. Customize country, language, and region preferences for enhanced data gathering.

Actor - Aliexpress Scraper

Aliexpress scraper

Since Aliexpress doesn't provide an API, this actor should help you to retrieve data from it.

The Aliexpress data scraper supports the following features:

  • Scrape product details - you can scrape attributes like images, shipping, and metadata. You can find details below.
  • Scrape product descriptions - you can scrape the description HTML of the product.
  • Scrape feedback on product detail - you can scrape user's feedback (name, country, original content, translated content)
  • Scrape questions of product detail - you can scrape buyer's Q&A of product
  • You can set language, currency, and region for shipping

Aliexpress specific

Don't worry when you get a little bit different products than you saw on the browser page. Aliexpress is ordering products differently for each user.

Need to find product pairs between Aliexpress and another online shop?

Use the AI Product Matcher🔗. This AI model allows you to compare items from different web stores, identifying exact matches and comparing real-time data obtained via web scraping.

With the AI Product Matcher, you can use scraped product data to monitor product matches across the industry, implement dynamic pricing for your website, replace or complement manual mapping, and obtain realistic estimates against your competition for upcoming promo campaigns. Most importantly, it is relatively easy to get started with (just follow this guide) and is able to match thousands of product pairs.

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

Input Parameters

The input of this scraper should be JSON containing the list of pages on Aliexpress that should be visited. Possible fields are:

  • startUrls: (Optional) (Array) List of Aliexpress URLs. You should only provide category detail or product detail URLs.

  • searchTerms: (Optional) (Array) List of terms that can be searched in aliexpress search engine.

  • language: (Optional) (String) Select a language from the list in which will be product's default is English (en_US).

  • shipTo: (Optional) (String) Select the country where the products will be shipped default is US.

  • currency: (Optional) (String) Select the currency in which the product's price will default is USD.

  • searchInSubcategories: (Optional) (Boolean) You can turn off searching in subcategories. Default is true.

  • includeDescription: (Optional) (Boolean) If you want to fetch description HTML you can enable this option. However, keep in mind that fetching description takes one extra request which makes your actor a bit slower and takes a bit much more resources.

  • maxFeedback: (Optional) (Number) Max count of scraped feedback.

  • maxQuestions: (Optional) (Number) Max count of scraped buyer Q&A.

  • maxItems: (Optional) (Number) You can limit scraped products. This should be useful when you search through all subcategories. The default is 1000 products.

  • proxy: (Required) (Proxy Object) Proxy configuration.

  • extendOutputFunction: (Optional) (String) Function that takes a JQuery handle ($) as an argument and returns an object with data.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

Tip

When you want to scrape over a specific listing URL, just copy and paste the link as one of the startUrl.

When you add category URL to startUrls set start and end page and let searchInSubcategories parameter on the logic of the start and end page will be propagated to all subcategories so in fact actors scrape much more products than you assume.

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape many listings as possible. Therefore, it forefronts all listing detail requests. If the actor doesn't block very often it'll scrape 100 listings in 2 minutes with ~0.03-0.05 compute units.

Aliexpress Scraper Input example

1{
2  "searchTerms": ["mobile"],
3  "language": "en_US",
4  "shipTo": "US",
5  "currency": "USD",
6  "includeDescription": false,
7  "proxy":{"useApifyProxy": true},
8  "startUrls":   [
9    { "url": "https://www.aliexpress.com/category/200003482/dresses.html" },
10    { "url": "https://www.aliexpress.com/item/32940810951.html" }
11  ],
12  "maxFeedbacks": 5,
13  "maxQuestions":3
14}

During the Run

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any languague (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Aliexpress actor.

Aliexpress Export

During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.

You can manage the results in any languague (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Aliexpress actor.

Scraped Aliexpress Posts

The structure of each item in Aliexpress products looks like this:

1{
2  "id": 33030949663,
3  "link": "https://www.aliexpress.com/item/33030949663.html?algo_pvid=4f9da8f7-0d3c-4484-9db1-cafaf699a955&algo_expid=4f9da8f7-0d3c-4484-9db1-cafaf699a955-58&btsid=0ab6fab215937737510214942edbed&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_",
4  "ownerMemberId": 220138526,
5  "title": "Ultra Thin Mobile Phone Cases for Xiaomi Mi 9T / 9T Pro Back Cover Case 360 Camera Protective Mi9TPro 9TPro Silicone TPU Coque",
6  "tradeAmount": "2786 orders",
7  "averageStar": "4.7",
8  "descriptionURL": "https://aeproductsourcesite.alicdn.com/product/description/pc/v2/en_US/desc.htm?productId=33030949663&key=H8e670276aa194227861097826443d8f5D.zip&token=b95e1a6f392242c57140d3e166d276ad",
9  "store": {
10    "followingNumber": 9468,
11    "establishedAt": "Oct 3, 2013",
12    "positiveNum": 12506,
13    "positiveRate": "94.7%",
14    "name": "GOINSIE Official Store",
15    "id": 937981,
16    "url": "https://www.aliexpress.com/store/937981",
17    "topRatedSeller": true
18  },
19  "specs": [
20    {
21      "Brand Name": "GOINSIE"
22    },
23    {
24      "Type": "Fitted Case"
25    },
26    {
27      "Features": "Transparent & Clear Soft"
28    },
29    {
30      "Compatible Brand": "Xiaomi"
31    },
32    {
33      "Design": "Plain"
34    },
35    {
36      "Design": "Transparent"
37    },
38    {
39      "Function": "Waterproof"
40    },
41    {
42      "Function": "Dirt-resistant"
43    },
44    {
45      "Function": "Anti-knock"
46    },
47    {
48      "Function": "Heavy Duty Protection"
49    },
50    {
51      "Function": "Adsorption"
52    },
53    {
54      "Model Number": "for Xiaomi Mi 9T / 9T Pro"
55    },
56    {
57      "Status": "In Stock"
58    },
59    {
60      "Delivery": "Free Shipping"
61    }
62  ],
63  "categories": [
64    "All Categories",
65    "Cellphones & Telecommunications",
66    "Phone Bags & Cases",
67    "Fitted Cases"
68  ],
69  "wishedCount": 4791,
70  "quantity": 1258,
71  "photos": [
72    "https://ae01.alicdn.com/kf/H313c225b670445348cddb28c5648c3f70/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg",
73    "https://ae01.alicdn.com/kf/H90116ac8272f4d4dba9b3843b94dbf28i/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg",
74    "https://ae01.alicdn.com/kf/H34a75c2ff0054e939864a990bda3441bs/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg",
75    "https://ae01.alicdn.com/kf/H1c5ffbcaf51943bcaf865635fafebe42D/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg",
76    "https://ae01.alicdn.com/kf/H4b8c575d6ee240d3a8c291309ca5c978n/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg",
77    "https://ae01.alicdn.com/kf/H983e6b11f05e48c38ac899ae11686ffem/Ultra-Thin-Mobile-Phone-Cases-for-Xiaomi-Mi-9T-9T-Pro-Back-Cover-Case-360-Camera.jpg"
78  ],
79  "skuOptions": [
80    {
81      "name": "Material",
82      "values": [
83        "Xiaomi Mi 9T",
84        "Xiaomi Mi 9T Pro"
85      ]
86    },
87    {
88      "name": "Color",
89      "values": [
90        null
91      ]
92    }
93  ],
94  "prices": [
95    {
96      "price": "US $3.39",
97      "attributes": [
98        "PC",
99        "Clear"
100      ]
101    },
102    {
103      "price": "US $3.39",
104      "attributes": [
105        "TPU",
106        "Clear"
107      ]
108    }
109  ],
110  "shipping": [
111    {
112      "provider": "China Post Air Parcel",
113      "isShippable": true,
114      "isFree": true,
115      "deliveryDate": "Jul 24",
116      "from": "China",
117      "to": "United States",
118      "isTracked": false
119    },
120    {
121      "provider": "Seller's Shipping Method",
122      "isShippable": true,
123      "isFree": true,
124      "deliveryDate": "2023-08-12",
125      "from": "China",
126      "to": "United States",
127      "isTracked": false
128    },
129    {
130      "provider": "DHL",
131      "isShippable": true,
132      "isFree": false,
133      "price": "$653.94",
134      "deliveryDate": "Jun 16",
135      "from": "China",
136      "to": "United States",
137      "isTracked": true
138    }
139  ],
140  "companyId": 230202141,
141  "memberId": 220138526,
142  "userFeedbacks": [
143    {
144      "userName": "I***v",
145      "userCountry": "RU",
146      "productType": "Color:Clear",
147      "reviewContent": "The seller is well done, fast delivery, all as in the description.",
148      "reviewTime": "26 Jun 2020 03:40"
149    },
150    {
151      "userName": "A***a",
152      "userCountry": "RU",
153      "productType": "Color:Clear",
154      "reviewContent": "Ordered 04.12.2019, received 25.01.2020 in the Sverdlovsk region.\r\nSilicone Case, transparent, in the hands does not slip, hold in the hand comfortably, went perfectly to the phone, all holes in place,\r\nFingerprints leaves\r\nThe seller is honest, sent",
155      "reviewTime": "25 Jan 2020 21:54"
156    },
157    {
158      "userName": "P***v",
159      "userCountry": "RU",
160      "productType": "Color:Clear",
161      "reviewContent": "Record delivery to Syzran. 12 days! Faster than the phone for which I ordered. A new way of gluing I liked, the films perfectly lay down and perfectly fit in size. Boldly order.",
162      "reviewTime": "22 Jan 2020 04:01"
163    },
164    {
165      "userName": "G***g",
166      "userCountry": "RU",
167      "productType": "Color:Clear",
168      "reviewContent": "Normal silicone case. The side of the cover does not stand for the edges of the screen. The complete case is better.",
169      "reviewTime": "16 May 2020 01:22"
170    },
171    {
172      "userName": "A***v",
173      "userCountry": "RU",
174      "productType": "Color:Clear",
175      "reviewContent": "Everything came quickly, quality. I ordered 2 PCs transparent",
176      "reviewTime": "06 Apr 2020 09:08"
177    }
178  ],
179  "questionAndAnswers": [
180    {
181      "lang": "ru",
182      "totalAnswer": 4,
183      "originalContent": "Подойдёт для xiaomi k20? ",
184      "translateContent": "Suitable for Xiaomi K20?",
185      "answers": [
186        {
187          "lang": "ru",
188          "originalContent": "конечно да",
189          "translateContent": "Of course yes"
190        }
191      ]
192    },
193    {
194      "lang": "es",
195      "totalAnswer": 3,
196      "originalContent": "protege las cámaras??",
197      "translateContent": "Protects the still cameras??",
198      "answers": [
199        {
200          "lang": "ru",
201          "originalContent": "Абсолютно свободное движение. ",
202          "translateContent": "Absolutely free movement."
203        }
204      ]
205    },
206    {
207      "lang": "ru",
208      "totalAnswer": 3,
209      "originalContent": "скольский?",
210      "translateContent": "Skolsky?",
211      "answers": [
212        {
213          "lang": "uk",
214          "originalContent": "нет,как раз норм ",
215          "translateContent": ""
216        }
217      ]
218    },
219    {
220      "lang": "ru",
221      "totalAnswer": 2,
222      "originalContent": "Защитное стекло не поднимает?",
223      "translateContent": "Protective glass does not lift?",
224      "answers": [
225        {
226          "lang": "ru",
227          "originalContent": "ой,бро, это не тот чехол, а этот чехол мне даже не пришел",
228          "translateContent": "Oh, bro, this is not the case, and this case did not even come to me"
229        }
230      ]
231    },
232    {
233      "lang": "ru",
234      "totalAnswer": 2,
235      "originalContent": "Заказал прошло 78 дней не пришло продавец не отвечает УРО Д",
236      "translateContent": "Ordered 78 days passed did not come the seller does not answer the uro D",
237      "answers": [
238        {
239          "lang": "ru",
240          "originalContent": "Мне дошел за три недели, одним пакетом вместе с еще пятью заказами от разных продавцов. ",
241          "translateContent": "I got in three weeks, one package together with five more orders from different sellers."
242        }
243      ]
244    }
245  ]
246}

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.

Developer
Maintained by Community
Actor metrics
  • 23 monthly users
  • 99.7% runs succeeded
  • 0.7 days response time
  • Created in Oct 2019
  • Modified about 20 hours ago