Post metrics API

2 endpoints on 2 platforms return the same Post object. The counts of one post as of now. A call costs from $0.0020 to $0.0200, each endpoint at its own price; a failed call is free.

Run it in the PlaygroundSee the callSign in to run it; it runs on your own balance.
Platforms2 platforms
Endpoints2 endpointsone on each platform
PriceFrom $0.0020per call. A failed call is free
ReturnsPostone object a call

Post metrics 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 video play countGET/v1/douyin/videos/metrics1Post$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.

Platformurltypetitletextlangpublished_atauthor.idauthor.usernameauthor.nameauthor.avatar_urlauthor.verifiedauthor.followersmetrics.commentsmetrics.sharesmetrics.favoritesmetrics.repostsimageshashtagsmentions[].idmentions[].usernamementions[].nameis_pinnedpost_idparent_idroot_id
Douyin
WeChat Official Accounts

The same call on two platforms

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

# Douyin
curl -G "https://api.dataxapi.com/v1/douyin/videos/metrics" \
  --data-urlencode "id=7694940173372575014" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

# WeChat Official Accounts: the same call on its own path
curl -G "https://api.dataxapi.com/v1/wechat_mp/articles/metrics" \
  --data-urlencode "url=https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" \
  -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.metrics({ id: "7694940173372575014" });
console.log(result.data.item);

// WeChat Official Accounts: the same call on its own path
const other = await dx.wechat_mp.articles.metrics({ url: "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" });
console.log(other.data.item);
# Douyin
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.douyin.videos.metrics(id="7694940173372575014")
print(result["data"]["item"])

# WeChat Official Accounts: the same call on its own path
other = dx.wechat_mp.articles.metrics(url="https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc")
print(other["data"]["item"])
# Douyin
dataxapi call douyin.videos.metrics id=7694940173372575014

# WeChat Official Accounts: the same call on its own path
dataxapi call wechat_mp.articles.metrics 'url=https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc'
200 · application/json · charged $0.0020
{
  "code": "ok",
  "request_id": "089871c7-48ca-4337-a10a-6d113536de82",
  "data": {
    "item": {
      "id": "7470913773320371273",
      "metrics": { "likes": 171024, "views": 7234165 }
    }
  },
  "warnings": [],
  "meta": {
    "capability": "douyin.videos.metrics",
    "result_status": "complete",
    "fetched_at": "2026-10-12T18:42:55.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "url": "capability",
      "type": "capability",
      "title": "capability",
      "text": "capability",
      "lang": "capability",
      "published_at": "capability",
      "author": "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 video play count: From a response recorded 2026-10-12 18:42 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 Post metrics API

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

Douyin video play count API →
How much does it cost?

$0.0020 a call on Douyin; $0.0200 a call on WeChat Official Accounts. You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.

Does every platform fill every field?

No. 25 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 2 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