AliExpress
AliExpress Search API
Search AliExpress products by keyword: price with discount, rating, units sold (the sold badge and the exact order count), ship-from country, delivery estimate and images, plus related search terms. 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/jsonquerystringrequiredSearch terms.
Example: usb c hub
category_idstringRestrict the search to one AliExpress category id.
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/search",
headers={"Authorization": "Bearer sk_live_your_key"},
json={"query": "usb c hub", "sort_by": "orders"},
timeout=60,
)
print(res.json())Response