Skip to main content
GET
Hashtag Videos by ID
💳 1 credit per request. Pages with no videos are free.

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

hashtag_id
string
required

The hashtag's numeric ID. Any video that uses the hashtag has it in text_extra[].hashtag_id.

Example:

"6297854"

cursor
integer

Cursor to get more videos. Get 'cursor' from previous response.

Example:

20

Response

Successful response Key Response Fields:

  • data.aweme_list[].aweme_id: Video ID
  • data.aweme_list[].url: Link to the video on TikTok
  • data.aweme_list[].desc: Caption text (includes hashtags)
  • data.aweme_list[].create_time: Unix timestamp of when the video was posted
  • data.aweme_list[].create_time_utc: The same time as an ISO date
  • data.aweme_list[].statistics.play_count: Total views
  • data.aweme_list[].statistics.digg_count: Likes
  • data.aweme_list[].statistics.comment_count: Comments
  • data.aweme_list[].statistics.share_count: Shares
  • data.aweme_list[].statistics.collect_count: Bookmarks/saves
  • data.aweme_list[].video.play_addr.url_list[0]: Video playback URL
  • data.aweme_list[].video.cover.url_list[0]: Thumbnail image URL
  • data.aweme_list[].video.duration: Video duration in milliseconds
  • data.aweme_list[].author.unique_id: Author's TikTok username
  • data.aweme_list[].author.nickname: Author's display name
  • data.aweme_list[].music.title: Sound title
  • data.aweme_list[].text_extra[].hashtag_id: IDs of the hashtags in the caption
  • data.cursor: Pagination cursor. Pass it as cursor to get the next page
  • data.has_more: 1 while the page returned videos. Keep paging until a page comes back empty; empty pages are free