qstring
Product search query.
https://api.sandbase.ai/v1/api/aliexpress/search/productsSearch AliExpress products by keyword with sort, category, brand, price, locale, region and currency filters.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Search AliExpress products by keyword with sort, category, brand, price, locale, region and currency filters.
The response is the platform's original data structure.
curl -X POST "https://api.sandbase.ai/v1/api/aliexpress/search/products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "phone case"}'
| Name | Type | Required | Description |
|---|---|---|---|
q | string | No | Product search query. |
page | string | No | One-based page number for pagination. |
sort | string | No | Sort order for product search results. |
catId | string | No | Category ID used to filter product search results. |
brandId | string | No | Brand ID used to filter product search results. |
loc | string | No | Location filter for product search results. |
switches | string | No | Search switches used to select optional result features. |
attr | string | No | Product attribute filter for search results. |
startPrice | number | No | Minimum product price filter, inclusive. |
endPrice | number | No | Maximum product price filter, inclusive. |
locale | string | No | Locale used for the AliExpress response. |
region | string | No | AliExpress marketplace region. |
currency | string | No | Currency code used for product prices. |
Flat price per call. Failed calls and empty results are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/aliexpress/search/products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "phone case",
"sort": "default"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
qstringProduct search query.
pagestringOne-based page number for pagination.
sortstringSort order for product search results.
기본값: "default"
가능한 값: default, salesDesc, priceAsc, priceDesc
catIdstringCategory ID used to filter product search results.
brandIdstringBrand ID used to filter product search results.
locstringLocation filter for product search results.
switchesstringSearch switches used to select optional result features.
attrstringProduct attribute filter for search results.
startPricenumberMinimum product price filter, inclusive.
endPricenumberMaximum product price filter, inclusive.
localestringLocale used for the AliExpress response.
regionstringAliExpress marketplace region.
currencystringCurrency code used for product prices.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
AliExpress | $0.014286 / 호출 | JSON |
AliExpress | 호출당 $0.00085부터 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/aliexpress/search/products에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.014286, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: q (string), page (string), sort(default, salesDesc, priceAsc, priceDesc 중 하나), catId (string), brandId (string) 및 loc (string) 외 7개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식).
아니요. AliExpress Product Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. AliExpress API 액세스를 별도로 신청할 필요는 없습니다.