wechat

WeChat Search articles and videos

Get a page of WeChat Search results for search terms: Official Account articles and Channels videos mixed, each saying in type whether it is an article or a video; by relevance, newest or hottest, filtered by time posted, or articles only or videos only: title or description, the source account's name, time published, an article's link (with a band of reads on some), a video's likes and saves. WeChat Search gives no account ID.

Price: $0.02 per call.

20 items on a usual page, 30 at most. A cursor is valid for 3600 seconds.

get/v1/wechat/posts/search

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

querystring required

Search terms

sort'relevance' | 'latest' | 'popular'

By relevance, by time published (newest first) or by how hot

published_within'day' | 'week' | 'half_year'

Only those published in the last day, week or half year

type'article' | 'video'

Official Account articles only (article) or Channels videos only (video); both mixed when left out

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.