How do I get all videos under a TikTok hashtag?
With the TikTok-Api Python library, api.hashtag(name=...).videos() started returning nothing in July 2025 (issue 1248, 11 comments, headless or not), and the official Research API only serves approved researchers. XTikAPI's tiktok.hashtag_videos.list returns a page of a hashtag's videos by its challenge ID (ch_id), paging with cursor, $0.002 a page; tiktok.trends.hashtags lists trending hashtags by country.
Updated 2026-11-21
Where the usual routes fail
TikTok-Api hashtag().videos()
What happens: Empty output since July 2025 (issue 1248); changing proxy let the page open but still no videos
TikTok-Api with several hashtags
What happens: Not supported, a feature request since 2024 (issue 1117)
Research API
What happens: Query videos by hashtag, but only for approved research projects
Searching the hashtag as a keyword (tiktok.videos.search)
What happens: Works, but mixes in videos that only mention the word
With XTikAPI
ch_idis the numeric ID TikTok gives the hashtag; trending hashtags fromtiktok.trends.hashtagscome back with theirid.tiktok.hashtag_videos.listwithch_id,limit,region; pass backcursor.tiktok.trends.hashtagswithcountry_codeandtime_rangefor what's rising.
Cost: 20 hashtags × 10 pages = 200 calls × $0.002 = $0.40.
Why XTikAPI
- XTikAPI reads TikTok with 24 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 14 recorded live TikTok calls (2026-11-18), raw platform JSON is ~1.21M tokens vs ~35k via XTikAPI REST (97.1% fewer) and ~35k via MCP (97.1% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (22 of 24 for TikTok).
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
How to do it
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-21.
More about TikTok
- TikTok API
- TikTok-Api errors (EmptyResponseException, 200 empty body, Captcha, statusCode): how do I fix them?
- Can the TikTok Display API read other users' videos?
- Can I use the TikTok Research API for commercial work?
- f2 TikTok user posts return status 200 with an empty response: why?
- Why does the Douyin video URL I parsed return 403 Forbidden?
Questions
Can I get every video ever posted under a big hashtag?
Large hashtags have millions of videos; in practice you page through recent and popular ones and repeat on a schedule.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free