Skip to content

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/topSelling

Treść żądania ​

PoleTypWymaganeOpis
filterobjectNieParametry filtra
orderbyobjectNieParametry sortowania
pageintegerNieNumer strony, domyślnie: 1
pagesizeintegerNieElementów na stronę, domyślnie: 10

page * pagesize <= 500

Zakres pagesize [1, 100]

Opcjonalne wartości filter ​

PoleTypWymaganeOpis
regionstringNieKraj/region
category_idintegerNieKategoria produktu
shop_typeintegerNieTyp sklepu: 1 (sklep marki), 2 (sklep detaliczny)
is_cross_borderintegerNieTransgraniczny: 1 (tak), 0 (nie)
date_infoobjectTakInformacje 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 ​

PoleWymaganeOpis
units_soldNieSprzedaż (malejąco)
usd_gmvNiePrzychó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 ​

PoleTypOpis
shop_infoobjectInformacje o sklepie
rank_categoryobjectKategoria rankingu
total_affiliate_countintegerPowiązani twórcy łącznie
sale_product_countintegerProdukty z aktywną sprzedażą
units_soldintegerSprzedane sztuki
gmvintegerPrzychód (GMV)
usd_gmvintegerPrzychód w USD
units_sold_inc_ratestringTempo wzrostu sprzedaży
gmv_inc_ratestringTempo wzrostu przychodu
currencystringWaluta

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"
}