POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

List the posts that carry an article, as you see them under the Articles filter of a Weibo account's Posts tab, by numeric UID. Each row is one post, with article_title, article_url, article_cover_url and article_author, the byline. The article text is not in the row; open article_url. It returns the latest page, about 10 posts, and does not page.

Send POST https://api.everyinfra.com/api/v1/social with platform set to weibo and action set to user_articles. Price $0.79 per 1,000 requests ($0.000792 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

#
Please help me write a data collection script with the EveryInfra Weibo User articles endpoint (weibo/user_articles).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to weibo and action to user_articles, and put the parameters inside params.
- Required parameters:
  - user_id: Numeric UID of the Weibo account, or a profile link that contains /u/<UID>. Nicknames are not accepted and are rejected with 422 before you are charged; look them up first with user_search.
- Optional parameters:
  - limit: The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.
- Returns a list of records. Main fields of each record: type, id, mblogid (The post's mblogid (user_articles, prof…), url, text, posted_at, edited_at (When the post was edited (user_articles…), edit_count (How many times the post was edited (use…), device (Client the post was published from (suc…), ip_location (IP region shown with the reply or post…), like_count, like_count_label (Like count as Weibo writes it on the pa…); 54 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=weibo.
- Example request body:
{
  "platform": "weibo",
  "action": "user_articles",
  "params": {
    "user_id": "1642634100"
  }
}
- Price: $0.79 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesweiboPlatform identifier, fixed value.
actionbodystringYesuser_articlesCapability identifier, fixed value.
user_idbody.paramsstringYes-Numeric UID of the Weibo account, or a profile link that contains /u/<UID>. Nicknames are not accepted and are rejected with 422 before you are charged; look them up first with user_search. It returns the latest page only, about 10 posts, and does not page.
limitbody.paramsinteger (1–)No-The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "weibo",
  "action": "user_articles",
  "params": {
    "user_id": "1642634100"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "weibo",  "action": "user_articles",  "results": [    {      "type": …,      "id": …,      "mblogid": …,      "url": …,      "text": …,      "posted_at": …,      "edited_at": …,      "edit_count": …,      "device": …,      "ip_location": …,      "like_count": …,      "like_count_label": …,      "comment_count": …,      "comment_count_label": …,      "repost_count": …,      "repost_count_label": …,      "view_count": …,      "author_id": …,      "author_username": …,      "author_name": …,      "author_avatar_url": …,      "author_verified": …,      "author_verified_type": …,      "author_verified_reason": …,      "author_bio": …,      "author_follower_count": …,      "author_follower_count_label": …,      "author_following_count": …,      "author_following_count_label": …,      "image_urls": …,      "image_count": …,      "video_id": …,      "video_url": …,      "duration_sec": …,      "duration_seconds": …,      "cover_image_url": …,      "play_count": …,      "play_count_label": …,      "hashtags": …,      "mentions": …,      "links": …,      "links_detail": …,      "is_long_text": …,      "is_truncated": …,      "is_pinned": …,      "is_repost": …,      "is_paid": …,      "is_ad": …,      "original_post_id": …,      "reposted_post": …,      "article_title": …,      "article_url": …,      "article_cover_url": …,      "article_author": …,      "platform": …    }  ],  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.

FieldMeaning
typeRecord type; values depend on the capability (for example video / image / text).
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
mblogidThe post's mblogid (user_articles, profile_feed).
urlLink to the record on the platform.
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
edited_atWhen the post was edited (user_articles, profile_feed), ISO 8601, UTC.
edit_countHow many times the post was edited (user_articles, profile_feed).
deviceClient the post was published from (such as an iPhone client).
ip_locationIP region shown with the reply or post (comment_replies, user_articles, profile_feed), such as Guangdong; absent when Weibo shows none.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
like_count_labelLike count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
comment_countComments. null means not disclosed, not 0.
comment_count_labelComment count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
repost_countReposts (as distinct from quote posts). null means not disclosed.
repost_count_labelRepost count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
view_countRead count Weibo shows for the post (post_detail, user_articles, profile_feed); user_posts list rows do not carry it.
author_idAuthor's unique ID on the platform.
author_usernameAuthor's username (@handle), usually usable in URLs.
author_nameAuthor's display name.
author_avatar_urlAuthor avatar URL. Not returned on some requests (search).
author_verifiedWhether the author carries Weibo verification (the V badge). Not returned on some requests (search).
author_verified_typeVerification type of the author (user_articles, profile_feed).
author_verified_reasonVerification description (such as a company role); use it to tell what a verified account represents. Not returned on some requests (search, user_posts).
author_bioAuthor bio. Not returned on some requests (search, user_posts).
author_follower_countNumber of followers the author has. Not returned on some requests (search, user_posts). On video it comes only when url is a video link or 1034: ID, and is approximate.
author_follower_count_labelAuthor's follower count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
author_following_countNumber of accounts the author follows. Not returned on some requests (search, user_posts).
author_following_count_labelAuthor's following count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
image_urlsArray of image links in the platform's display order; absent when there are no images.
image_countNumber of images in the post (user_articles, profile_feed).
video_idVideo ID (video, collection_videos).
video_urlVideo link of the post.
duration_secVideo length in seconds (video posts on post_detail / user_posts / user_articles / profile_feed, and video / collection_videos).
duration_secondsDuration in seconds. null for content that is not video or audio.
cover_image_urlCover image.
play_countNumber of plays of a video (video, collection_videos, user_articles, profile_feed). Exact on collection_videos, and on video when you look the post up by post link or ID; approximate on video when you use a video link or 1034: ID, because Weibo shows a rounded figure. Not the same as view_count, the read count of a post.
play_count_labelVideo play count as Weibo writes it on the page, kept as text, for example the Chinese for “1 million+” or “23.798 million” (user_articles, profile_feed).
hashtagsHashtags in the text, in order of appearance; absent when there are none.
mentionsAccounts mentioned with @ in the post (user_articles, profile_feed).
linksLinks on the profile page (user_about), an array; in user_articles and profile_feed, the links in the post.
links_detailDetails of each link in the post (user_articles, profile_feed): [{url, short_url, title}].
is_long_textWhether the post is a long post (post_detail / user_posts / user_articles / profile_feed). On user_posts, a long post's text holds only its opening (about 140 characters).
is_truncatedWhether text is cut (user_articles, profile_feed): when true, get the full text with post_detail using id.
is_pinnedWhether the post is pinned (user_articles, profile_feed).
is_repostWhether the post is a repost.
is_paidWhether the post is a paid post (user_articles, profile_feed).
is_adWhether the post is an ad (user_articles, profile_feed).
original_post_idFor a repost, the ID of the original post (post_detail / user_posts / user_articles / profile_feed); pass it as url to post_detail to read the original. Absent when the post is not a repost.
reposted_postThe post that was reposted (user_articles, profile_feed): the same shape as a row, and it does not nest another reposted post.
article_titleTitle of the article (user_articles).
article_urlLink to the article (user_articles); the article text is not in the row, so open this link for it.
article_cover_urlLink to the article's cover image (user_articles).
article_authorByline of the article (user_articles); it need not be the account that posted.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy