Docs
Log in
Use the JS token

AliExpress scrapers work best with your JavaScript token.

API usage

Add &scraper=aliexpress-product to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.aliexpress.com/item/1005008227636051.html' \
  --data-urlencode 'scraper=aliexpress-product' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.aliexpress.com/item/1005008227636051.html',
    {'scraper': 'aliexpress-product'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.aliexpress.com/item/1005008227636051.html',
  { scraper: 'aliexpress-product' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.aliexpress.com/item/1005008227636051.html', scraper: 'aliexpress-product')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.aliexpress.com/item/1005008227636051.html

Response shape

JSON response body. Field types may be null when the source page omits the value.

product_id
string
Product ID.
title
string
Title.
price
string
Price.
original_price
string | null
Pre-discount price.
discount_percentage
string | null
Discount.
rating
number
Rating.
reviews_count
integer
Reviews.
orders_count
integer
Total orders.
images
array
Image URLs.
variants
array
Variant options.
shipping
object
Shipping methods, costs, deliveries.
store
object
Store metadata.

Sample response

{
  "product_id": "1005008227636051",
  "title": "Wireless Bluetooth Headphones",
  "price": "$18.99",
  "original_price": "$45.00",
  "rating": 4.8,
  "orders_count": 5240
}