샵 검색
소개
키워드 또는 필터 조건으로 샵 정보를 조회합니다. 지원 기능:
- 퍼지 검색 지원
- 필터 파라미터 지원
- 결과 정렬 사용자 지정 지원
API 엔드포인트
bash
POST /shop/v1/search요청 본문
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
keywords | string | 아니요 | 검색 키워드 |
filter | object | 아니요 | 필터 파라미터 |
orderby | array | 아니요 | 정렬 파라미터 |
page | integer | 아니요 | 페이지 번호, 기본값: 1 |
pagesize | integer | 아니요 | 페이지당 항목 수, 기본값: 10 |
page*pagesize<= 5000
pagesize범위 [10, 100]
filter 선택 값
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
seller_name | string | 아니요 | 샵 이름 |
seller_id | string | 아니요 | 샵 ID |
creator_uid | string | 아니요 | 크리에이터 UID |
creator_unique_id | string | 아니요 | 크리에이터 고유 ID: @xxxxxx |
brand_name | string | 아니요 | 브랜드 이름 |
rating_range | object | 아니요 | 샵 평점 범위, 예: {'min': 1, 'max': 5} |
creator_range | object | 아니요 | 크리에이터 수 범위, 예: {'min': 1, 'max': 123} |
is_sshop | boolean | 아니요 | 완전 위탁 샵인지 |
is_local | boolean | 아니요 | 로컬 샵인지 |
category_id | integer | 아니요 | 주요 카테고리 |
region | string | 아니요 | 지역 코드 |
사용 가능한 지역 코드:
['US','GB','MX','ES','DE','IT','FR','PT','NL','BE','AT','PL','ID','VN','MY','TH','PH','BR','JP','SG']
orderby 선택 값
| 필드 | 필수 | 설명 |
|---|---|---|
day7_units_sold | 아니요 | 7일 판매 수량 (내림차순) |
day7_gmv | 아니요 | 7일 매출 (내림차순) |
total_units_sold | 아니요 | 총 판매 수량 (내림차순) |
total_gmv | 아니요 | 총 매출 (내림차순) |
요청 예시
bash
curl 'https://openapi.fastmoss.com/shop/v1/search'' ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"keywords":"",
"filter": {
"region": "US",
"seller_name": "xxxxx"
},
"orderby": [{
"field": "day7_units_sold",
"order": "desc"
}],
"page": 1,
"pagesize": 10
}'응답 본문
data.total
- 타입: integer
- 설명: 결과 총개수
data.list
| 필드 | 타입 | 설명 |
|---|---|---|
seller_id | string | 샵 ID |
category_id | array | 상품 카테고리 |
uid | string | UID |
region | string | 지역 |
name | string | 샵 이름 |
brand | string | 브랜드 |
shop_rating | integer | 샵 평점 |
total_units_sold | integer | 총 판매 수량 |
total_gmv | integer | 총 매출 |
day7_units_sold | integer | 7일 판매 수량 |
day7_total_gmv | integer | 7일 매출 |
is_local | integer | 로컬 샵인지 |
is_sshop | integer | 완전 위탁 샵인지 |
on_sale_product_count | integer | 판매 중 상품 수 |
affiliate_creator_count | integer | 제휴 크리에이터 수 |
data.list.creator
| 필드 | 타입 | 설명 |
|---|---|---|
uid | string | 크리에이터 UID |
avatar | string | 크리에이터 아바타 |
region | string | 크리에이터 지역 |
nickname | string | 크리에이터 닉네임 |
unique_id | string | 크리에이터 고유 ID |
follower_count | integer | 크리에이터 팔로워 수 |
category_id | integer | 크리에이터 카테고리 ID |
category_name | string | 크리에이터 카테고리 이름 |
응답 예시
json
{
"code": 0,
"data": {
"list": [
{
"seller_id": "7496169538916026807",
"category_id": ["3", "839944"],
"uid": "7502001270334194734",
"region": "US",
"name": "YOUNG",
"brand": "",
"shop_rating": 37,
"total_units_sold": 0,
"total_gmv": 0,
"day7_units_sold": 0,
"day7_total_gmv": 0,
"is_local": 0,
"is_sshop": 0,
"on_sale_product_count": 1573,
"affiliate_creator_count": 0,
"creator": {
"uid": "",
"avatar": "",
"region": "",
"nickname": "",
"unique_id": "",
"follower_count": 0,
"category_id": 0,
"category_name": ""
}
}
],
"total": 1
},
"message": "",
"timestamp": 1744797551,
"request_id": "6f12def3-6946-8c55-ef98-2c2b37af867e"
}