TokConnect Video Top Selling API

[Shop Analytics] The top 10 shoppable videos by estimated revenue over a date range, with revenue, units, views, GPM, ad metrics (CPA, ROAS, ad revenue share), whether it is AI-generated, and the creator.

GitHub OpenAPI

Operations 1

GET /v1/videos/top-selling Top-selling TikTok Shop videos #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tokconnect-com:tokconnect-com-video-top-selling-api"
All apis
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.

Get an API 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 Specification

tokconnect-com-video-top-selling-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tokconnect Com Video Top Selling API
  version: 4.1.0
  contact:
    email: dj@tokconnect.com
    name: TokConnect
    url: https://tokconnect.com/docs/api/
  description: 'Operations tagged video_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] The top 10 shoppable videos by estimated revenue over a date range, with revenue, units, views, GPM, ad metrics (CPA, ROAS, ad revenue share), whether it is AI-generated, and the creator.'
  name: video_top_selling
  x-displayName: Top-selling TikTok Shop videos
paths:
  /v1/videos/top-selling:
    get:
      description: 'This route: top videos by sales.


        [Shop Analytics] The top 10 shoppable videos by estimated revenue over a date range, with revenue, units, views, GPM, ad metrics (CPA, ROAS, ad revenue share), whether it is AI-generated, and the creator. This ranking takes no filters; to study one niche, rank its products with product_top_selling, then use product method=video_sales. Pass a row''s id to video method=transcript or products. Example: {"window":"7d"}.'
      operationId: GET_videos_top_selling
      parameters:
      - 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: '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: 'Shop Analytics methods: custom range start, YYYY-MM-DD.'
        in: query
        name: start
        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: 10
                  currency: USD
                  dataEnd: '2026-10-28'
                  hasMore: false
                  items:
                  - ad: 1
                    ad2Cost: $25.73k
                    ad2Roas: 3.69
                    ad_cpa: $82.20
                    ad_revenue_ratio: 80.00%
                    ad_view_ratio: 28.88%
                    ai_video: 0
                    collect_day: '2026-10-25'
                    content_type: video
                    creator_uid: '7408927728046933038'
                    description: 'I think there’s a clear winner here 😅 #vacuum #stickvacuum #petallergies #shark #sharkpowerproflex '
                    duration: 1m 35s
                    follower_count: 191.3k
                    gpm: $51.56
                    handle: kid.shops
                    id: '7700682843906723103'
                    original_duration: 95.267
                    publish_date: 2026/10/25 15:02:39
                    revenue: $118.63k
                    revenueDiff: 11786900
                    revenue_grouping_rate: -2.0203332575437685
                    revenue_trend:
                    - 0
                    - 0
                    - 379
                    sale: 313
                    views: 2.3m
                    views_trend:
                    - 0
                    - 0
                    - 1681
                  - ad: 1
                    ad2Cost: $23.83k
                    ad2Roas: 3.53
                    ad_cpa: $77.61
                    ad_revenue_ratio: 72.70%
                    ad_view_ratio: 22.75%
                    ai_video: 0
                    collect_day: '2026-02-17'
                    content_type: video
                    creator_uid: '6546693901460832266'
                    description: 'Changed my life. '
                    duration: 2m 41s
                    follower_count: 5m
                    gpm: $42.52
                    handle: _jen_hamilton_
                    id: '7607862589363670285'
                    original_duration: 161.767
                    publish_date: 2026/02/17 10:53:10
                    revenue: $115.74k
                    revenueDiff: -9613500
                    revenue_grouping_rate: -1.9762080055798814
                    revenue_trend:
                    - 84825
                    - 16211
                    - 4901
                    sale: 307
                    views: 2.72m
                    views_trend:
                    - 778386
                    - 334822
                    - 228177
                  - ad: 1
                    ad2Cost: $11.08k
                    ad2Roas: 4.1
                    ad_cpa: $1.35
                    ad_revenue_ratio: 50.33%
                    ad_view_ratio: 20.70%
                    ai_video: 0
                    collect_day: '2026-10-23'
                    content_type: multi_photo
                    creator_uid: '7569137951294620685'
                    description: ''
                    duration: 0m
                    follower_count: 3.19k
                    gpm: $10.21
                    handle: robertco.yuo
                    id: '7699847369348713742'
                    original_duration: 0
                    publish_date: 2026/10/23 09:00:36
                    revenue: $90.33k
                    revenueDiff: -4719000
                    revenue_grouping_rate: -1.9624346998710007
                    revenue_trend:
                    - 11935
                    - 32318
                    - 24508
                    sale: 8212
                    views: 8.84m
                    views_trend:
                    - 1100000
                    - 3300000
                    - 2300000
                  market: US
                  notes:
                  - 'Market US (United States): amounts are in USD.'
                  - Without a keyword the data source returns its fixed overall top 10 for the most recent days (window below), whatever window you ask for. Add a keyword to rank more rows over your own window.
                  see_also: 'Pass a row''s id to video: method=detail, transcript, products, sales.'
                  source: 'TokConnect Shop Analytics (TikTok Shop US). Revenue and units are estimates: units track TikTok''s sold counter; revenue is units times listed price.'
                  window:
                    days: 6
                    end: '2026-10-28'
                    start: '2026-10-23'
                meta:
                  credits_charged: 1
                  credits_remaining: 7906
                  request_id: req_3f9c2a1b7d4e
              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:
                            ad:
                              type: integer
                            ad2Cost:
                              type: string
                            ad2Roas:
                              type: number
                            ad_cpa:
                              type: string
                            ad_revenue_ratio:
                              type: string
                            ad_view_ratio:
                              type: string
                            ai_video:
                              type: integer
                            collect_day:
                              type: string
                            content_type:
                              type: string
                            creator_uid:
                              type: string
                            description:
                              type: string
                            duration:
                              type: string
                            follower_count:
                              type: string
                            gpm:
                              type: string
                            handle:
                              type: string
                            id:
                              type: string
                            original_duration:
                              type: number
                            publish_date:
                              type: string
                            revenue:
                              type: string
                            revenueDiff:
                              type: integer
                            revenue_grouping_rate:
                              type: number
                            revenue_trend:
                              items:
                                type: integer
                              type: array
                            sale:
                              type: integer
                            views:
                              type: string
                            views_trend:
                              items:
                                type: integer
                              type: array
                          type: object
                        type: array
                      market:
                        type: string
                      notes:
                        items:
                          type: string
                        type: array
                      see_also:
                        type: string
                      source:
                        type: string
                      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 videos
      tags:
      - video_top_selling
      x-credits: 2
      x-mcp-method: ''
      x-mcp-tool: video_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