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

## Post metrics on each platform

| Platform | Endpoint | Path | A page | Returns | Price |
| --- | --- | --- | --- | --- | --- |
| Douyin | [Douyin video play count](https://dataxapi.com/apis/douyin/videos/metrics.md) | `GET /v1/douyin/videos/metrics` | 1 | Post | $0.0020 / call |
| WeChat Official Accounts | [WeChat Official Account article stats](https://dataxapi.com/apis/wechat_mp/articles/metrics.md) | `GET /v1/wechat_mp/articles/metrics` | 1 | Post | $0.0200 / call |

Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.

## The Post object

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

| Field | Type | Description |
| --- | --- | --- |
| `id` | text | ID; pass it unchanged to the get endpoint |
| `url` | link | Link that opens the post |
| `type` | text | Content format |
| `title` | text | Title |
| `text` | text | Body text |
| `lang` | text | Language of the text |
| `published_at` | time | When it was published |
| `author.id` | text | Author's account ID |
| `author.username` | text | Author's handle |
| `author.name` | text | Author's display name |
| `author.avatar_url` | link | Author's avatar |
| `author.verified` | yes/no | Whether the author is verified |
| `author.followers` | integer | Author's follower count |
| `metrics.likes` | integer | Likes |
| `metrics.comments` | integer | Comments |
| `metrics.shares` | integer | Shares |
| `metrics.favorites` | integer | Saves |
| `metrics.views` | integer | Views |
| `metrics.reposts` | integer | Reposts |
| `images` | list of link | Image addresses |
| `hashtags` | list of text | Hashtags, without the # |
| `mentions[].id` | text | Account ID |
| `mentions[].username` | text | Handle |
| `mentions[].name` | text | Display name |
| `is_pinned` | yes/no | Whether the author pinned it |
| `post_id` | text | ID of the thread's root post when this is a reply; otherwise null |
| `parent_id` | text | ID of the item it replies to directly; otherwise null |
| `root_id` | text | ID of the first-level reply its thread hangs under |

[The object's own page →](https://dataxapi.com/docs/objects/post/)

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

| Platform | `url` | `type` | `title` | `text` | `lang` | `published_at` | `author.id` | `author.username` | `author.name` | `author.avatar_url` | `author.verified` | `author.followers` | `metrics.comments` | `metrics.shares` | `metrics.favorites` | `metrics.reposts` | `images` | `hashtags` | `mentions[].id` | `mentions[].username` | `mentions[].name` | `is_pinned` | `post_id` | `parent_id` | `root_id` |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Douyin | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available |
| WeChat Official Accounts | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available | available | available | available | not available | not available | not available | not available | not available | not available | not available | not available | not available | not available |

## The same call on two platforms

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

```bash
# 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"
```

### 200 · application/json

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.

```jsonc
{
  "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"
    }
  }
}
```

## What comes back

- [The Post object](https://dataxapi.com/docs/objects/post/): Fields 28, Endpoints that return it 81, Platforms 19

## Questions about the Post metrics 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

[Comment replies API](https://dataxapi.com/roles/comments-replies-list/), [Hashtag posts API](https://dataxapi.com/roles/topics-posts-list/), [Trending topics API](https://dataxapi.com/roles/trends-list/), [Account profile API](https://dataxapi.com/roles/accounts-get/), [Account posts API](https://dataxapi.com/roles/accounts-posts-list/), [Comments API](https://dataxapi.com/roles/posts-comments-list/), [Post detail API](https://dataxapi.com/roles/posts-get/), [Post search API](https://dataxapi.com/roles/posts-search/), [Trending posts API](https://dataxapi.com/roles/posts-trending/), [Account search API](https://dataxapi.com/roles/accounts-search/), [Community posts API](https://dataxapi.com/roles/communities-posts-list/), [Ad detail API](https://dataxapi.com/roles/ads-get/), [Advertiser ads API](https://dataxapi.com/roles/advertisers-ads-list/), [Advertiser search API](https://dataxapi.com/roles/advertisers-search/), [Ad library search API](https://dataxapi.com/roles/ads-search/), [Video transcript API](https://dataxapi.com/roles/transcripts-get/), [Followers API](https://dataxapi.com/roles/accounts-followers-list/), [Community profile API](https://dataxapi.com/roles/communities-get/), [Product detail API](https://dataxapi.com/roles/products-get/), [Product reviews API](https://dataxapi.com/roles/products-reviews-list/), [Product search API](https://dataxapi.com/roles/products-search/), [Creator search API](https://dataxapi.com/roles/creators-search/), [Creator profile API](https://dataxapi.com/roles/creators-get/), [Creator audience API](https://dataxapi.com/roles/creators-audience-get/), [Creator metrics API](https://dataxapi.com/roles/creators-metrics/), [Creator posts API](https://dataxapi.com/roles/creators-posts-list/), [All 21 platforms →](https://dataxapi.com/apis/)

---

Last checked 2026-10-21 11:10 UTC. Catalog revision c48ce454ae6c4c65. [HTML version](https://dataxapi.com/roles/posts-metrics/)
