# Is there an API for WeChat Official Account articles?

Yes. With DataXAPI you read a WeChat Official Account (公众号) article by its link, list an account's articles by its original ID, and get an article's reads, likes and featured comments. DataXAPI reads WeChat Official Accounts with 6 endpoints, from $0.0200 a call; a failed call is not charged.

## What you can read

The article detail takes a link and returns the title, the full text, the time and the account. The article list takes the account's original ID and returns titles, digests, links and times, newest first. The stats return reads, likes, recommends, shares, saves and comments; the comments endpoint returns the featured comments; the profile gives the account's name, IP location, number of original articles and its linked WeChat Channels (视频号) account.

All of it is public: what anyone sees when opening the article. No WeChat account, login or cookie of yours is used.

## Links and IDs

The article detail and the comments take either the long link (with `__biz`, `mid`, `idx` and `sn`) or the short `/s/` link; the stats take only the long one. The links in an account's article list are long links.

An article's `author.id` is the account's original ID, starting with `gh_`. So one article link is enough to reach the account's whole list.

## What it takes

One article link, or the account's `gh_` ID. Any public Official Account can be read this way, not only one you run: no WeChat account or login, no app to register and no review, and each call is paid on its own.

## Endpoints

- [WeChat Official Account article detail](https://dataxapi.com/apis/wechat_mp/articles/get/) ($0.0200 / a call): Get one WeChat Official Account article by its link: title, text, time published, the account's name and IDs.
- [WeChat Official Account articles](https://dataxapi.com/apis/wechat_mp/accounts/articles/list/) ($0.0200 / a call): Get a page of the articles a WeChat Official Account published, newest first: title, digest, link, time published.
- [WeChat Official Account article stats](https://dataxapi.com/apis/wechat_mp/articles/metrics/) ($0.0200 / a call): Get the current counts of a WeChat Official Account article by its long link: reads, likes, recommends, shares, saves, comments.
- [WeChat Official Account article comments](https://dataxapi.com/apis/wechat_mp/articles/comments/list/) ($0.0200 / a call): Get a page of the featured comments on a WeChat Official Account article by its link: text, commenter, likes, reply count, time posted, IP location.
- [WeChat Official Account profile](https://dataxapi.com/apis/wechat_mp/accounts/get/) ($0.0200 / a call): Get a WeChat Official Account by its original ID: name, IP location, number of original articles, the linked Channels account.

## How-to guides

- [How to list a WeChat Official Account's past articles](https://dataxapi.com/guides/wechat-official-account-articles/)
- [How to get WeChat Official Account article reads and likes](https://dataxapi.com/guides/wechat-article-reads-and-likes/)

## More about WeChat Official Accounts

- [WeChat Official Accounts API](https://dataxapi.com/apis/wechat_mp/)
- [How do I get WeChat Channels data?](https://dataxapi.com/answers/how-to-get-wechat-channels-data/)
- [How to get WeChat Channels video comments](https://dataxapi.com/guides/wechat-channels-video-comments/)

---

Catalog revision c48ce454ae6c4c65. [HTML version](https://dataxapi.com/answers/is-there-an-api-for-wechat-official-account-articles/)
