GroundsocialDocs

API · AliExpress

GET /aliexpress/search

Search AliExpress products.

RequestGET /v1/aliexpress/search
Operation idaliexpress.search.all
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search AliExpress products.

Query parameters

NameTypeRequiredDescription
querystringyesSearch words. Example: phone case.
pageintegerno
page_sizeintegerno
sort_by"price_low" | "price_high" | "most_sold" | "least_sold"noOne of price_low, price_high, most_sold, least_sold.
min_pricenumber | nullno
max_pricenumber | nullno
category_idstringno

Responses

StatusMeaningSchema
200A page of products.AliExpressSearch
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Nothing matched.Error
429Too many requests. Wait for Retry-After seconds.Error
503AliExpress is temporarily unavailable. Retryable; nothing was charged.Error

AliExpressSearch fields

FieldTypeDescription
querystring
pagenumber
page_sizenumber | null
totalnumber | null
productsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.