TokConnect Hashtag API
One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags.
One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags.
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-hashtag-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 Hashtag API
version: 4.1.0
contact:
email: dj@tokconnect.com
name: TokConnect
url: https://tokconnect.com/docs/api/
description: 'Operations tagged hashtag 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: 'One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags.'
name: hashtag
x-displayName: One hashtag
paths:
/v1/hashtags/{id}:
get:
description: 'This route: views, video count, description.
One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags. Example: {"id":"229207","method":"videos","sort":"newest"}.'
operationId: GET_hashtags_id
parameters:
- description: Hashtag id (hashtags[].id).
example: '504245'
in: path
name: id
required: true
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: '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
responses:
'200':
content:
application/json:
example:
data:
description: From routines to glow ups, discover how the skincare community on TikTok keeps their skin cared for.
id: '504245'
name: SkinCare
url: https://www.tiktok.com/tag/SkinCare
videos: 62776858
views: 1002857221064
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:
description:
type: string
id:
type: string
name:
type: string
url:
type: string
videos:
type: integer
views:
type: integer
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: One hashtag · detail
tags:
- hashtag
x-credits: 1
x-example-params:
id: '504245'
x-mcp-method: detail
x-mcp-tool: hashtag
servers:
- description: Production
url: https://api.tokconnect.com
/v1/hashtags/{id}/related:
get:
description: 'This route: hashtags TikTok relates to it.
One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags. Example: {"id":"229207","method":"videos","sort":"newest"}.'
operationId: GET_hashtags_id_related
parameters:
- description: Hashtag id (hashtags[].id).
example: '504245'
in: path
name: id
required: true
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: Results per page. videos max 50, related max 20. Values above a method's maximum are lowered and reported in notes.
example: 3
in: query
name: limit
required: false
schema:
type: integer
responses:
'200':
content:
application/json:
example:
data:
hasMore: false
hashtags:
- id: '55253017'
name: skincareproducts
url: https://www.tiktok.com/tag/skincareproducts
videos: 1728190
views: 22631704765
- id: '7024790'
name: skin_care
url: https://www.tiktok.com/tag/skin_care
videos: 33779
views: 481670171
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:
hasMore:
type: boolean
hashtags:
items:
properties:
id:
type: string
name:
type: string
url:
type: string
videos:
type: integer
views:
type: integer
type: object
type: array
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: One hashtag · related
tags:
- hashtag
x-credits: 1
x-example-params:
id: '504245'
limit: 3
x-mcp-method: related
x-mcp-tool: hashtag
servers:
- description: Production
url: https://api.tokconnect.com
/v1/hashtags/{id}/videos:
get:
description: 'This route: videos using the hashtag.
One hashtag (id from hashtag_search or hashtags[].id on a post): detail, its videos (hot or newest), or related hashtags. Example: {"id":"229207","method":"videos","sort":"newest"}.'
operationId: GET_hashtags_id_videos
parameters:
- description: Hashtag id (hashtags[].id).
example: '504245'
in: path
name: id
required: true
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: Results per page. videos max 50, related max 20. Values above a method's maximum are lowered and reported in notes.
example: '3'
in: query
name: limit
required: false
schema:
type: integer
- 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: 'method=videos: hot (TikTok''s ranking, default) or newest.'
in: query
name: sort
required: false
schema:
enum:
- hot
- newest
type: string
responses:
'200':
content:
application/json:
example:
data:
hasMore: true
next: eyJjdXJzb3IiOjN9
videos:
- caption: '4 Step Beginner Skincare routine 🌸✨ #skincare #beginnerskincareroutine #skincaretipsforeveryone #blackgirlskincare'
comments: 1155
creator:
handle: mayriahm.a
id: '6532038966940549121'
nickname: Mariam 🤍
secUid: MS4wLjABAAAAD3qd3TUwzYmyLsecBZa8h_NysIiFd8bZp-8IwV_eFBNBhfh9oihgSEjLrw7FrtOX
verified: true
durationSec: 44.534
hashtags:
- id: '504245'
name: SkinCare
- id: '1690942436043778'
name: beginnerskincareroutine
- id: '1665214116743170'
name: skincaretipsforeveryone
id: '7107330561206734086'
language: en
likes: 140759
posted: '2022-06-09T19:52:32Z'
saves: 58342
shares: 3536
sound:
author: Burna Boy
id: '7096289813334083585'
title: Last Last
url: https://www.tiktok.com/@mayriahm.a/video/7107330561206734086
views: 4340166
- caption: 'The fact it doesn’t sting her eyes 😭 i need #kylie #kyliejenner #skincare'
comments: 98
creator:
handle: koreababe1
id: '6981218295518299137'
nickname: Korea Babe
secUid: MS4wLjABAAAAepazH0jrDXmFaU8uFeQbD8MkWRhuXxy1ijlbb-arPTtS1K4qcHhpGIyjjK8Ac7i6
verified: true
durationSec: 7.151
hashtags:
- id: '23295'
name: kylie
- id: '18830'
name: kyliejenner
- id: '504245'
name: skincare
id: '7692712348200504583'
language: en
likes: 57559
posted: '2026-10-04T07:32:52Z'
saves: 8792
shares: 728
sound:
author: ℳ𝒶𝓃𝓊 🪽
id: '7596069087663459084'
original: true
title: MONTAGEM ALQUIMIA
url: https://www.tiktok.com/@koreababe1/video/7692712348200504583
views: 1296455
- caption: 'Skincare routine for glass skin #skincare #ai #aivids #animation #healthy'
comments: 62
creator:
handle: healthhandwellness
id: '7295346887061341217'
nickname: healthandwellness
secUid: MS4wLjABAAAAAWuLv1V6Ti8czBxz1lhPxnVhGXdu-vDtPmULvWZBUszqJZYc1afnVNvc61lcr9SX
verified: true
durationSec: 37.801
hashtags:
- id: '504245'
name: SkinCare
- id: '183145'
name: ai
- id: '1681909226079234'
name: aivids
id: '7599023958746238230'
language: en
likes: 7798
posted: '2026-01-24T20:14:03Z'
saves: 4728
shares: 975
sound:
author: Limbo
id: '6754175395743926274'
title: Airplane Mode
url: https://www.tiktok.com/@healthhandwellness/video/7599023958746238230
views: 262094
meta:
credits_charged: 1
credits_remaining: 7906
request_id: req_3f9c2a1b7d4e
next_cursor: eyJjdXJzb3IiOjN9
schema:
properties:
data:
description: The tool's result. Compact by default; pass detail=full for the complete record.
properties:
hasMore:
type: boolean
next:
type: string
videos:
items:
properties:
caption:
type: string
comments:
type: integer
creator:
properties:
handle:
type: string
id:
type: string
nickname:
type: string
secUid:
type: string
verified:
type: boolean
type: object
durationSec:
type: number
hashtags:
items:
properties:
id:
type: string
name:
type: string
type: object
type: array
id:
type: string
language:
type: string
likes:
type: integer
posted:
type: string
saves:
type: integer
shares:
type: integer
sound:
properties:
author:
type: string
id:
type: string
title:
type: string
type: object
url:
type: string
views:
type: integer
type: object
type: array
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: One hashtag · videos
tags:
- hashtag
x-credits: 1
x-example-params:
id: '504245'
limit: '3'
x-mcp-method: videos
x-mcp-tool: hashtag
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