Hashtag posts API
4 endpoints on 4 platforms return the same Post object. The posts under a hashtag or topic. A call costs from $0.0020 to $0.0200, each endpoint at its own price; a failed call is free.
Hashtag posts on each platform
One row per endpoint: what it is called, how much comes back in a call, and what a call costs.
The Post object
Every endpoint above returns these fields, with the same names and types.
idtextID; pass it unchanged to the get endpointurllinkLink that opens the posttypetextContent formattitletextTitletexttextBody textlangtextLanguage of the textpublished_attimeWhen it was publishedauthor.idtextAuthor's account IDauthor.usernametextAuthor's handleauthor.nametextAuthor's display nameauthor.avatar_urllinkAuthor's avatarauthor.verifiedyes/noWhether the author is verifiedauthor.followersintegerAuthor's follower countmetrics.likesintegerLikesmetrics.commentsintegerCommentsmetrics.sharesintegerSharesmetrics.favoritesintegerSavesmetrics.viewsintegerViewsmetrics.repostsintegerRepostsimageslist of linkImage addresseshashtagslist of textHashtags, without the #mentions[].idtextAccount IDmentions[].usernametextHandlementions[].nametextDisplay nameis_pinnedyes/noWhether the author pinned itpost_idtextID of the thread's root post when this is a reply; otherwise nullparent_idtextID of the item it replies to directly; otherwise nullroot_idtextID of the first-level reply its thread hangs underWhich platform fills which field
A field an endpoint cannot give is listed in meta.unavailable on every answer, so a gap is never a surprise.
The same call on two platforms
Same parameter names, same paging, same answer. Only the path changes.
# TikTok curl -G "https://api.dataxapi.com/v1/tiktok/hashtags/videos/list" \ --data-urlencode "id=nasa" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" # Douyin: one word changes curl -G "https://api.dataxapi.com/v1/douyin/hashtags/videos/list" \ --data-urlencode "id=7495235888088090635" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
// TikTok import { DataXAPI } from "@dataxapi/sdk"; const dx = new DataXAPI(); // reads DATAXAPI_API_KEY const result = await dx.tiktok.hashtags.videos.list({ id: "nasa" }); console.log(result.data.items); // Douyin: one word changes const other = await dx.douyin.hashtags.videos.list({ id: "7495235888088090635" }); console.log(other.data.items);
# TikTok from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.tiktok.hashtags.videos.list(id="nasa") print(result["data"]["items"]) # Douyin: one word changes other = dx.douyin.hashtags.videos.list(id="7495235888088090635") print(other["data"]["items"])
# TikTok dataxapi call tiktok.hashtags.videos.list id=nasa # Douyin: one word changes dataxapi call douyin.hashtags.videos.list id=7495235888088090635
{
"code": "ok",
"request_id": "50ec8aaf-c050-45b9-8fcb-acb5f088bc1b",
"data": {
"items": [
{
"id": "7324847345040857368",
"url": "https://www.tiktok.com/@hannah.w.photo/video/7324847345040857368",
"type": "video",
"text": "Weekend hiking from last night, no filter. Settings in the comments.",
"lang": "en",
"published_at": "2026-10-06T15:16:22.000Z",
"author": {
"id": "6049772375495468810",
"username": "hannah.w.photo",
"name": "Hannah Weiss",
"avatar_url": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/523134e9dfaaa0b34294~c5_100x100.jpeg"
},
"metrics": {
"likes": 10289,
"comments": 101,
"shares": 364,
"favorites": 852,
"views": 86424
},
"hashtags": [
"outdoors",
"weekendvibes",
// … 3 more
],
"mentions": []
},
// … 19 more
]
},
"page": {
"next_cursor": "c1.aH3rQNPZ35OeJCGvbKD-WcLhqH5C0uy6GEFhmeCy",
"cursor_expires_at": "2026-10-12T19:47:19.000Z",
"has_more": true,
"returned": 20
},
"warnings": [],
"meta": {
"capability": "tiktok.hashtags.videos.list",
"result_status": "complete",
"fetched_at": "2026-10-12T18:47:19.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"title": "platform",
"images": "capability",
"author.verified": "capability",
"metrics.reposts": "capability",
"mentions.username": "capability",
"mentions.name": "capability",
"post_id": "platform",
"parent_id": "platform",
"root_id": "platform",
"author.followers": "capability",
"is_pinned": "capability"
},
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}TikTok hashtag videos: From a response recorded 2026-10-12 18:47 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
What comes back
The objects these endpoints answer with: one set of fields each, the same on every platform.
Questions about the Hashtag posts API
Short answers. Each endpoint's page has its own limits and examples.
TikTok hashtag videos API →How much does it cost?
$0.0020 a call on TikTok, Instagram, Douyin; $0.0200 a call on Xiaohongshu (RedNote). You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.
How do I get every page?
Pass page.next_cursor back as cursor until page.has_more is false. Each page is one call at the same price.
Does every platform fill every field?
No. 20 of the 28 fields are missing on at least one platform; the table on this page says which. A field an endpoint cannot give is named in meta.unavailable on every answer, never filled with a guess.
Do I need an account on the platform?
No. One DataXAPI key reads all 4 platforms. No platform account and no cookie.
Other data types
The same idea everywhere: one action, every platform that has it.
Start with one key.
207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.