TokConnect Shop Top Selling API
[Shop Analytics] TikTok Shop sellers ranked by estimated sales over a date range: revenue, units, growth, average price, and revenue split across own accounts, affiliates and the mall.
[Shop Analytics] TikTok Shop sellers ranked by estimated sales over a date range: revenue, units, growth, average price, and revenue split across own accounts, affiliates and the mall.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tokconnect-com:tokconnect-com-shop-top-selling-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Tokconnect Com Shop Top Selling API
version: 4.1.0
contact:
email: dj@tokconnect.com
name: TokConnect
url: https://tokconnect.com/docs/api/
description: 'Operations tagged shop_top_selling across 3 of this provider''s published API definitions: api.tokconnect.com_v1_openapi.json, tokconnect-com-openapi.json, tokconnect.com_openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: Production
url: https://api.tokconnect.com
security:
- bearer: []
- apiKey: []
tags:
- description: '[Shop Analytics] TikTok Shop sellers ranked by estimated sales over a date range: revenue, units, growth, average price, and revenue split across own accounts, affiliates and the mall.'
name: shop_top_selling
x-displayName: Top-selling TikTok Shop sellers
paths:
/v1/shops/top:
get:
description: 'This route: shops ranked by sales.
[Shop Analytics] TikTok Shop sellers ranked by estimated sales over a date range: revenue, units, growth, average price, and revenue split across own accounts, affiliates and the mall. keyword = a shop or brand name, matched loosely, e.g. ''medicube''; not a product type. For the shops behind a product type or category, rank products with product_top_selling, then product method=page on the top items gives their sellerId. Without a keyword: the top 10 shops for the most recent days (about 6). type=brands lists the top 10 brands. No category scope for shops. Up to 100 rows per page with cursor paging, about 500 rows per keyword. sort: revenue, units or growth; order=asc lists lowest first. Filters: revenue, growth, price, revenue source, seller type. region picks the market (default US). Examples: {"keyword":"medicube","window":"90d"}, {"type":"brands","region":"GB"}.'
operationId: GET_shops_top
parameters:
- description: 'Paging: pass the next value from the previous response unchanged. Omit on the first page.'
in: query
name: cursor
required: false
schema:
type: string
- description: compact (default) returns the useful fields; full adds the full raw record (large).
in: query
name: detail
required: false
schema:
default: compact
enum:
- compact
- full
type: string
- description: 'Shop Analytics methods: custom range end, YYYY-MM-DD (capped at the last complete day).'
in: query
name: end
required: false
schema:
type: string
- description: 'A shop or brand NAME, matched loosely against shop names, e.g. ''medicube''. It does not match product types: ''skincare'' finds shops with that word in their name. For the shops behind a product type or category, rank products with product_top_selling (category or a product keyword), call product method=page on the top items for their sellerId, then use shop or call this tool with the brand names found. If keyword is omitted, the result is the top 10 shops for the most recent days (about 6), whatever window is set: pass a shop or brand name when the user wants more than 10 rows or a specific window.'
example: lip oil
in: query
name: keyword
required: false
schema:
type: string
- description: 'Results per page. Max 100 per page; pass next as cursor for the following page. Up to about 500 rows per keyword. Without a keyword: 10 rows. Values above a method''s maximum are lowered and reported in notes.'
example: 3
in: query
name: limit
required: false
schema:
type: integer
- description: desc (default, highest first) or asc (lowest first among the matching rows; pair it with a revenue or units filter to skip dead listings). Applies with a keyword.
in: query
name: order
required: false
schema:
enum:
- desc
- asc
type: string
- description: Filter. Average selling price in the market's currency, e.g. 20-100.
in: query
name: price
required: false
schema:
type: string
- description: 'Market as an ISO country code, default US. Shop Analytics methods: sales data for that market, amounts in its currency. Live methods that take it (search, video detail, creator posts, Shop pages): TikTok as seen in that market where TikTok serves it. Core: US, GB, DE, FR, ES, JP, TH, VN, ID, MY, PH, BR, MX. Extended: PL, IT, NL, IE. Other countries are refused. See shop_regions.'
in: query
name: region
required: false
schema:
type: string
- description: Filter. Shop revenue in the market's currency over the window, e.g. >100000.
in: query
name: revenue
required: false
schema:
type: string
- description: Filter. Revenue growth percent vs the previous window, e.g. >30.
in: query
name: revenue_growth
required: false
schema:
type: string
- description: 'Filter. Main revenue source: own accounts, affiliates, or the mall.'
in: query
name: revenue_source
required: false
schema:
enum:
- SELF_ACCOUNTS
- AFFILIATE
- SHOPPING_MALL
type: string
- description: Filter. BRAND or RETAILER.
in: query
name: seller_type
required: false
schema:
enum:
- BRAND
- RETAILER
type: string
- description: 'Ranking metric: growth, revenue, units. Default revenue. growth favours brand-new items (shown as >999.9%); pair it with a revenue or units filter. Applies with a keyword.'
in: query
name: sort
required: false
schema:
enum:
- growth
- revenue
- units
type: string
- description: 'Shop Analytics methods: custom range start, YYYY-MM-DD.'
in: query
name: start
required: false
schema:
type: string
- description: shops (default) or brands (the top 10 brands for the most recent days; keyword, filters and sort do not apply).
in: query
name: type
required: false
schema:
enum:
- shops
- brands
type: string
- description: 'Shop Analytics methods: date range ending at the last complete day (about 2 days ago). Default 30d. Use start/end for a custom range.'
in: query
name: window
required: false
schema:
enum:
- 7d
- 30d
- 90d
- 180d
- 365d
type: string
responses:
'200':
content:
application/json:
example:
data:
count: 3
currency: USD
dataEnd: '2026-10-28'
hasMore: true
items:
- affiliate_revenue: $192.14k
id: '7495499730147969966'
is_full_service: 0
live_revenue: $38.81k
main_category: '{"pri_main_category":["601450"],"sec_main_category":["601450-856208"],"ter_main_category":["601450-856208-856080"]}'
name: Eternal Perfume Oils
region: US
revenue: $225.43k
revenue_grouping_rate: 7.3%
revenue_trend:
- 6719.6
- 6453.8
- 5580.2
sale: 4036
self_promotion_revenue: $626.06
seller_type: BRAND
shopping_mall_revenue: $32.66k
showcase_revenue: $39.67k
total: 500
unit_price: $55.85
video_revenue: $146.95k
- affiliate_revenue: $32.13k
id: '7495638404827024204'
is_full_service: 0
live_revenue: $13.74k
main_category: '{"pri_main_category":["601450"],"sec_main_category":["601450-848648"],"ter_main_category":["601450-848648-601534"]}'
name: The Lip Bar
region: US
revenue: $45.24k
revenue_grouping_rate: -18.3%
revenue_trend:
- 690
- 1138
- 1264
sale: 2784
self_promotion_revenue: $8.10k
seller_type: BRAND
shopping_mall_revenue: $5.02k
showcase_revenue: $7.76k
total: 500
unit_price: $16.25
video_revenue: $23.73k
- affiliate_revenue: $13.63k
id: '8651629413806347145'
is_full_service: 1
live_revenue: $2.46k
main_category: '{"pri_main_category":["601152"],"sec_main_category":["601152-842888"],"ter_main_category":["601152-842888-601262"]}'
name: KISSLIP
region: US
revenue: $40.99k
revenue_grouping_rate: 8.8%
revenue_trend:
- 685.4420000000001
- 828.409
- 1040.042
sale: 3185
self_promotion_revenue: $1.88k
seller_type: RETAILER
shopping_mall_revenue: $25.48k
showcase_revenue: $34.26k
total: 500
unit_price: $12.87
video_revenue: $4.27k
keyword: lip oil
market: US
next: eyJwYWdlIjoyLCJzaXplIjozfQ
notes:
- 'Market US (United States): amounts are in USD.'
see_also: 'Pass a row''s id (sellerId) to shop: method=sales, trend, products, creators, or store for the live storefront.'
sortedBy: revenue
source: 'TokConnect Shop Analytics (TikTok Shop US). Revenue and units are estimates: units track TikTok''s sold counter; revenue is units times listed price.'
totalMatched: 500
window:
days: 30
end: '2026-10-28'
start: '2026-09-29'
meta:
credits_charged: 1
credits_remaining: 7906
request_id: req_3f9c2a1b7d4e
next_cursor: eyJwYWdlIjoyLCJzaXplIjozfQ
schema:
properties:
data:
description: The tool's result. Compact by default; pass detail=full for the complete record.
properties:
count:
type: integer
currency:
type: string
dataEnd:
type: string
hasMore:
type: boolean
items:
items:
properties:
affiliate_revenue:
type: string
id:
type: string
is_full_service:
type: integer
live_revenue:
type: string
main_category:
type: string
name:
type: string
region:
type: string
revenue:
type: string
revenue_grouping_rate:
type: string
revenue_trend:
items:
type: number
type: array
sale:
type: integer
self_promotion_revenue:
type: string
seller_type:
type: string
shopping_mall_revenue:
type: string
showcase_revenue:
type: string
total:
type: integer
unit_price:
type: string
video_revenue:
type: string
type: object
type: array
keyword:
type: string
market:
type: string
next:
type: string
notes:
items:
type: string
type: array
see_also:
type: string
sortedBy:
type: string
source:
type: string
totalMatched:
type: integer
window:
properties:
days:
type: integer
end:
type: string
start:
type: string
type: object
type: object
meta:
$ref: '#/components/schemas/Meta'
next_cursor:
description: 'Present when there is another page: pass it back as cursor.'
type: string
required:
- data
- meta
type: object
description: 'OK. The call was charged: 1 credit, or 2 for a Shop sales lookup.'
headers:
Request-Id:
description: Quote it to support.
schema:
type: string
TokConnect-Credits-Charged:
description: 'Credits this call was charged: 0 when it failed, otherwise the route''s x-credits.'
schema:
type: integer
TokConnect-Credits-Remaining:
description: Credits left this period.
schema:
type: integer
'400':
$ref: '#/components/responses/E400'
'401':
$ref: '#/components/responses/E401'
'402':
$ref: '#/components/responses/E402'
'403':
$ref: '#/components/responses/E403'
'404':
$ref: '#/components/responses/E404'
'429':
$ref: '#/components/responses/E429'
'502':
$ref: '#/components/responses/E502'
'503':
$ref: '#/components/responses/E503'
summary: Top-selling TikTok Shop sellers
tags:
- shop_top_selling
x-credits: 2
x-example-params:
keyword: lip oil
limit: 3
x-mcp-method: ''
x-mcp-tool: shop_top_selling
servers:
- description: Production
url: https://api.tokconnect.com
components:
responses:
E404:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: No such route, or TikTok has nothing at that id (deleted, private or never existed).
request_id: req_0a1b2c3d4e5f
type: not_found
schema:
$ref: '#/components/schemas/Error'
description: No such route, or TikTok has nothing at that id (deleted, private or never existed).
E429:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: Over your plan's requests per minute or calls at once. Wait for the Retry-After seconds. Not charged.
request_id: req_0a1b2c3d4e5f
type: rate_limited
schema:
$ref: '#/components/schemas/Error'
description: Over your plan's requests per minute or calls at once. Wait for the Retry-After seconds. Not charged.
E400:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: An argument is missing, unknown or out of range. The message names it and says what the route takes. Not charged.
request_id: req_0a1b2c3d4e5f
type: invalid_request
schema:
$ref: '#/components/schemas/Error'
description: An argument is missing, unknown or out of range. The message names it and says what the route takes. Not charged.
E402:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: 'No credits left this period (credits_exhausted), or the last payment did not go through (billing_hold: update the card on the account page). Not charged.'
request_id: req_0a1b2c3d4e5f
type: credits_exhausted
schema:
$ref: '#/components/schemas/Error'
description: 'No credits left this period (credits_exhausted), or the last payment did not go through (billing_hold: update the card on the account page). Not charged.'
E403:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: The API needs a paid plan (Starter, Growth, Pro or Enterprise). Not charged.
request_id: req_0a1b2c3d4e5f
type: plan_required
schema:
$ref: '#/components/schemas/Error'
description: The API needs a paid plan (Starter, Growth, Pro or Enterprise). Not charged.
E503:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: TokConnect is at capacity. Retry after a few seconds. Not charged.
request_id: req_0a1b2c3d4e5f
type: server_busy
schema:
$ref: '#/components/schemas/Error'
description: TokConnect is at capacity. Retry after a few seconds. Not charged.
E502:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: TokConnect could not read this answer from TikTok. Retry shortly. Not charged.
request_id: req_0a1b2c3d4e5f
type: upstream_failed
schema:
$ref: '#/components/schemas/Error'
description: TokConnect could not read this answer from TikTok. Retry shortly. Not charged.
E401:
content:
application/json:
example:
error:
charged: false
docs: https://tokconnect.com/docs/api/errors/
message: 'No API key, or the key is revoked. Send X-API-Key or Authorization: Bearer.'
request_id: req_0a1b2c3d4e5f
type: unauthorized
schema:
$ref: '#/components/schemas/Error'
description: 'No API key, or the key is revoked. Send X-API-Key or Authorization: Bearer.'
schemas:
Meta:
properties:
credits_charged:
description: 1 on success.
type: integer
credits_remaining:
description: Credits left this period, when known.
type: integer
request_id:
description: Quote it to support.
type: string
type: object
Error:
properties:
error:
properties:
charged:
description: 'Always false: failed calls are not charged.'
type: boolean
docs:
format: uri
type: string
message:
description: What went wrong and what to do.
type: string
request_id:
type: string
retry_after:
description: Seconds to wait, on 429 and 503.
type: integer
type:
description: 'Machine code: invalid_request, unauthorized, credits_exhausted, billing_hold, plan_required, forbidden (a browser request from a site that may not call the API), not_found, rate_limited, too_concurrent, upstream_failed, server_busy.'
type: string
required:
- type
- message
type: object
required:
- error
type: object
securitySchemes:
apiKey:
in: header
name: X-API-Key
type: apiKey
bearer:
scheme: bearer
type: http
externalDocs:
description: Guides and reference
url: https://tokconnect.com/docs/api/
x-refined-from:
- api.tokconnect.com_v1_openapi.json
- tokconnect-com-openapi.json
- tokconnect.com_openapi.json
x-tagGroups:
- name: Products
tags:
- product
- product_top_selling
- name: Shops
tags:
- shop
- shop_browse
- shop_top_selling
- name: Creators
tags:
- creator
- creator_commerce
- creator_playlist
- creator_search
- creator_top_selling
- name: Videos
tags:
- video
- video_feed
- video_search
- video_top_selling
- name: LIVE
tags:
- live
- live_search
- live_top_selling
- name: Categories
tags:
- category_trends
- name: Charts
tags:
- charts
- name: Ads and Creative Center
tags:
- ad_library
- creative_center
- name: Demand and keywords
tags:
- demand_find_topics
- demand_keywords
- demand_topic
- name: Hashtags and sounds
tags:
- hashtag
- hashtag_search
- sound
- sound_search
- name: Places
tags:
- place
- place_search
- name: Helpers
tags:
- pick_comment_winners
- name: Markets and reference
tags:
- reference
- shop_regions