AliExpress
AliExpress Category API
Products in one AliExpress category, with the same product fields and filters as search plus the category path. Sort by orders for the category's best sellers. Costs 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsoncategory_idstringrequiredAliExpress category id (the number in a /category/<id>/... URL).
Example: 44
pageintegerResults page, 1-based (60 items per full page).
sort_byenum<string>default:best_matchbest_match (AliExpress's own default), orders (units sold), price_low or price_high.
min_pricenumberMinimum price, in the selected currency.
max_pricenumberMaximum price, in the selected currency.
ship_fromstringOnly items shipped from this 2-letter country (e.g. US for local warehouses, CN). Omit for all origins.
free_shippingbooleanOnly items with free shipping.
ship_tostringdefault:US2-letter ISO destination country. Changes prices, VAT, delivery estimates and which items appear at all, because AliExpress filters by shippability.
currencystringdefault:USD3-letter ISO currency for returned prices.
Request
import requests
res = requests.post(
"https://api.scavio.dev/api/v1/aliexpress/category",
headers={"Authorization": "Bearer sk_live_your_key"},
json={"category_id": "44", "sort_by": "orders"},
timeout=60,
)
print(res.json())Response