Ranking sklepów – Najlepiej sprzedające się
Wprowadzenie
Pobierz dane rankingu sprzedaży sklepów TikTok. Obsługiwane funkcje:
- Obsługuje ustawianie parametrów filtra
- Obsługuje niestandardowe sortowanie wyników
Punkt końcowy API
bash
POST /shop/v1/rank/topSellingTreść żądania
| Pole | Typ | Wymagane | Opis |
|---|---|---|---|
filter | object | Nie | Parametry filtra |
orderby | object | Nie | Parametry sortowania |
page | integer | Nie | Numer strony, domyślnie: 1 |
pagesize | integer | Nie | Elementów na stronę, domyślnie: 10 |
page*pagesize<= 500
Zakres
pagesize[1, 100]
Opcjonalne wartości filter
| Pole | Typ | Wymagane | Opis |
|---|---|---|---|
region | string | Nie | Kraj/region |
category_id | integer | Nie | Kategoria produktu |
shop_type | integer | Nie | Typ sklepu: 1 (sklep marki), 2 (sklep detaliczny) |
is_cross_border | integer | Nie | Transgraniczny: 1 (tak), 0 (nie) |
date_info | object | Tak | Informacje o dacie |
Zakres region:
['US','GB','MX','ES','DE','IT','FR','PT','NL','BE','AT','PL','ID','VN','MY','TH','PH','BR','JP','SG']
Opcjonalne wartości orderby
| Pole | Wymagane | Opis |
|---|---|---|
units_sold | Nie | Sprzedaż (malejąco) |
usd_gmv | Nie | Przychód (malejąco) |
Przykład żądania
bash
curl 'https://openapi.fastmoss.com/shop/v1/rank/topSelling' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"region": "US",
"category_id": 14,
# "shop_type": 1,
# "is_cross_border": 1,
"date_info": {
"type": "day",
"value": "2026-04-01"
}
# "date_info": {
# "type": "week",
# "value": "2026-05"
# },
# "date_info": {
# "type": "month",
# "value": "2026-03"
# }
},
"orderby": [
{
"field": "units_sold",
"order": "desc"
}
# ,
# {
# "field": "usd_gmv",
# "order": "desc",
# }
],
"page": 1,
"pagesize": 10
}'Treść odpowiedzi
data.total
Łączna liczba elementów w wyniku.
data.list
| Pole | Typ | Opis |
|---|---|---|
shop_info | object | Informacje o sklepie |
rank_category | object | Kategoria rankingu |
total_affiliate_count | integer | Powiązani twórcy łącznie |
sale_product_count | integer | Produkty z aktywną sprzedażą |
units_sold | integer | Sprzedane sztuki |
gmv | integer | Przychód (GMV) |
usd_gmv | integer | Przychód w USD |
units_sold_inc_rate | string | Tempo wzrostu sprzedaży |
gmv_inc_rate | string | Tempo wzrostu przychodu |
currency | string | Waluta |
Przykład odpowiedzi
json
{
"code": 0,
"data": {
"list": [
{
"shop_info": {
"seller_id": 7496304415144774132,
"name": "medicube UK",
"brand": "",
"seller_company": "",
"avatar": "https://s.500fd.com/tt_shop/26ecba0b60364ec2a9cfc0eefe829db5~tplv-t5fjg24jzw-resize-png:300:300.png",
"region": "GB",
"currency": "GBP",
"product_count": 51,
"shop_rating": 5,
"main_category": {
"category_id": 14,
"name": "Beauty & Personal Care"
},
"is_fully_managed": 0,
"is_cross_border": 0,
"shop_type": 1,
"status": 1
},
"rank_category": { "category_id": 0, "name": "" },
"total_affiliate_count": 7986,
"sale_product_count": 53,
"units_sold": 5769,
"gmv": 64774.72,
"usd_gmv": 80320.65,
"units_sold_inc_rate": "10.75%",
"gmv_inc_rate": "7.73%",
"currency": "GBP"
}
],
"total": 500,
"date_type": "day",
"date_value": "2026-04-06"
},
"message": "",
"timestamp": 1775701062,
"request_id": "f273e537-f858-9e03-c15a-22a2acc672e9"
}