TokConnect Product Top Selling API
[Shop Analytics] Products ranked by estimated sales over a date range: revenue, units, video/LIVE/showcase split, growth, price, commission, creators, launch date, daily trend.
[Shop Analytics] Products ranked by estimated sales over a date range: revenue, units, video/LIVE/showcase split, growth, price, commission, creators, launch date, daily trend.
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-product-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 Product Top Selling API
version: 4.1.0
contact:
email: dj@tokconnect.com
name: TokConnect
url: https://tokconnect.com/docs/api/
description: 'Operations tagged product_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] Products ranked by estimated sales over a date range: revenue, units, video/LIVE/showcase split, growth, price, commission, creators, launch date, daily trend.'
name: product_top_selling
x-displayName: Top-selling TikTok Shop products
paths:
/v1/products/top:
get:
description: 'This route: products ranked by sales.
[Shop Analytics] Products ranked by estimated sales over a date range: revenue, units, video/LIVE/showcase split, growth, price, commission, creators, launch date, daily trend. keyword = words in product titles; category = a category name or id (levels 1-3, several allowed; no keyword needed); both together narrow further. With neither, the result is the top 10 products for the most recent days (about 6). Up to 100 rows per page with cursor paging, about 700 rows per keyword (max_rows up to 3,000 in the US). sort: revenue, units, price, growth or creators; order=asc lists lowest first. Filters: revenue, units, growth, price, commission, creators, launch date, channel, rating, seller type, shipping. region picks the market (default US). Shopper''s live view: shop_browse. Examples: {"category":"Skincare","launched_within_days":"30"}, {"keyword":"lip oil","region":"DE","sort":"units"}.'
operationId: GET_products_top
parameters:
- description: Filter. PUBLIC_PLAN = open affiliate plan; NON_AFFILIATE = not open to affiliates.
in: query
name: affiliate
required: false
schema:
enum:
- PUBLIC_PLAN
- NON_AFFILIATE
type: string
- description: 'Narrow to one or more Shop categories (up to 5), by name or numeric id, levels 1 to 3: ["Skincare"], ["Pet Supplies"], ["Beauty & Personal Care","Health"] or ["601450"]. Without a keyword the products of the category are found by merging several generic keyword searches (a keyword is needed), and the result says how many keyword sweeps and distinct rows that gave. Find names and ids with category_trends method=tree.'
in: query
name: category
required: false
schema:
items:
type: string
type: array
- description: Filter. Affiliate commission percent, e.g. 15-35.
in: query
name: commission
required: false
schema:
type: string
- description: Filter. Percent of creators who made a sale, e.g. >45.
in: query
name: creator_conversion
required: false
schema:
type: string
- description: Filter. Number of creators selling it, e.g. 10-50.
in: query
name: creators
required: false
schema:
type: string
- 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: 'Words from product titles, e.g. ''vitamin c serum'' or ''lip oil''. Ranks every matching product over your window. If keyword and category are both omitted, the result is the top 10 products for the most recent days (about 6), whatever window is set: pass a keyword or category 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: Filter. Only products launched in the last N days.
in: query
name: launched_within_days
required: false
schema:
enum:
- '3'
- '7'
- '30'
- '180'
- '365'
type: string
- description: 'Results per page. Max 100 per page; pass next as cursor for the following page. Up to about 700 rows per keyword (max_rows scans up to 3,000 in the US). Without a keyword or category: 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: Scan up to this many matching products (101-3000) before sorting, to go past the 700-row cap; the top limit rows are returned. Needs keyword; US market only; not with category.
in: query
name: max_rows
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 or category.
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 or 20-100.
in: query
name: price
required: false
schema:
type: string
- description: Filter. Product rating, e.g. >4.5.
in: query
name: rating
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. Revenue in the market''s currency over the window: a-b, <a or >b, e.g. 1000-10000.'
in: query
name: revenue
required: false
schema:
type: string
- description: Filter. Revenue growth vs the previous equal window, percent, e.g. >30.
in: query
name: revenue_growth
required: false
schema:
type: string
- description: 'Filter. Where the revenue came from: VIDEO, LIVE or SHOWCASE (shop tab and search). Several: comma separated, e.g. VIDEO,LIVE. Values: VIDEO, LIVE, SHOWCASE.'
in: query
name: sales_channel
required: false
schema:
type: string
- description: 'Filter. Who sold it: the seller''s own accounts, independent affiliates, or the Shop mall.'
in: query
name: seller_type
required: false
schema:
enum:
- BELONGED_TO_SELLER
- INDEPENDENT
- SHOPPING_MALL
type: string
- description: Filter. local = ships from warehouses in the market; global = cross-border.
in: query
name: shipping
required: false
schema:
enum:
- local
- global
type: string
- description: 'Ranking metric: creators, growth, price, 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 or category.'
in: query
name: sort
required: false
schema:
enum:
- creators
- growth
- price
- revenue
- units
type: string
- description: 'Shop Analytics methods: custom range start, YYYY-MM-DD.'
in: query
name: start
required: false
schema:
type: string
- description: Filter. Units sold over the window, e.g. 500-5000 or >10000.
in: query
name: units
required: false
schema:
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:
- commission_rate: 13%
creator_conversion_ratio: 0.47589952477936187
creator_num: 1473
delivery_type: local
id: '1731896769144001226'
is_full_service: 0
is_overseas: 0
is_tokopedia: 0
launch_date: '2025-10-18'
live_revenue: $5.19k
max_real_price: $13.92
min_real_price: $13.92
pri_cate_id: 601450
product_rating: 4.4
product_title: Hydrating Lip Gloss - High Shine & Tinted, Infused with Hyaluronic Acid, Jojoba Oil & Shea Butter
revenue: $285.28k
revenue_grouping_rate: 16.2%
revenue_trend:
- 4760
- 0
- 0
sale: 35660
sec_cate_id: 848648
shipping_fee: $0.00
showcase_revenue: $112.00
ter_cate_id: 601534
total: 407
unit_price: $8.00
video_revenue: $279.98k
- commission_rate: 15%
creator_conversion_ratio: 0.47819767441860467
creator_num: 688
delivery_type: local
id: '1732111846411833635'
is_full_service: 0
is_overseas: 0
is_tokopedia: 0
launch_date: '2025-12-02'
live_revenue: $2.72k
max_real_price: $14.00
min_real_price: $14.00
pri_cate_id: 601450
product_rating: 4.6
product_title: e.l.f. Glow Reviver Lip Oil Stick, Nourishing Lip Oil Stick Infused with Squalane Shea Butter & Jojoba Oil for Buildable Color & Soft Shine 3.3mL
revenue: $177.48k
revenue_grouping_rate: 25.6%
revenue_trend:
- 2700
- 5480
- 8200
sale: 17748
sec_cate_id: 848648
shipping_fee: $0.00
showcase_revenue: $30.00
ter_cate_id: 601534
total: 407
unit_price: $10.00
video_revenue: $174.73k
- commission_rate: 13%
creator_conversion_ratio: 0.4717948717948718
creator_num: 780
delivery_type: local
id: '1729440860171702516'
is_full_service: 0
is_overseas: 0
is_tokopedia: 0
launch_date: '2024-04-10'
live_revenue: $17.58k
max_real_price: $19.50
min_real_price: $15.00
pri_cate_id: 601450
product_rating: 4.2
product_title: Nooni Korean Apple Lip Oil + Lip Stain | Glossy Lip Stain, Tinting & Long Lasting, Moisturizing Lip Care (17 options) Hydrate Lipgloss Lipstick Makeup Glossy Hydrating Moisturizer Plump Transfer-proof
revenue: $169.86k
revenue_grouping_rate: -3.2%
revenue_trend:
- 3795
- 4365
- 5115
sale: 11324
sec_cate_id: 848648
shipping_fee: $0.00
showcase_revenue: $330.00
ter_cate_id: 601534
total: 407
unit_price: $15.00
video_revenue: $151.95k
keyword: lip oil
market: US
next: eyJwYWdlIjoyLCJzaXplIjozfQ
notes:
- 'Market US (United States): amounts are in USD.'
see_also: 'Pass a row''s id to product: method=trend (daily), creators (who sells it), video_sales, page (live price and stock).'
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: 407
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:
commission_rate:
type: string
creator_conversion_ratio:
type: number
creator_num:
type: integer
delivery_type:
type: string
id:
type: string
is_full_service:
type: integer
is_overseas:
type: integer
is_tokopedia:
type: integer
launch_date:
type: string
live_revenue:
type: string
max_real_price:
type: string
min_real_price:
type: string
pri_cate_id:
type: integer
product_rating:
type: number
product_title:
type: string
revenue:
type: string
revenue_grouping_rate:
type: string
revenue_trend:
items:
type: integer
type: array
sale:
type: integer
sec_cate_id:
type: integer
shipping_fee:
type: string
showcase_revenue:
type: string
ter_cate_id:
type: integer
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 products
tags:
- product_top_selling
x-credits: 2
x-example-params:
keyword: lip oil
limit: 3
x-mcp-method: ''
x-mcp-tool: product_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