Trending posts API

3 endpoints on 3 platforms return the same Post object. The posts a platform ranks as popular now. Every call costs $0.0020; a failed call is free.

Run it in the PlaygroundSee the callSign in to run it; it runs on your own balance.
Platforms3 platforms
Endpoints3 endpointsone on each platform
PriceFrom $0.0020per call. A failed call is free
ReturnsPost10 to 25 a page, with a cursor for the next

Trending posts on each platform

One row per endpoint: what it is called, how much comes back in a call, and what a call costs.

PlatformEndpointA pageReturnsPrice
DouyinDouyin trending videosGET/v1/douyin/videos/trending10Post list$0.0020
RedditReddit popular postsGET/v1/reddit/posts/trending25Post list$0.0020
BilibiliBilibili popular videosGET/v1/bilibili/videos/trending20Post list$0.0020
Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.Live status →

The Post object

Every endpoint above returns these fields, with the same names and types.

The object's own page →
idtextID; pass it unchanged to the get endpoint
urllinkLink that opens the post
typetextContent format
titletextTitle
texttextBody text
langtextLanguage of the text
published_attimeWhen it was published
author.idtextAuthor's account ID
author.usernametextAuthor's handle
author.nametextAuthor's display name
author.avatar_urllinkAuthor's avatar
author.verifiedyes/noWhether the author is verified
author.followersintegerAuthor's follower count
metrics.likesintegerLikes
metrics.commentsintegerComments
metrics.sharesintegerShares
metrics.favoritesintegerSaves
metrics.viewsintegerViews
metrics.repostsintegerReposts
imageslist of linkImage addresses
hashtagslist of textHashtags, without the #
mentions[].idtextAccount ID
mentions[].usernametextHandle
mentions[].nametextDisplay name
is_pinnedyes/noWhether the author pinned it
post_idtextID of the thread's root post when this is a reply; otherwise null
parent_idtextID of the item it replies to directly; otherwise null
root_idtextID of the first-level reply its thread hangs under

Which 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.

Platformtitlelangauthor.idauthor.usernameauthor.nameauthor.verifiedauthor.followersmetrics.likesmetrics.commentsmetrics.sharesmetrics.favoritesmetrics.viewsmetrics.repostsimageshashtagsmentions[].idmentions[].usernamementions[].nameis_pinnedpost_idparent_idroot_id
Douyin
Reddit
Bilibili

The same call on two platforms

Same parameter names, same paging, same answer. Only the path changes.

# Douyin
curl "https://api.dataxapi.com/v1/douyin/videos/trending" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

# Bilibili: one word changes
curl "https://api.dataxapi.com/v1/bilibili/videos/trending" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
// Douyin
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.douyin.videos.trending();
console.log(result.data.items);

// Bilibili: one word changes
const other = await dx.bilibili.videos.trending();
console.log(other.data.items);
# Douyin
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.douyin.videos.trending()
print(result["data"]["items"])

# Bilibili: one word changes
other = dx.bilibili.videos.trending()
print(other["data"]["items"])
# Douyin
dataxapi call douyin.videos.trending

# Bilibili: one word changes
dataxapi call bilibili.videos.trending
200 · application/json · charged $0.0020
{
  "code": "ok",
  "request_id": "80fea416-3374-403d-9b4a-ab4ce03a74d1",
  "data": {
    "items": [
      {
        "id": "7475660590366390521",
        "url": "https://www.douyin.com/video/7475660590366390521",
        "type": "video",
        "text": "周末露营这件事,越简单越好",
        "published_at": "2026-10-10T12:20:55.000Z",
        "author": {
          "name": "一颗柠檬糖",
          "avatar_url": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_7b73d10dffb6191146d5.jpeg",
          "followers": 55851
        },
        "metrics": { "likes": 3791034, "views": 107542051 }
      },
      // … 8 more
    ]
  },
  "page": {
    "next_cursor": "c1.PS5xQIrRah1Rwpe_Lxpsf-0eRwDcLjLeBBPJXPIo",
    "cursor_expires_at": "2026-10-12T19:44:17.000Z",
    "has_more": true,
    "returned": 9
  },
  "warnings": [],
  "meta": {
    "capability": "douyin.videos.trending",
    "result_status": "complete",
    "fetched_at": "2026-10-12T18:44:17.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "title": "capability",
      "lang": "capability",
      "author.id": "capability",
      "author.username": "capability",
      "author.verified": "capability",
      "metrics.comments": "capability",
      "metrics.shares": "capability",
      "metrics.favorites": "capability",
      "metrics.reposts": "platform",
      "images": "capability",
      "hashtags": "capability",
      "mentions": "capability",
      "is_pinned": "capability",
      "post_id": "platform",
      "parent_id": "platform",
      "root_id": "platform"
    },
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}

Douyin trending videos: From a response recorded 2026-10-12 18:44 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.

All skills →

Questions about the Trending posts API

Short answers. Each endpoint's page has its own limits and examples.

Douyin trending videos API →
How much does it cost?

$0.0020 a call on Douyin, Reddit, Bilibili. 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. 22 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 3 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.

Start free