Weibo User articles API
API health
- 24h health
- Normal
- Healthy / normal
- Available
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
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | weibo | Platform identifier, fixed value. |
action | body | string | Yes | user_articles | Capability identifier, fixed value. |
user_id | body.params | string | Yes | - | 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. |
limit | body.params | integer (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
#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
#{ "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.
| Field | Meaning |
|---|---|
type | Record type; values depend on the capability (for example video / image / text). |
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
mblogid | The post's mblogid (user_articles, profile_feed). |
url | Link to the record on the platform. |
text | Body 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_at | Publish 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_at | When the post was edited (user_articles, profile_feed), ISO 8601, UTC. |
edit_count | How many times the post was edited (user_articles, profile_feed). |
device | Client the post was published from (such as an iPhone client). |
ip_location | IP region shown with the reply or post (comment_replies, user_articles, profile_feed), such as Guangdong; absent when Weibo shows none. |
like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
like_count_label | Like 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_count | Comments. null means not disclosed, not 0. |
comment_count_label | Comment 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_count | Reposts (as distinct from quote posts). null means not disclosed. |
repost_count_label | Repost 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_count | Read count Weibo shows for the post (post_detail, user_articles, profile_feed); user_posts list rows do not carry it. |
author_id | Author's unique ID on the platform. |
author_username | Author's username (@handle), usually usable in URLs. |
author_name | Author's display name. |
author_avatar_url | Author avatar URL. Not returned on some requests (search). |
author_verified | Whether the author carries Weibo verification (the V badge). Not returned on some requests (search). |
author_verified_type | Verification type of the author (user_articles, profile_feed). |
author_verified_reason | Verification description (such as a company role); use it to tell what a verified account represents. Not returned on some requests (search, user_posts). |
author_bio | Author bio. Not returned on some requests (search, user_posts). |
author_follower_count | Number 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_label | Author'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_count | Number of accounts the author follows. Not returned on some requests (search, user_posts). |
author_following_count_label | Author'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_urls | Array of image links in the platform's display order; absent when there are no images. |
image_count | Number of images in the post (user_articles, profile_feed). |
video_id | Video ID (video, collection_videos). |
video_url | Video link of the post. |
duration_sec | Video length in seconds (video posts on post_detail / user_posts / user_articles / profile_feed, and video / collection_videos). |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
cover_image_url | Cover image. |
play_count | Number 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_label | Video 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). |
hashtags | Hashtags in the text, in order of appearance; absent when there are none. |
mentions | Accounts mentioned with @ in the post (user_articles, profile_feed). |
links | Links on the profile page (user_about), an array; in user_articles and profile_feed, the links in the post. |
links_detail | Details of each link in the post (user_articles, profile_feed): [{url, short_url, title}]. |
is_long_text | Whether 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_truncated | Whether text is cut (user_articles, profile_feed): when true, get the full text with post_detail using id. |
is_pinned | Whether the post is pinned (user_articles, profile_feed). |
is_repost | Whether the post is a repost. |
is_paid | Whether the post is a paid post (user_articles, profile_feed). |
is_ad | Whether the post is an ad (user_articles, profile_feed). |
original_post_id | For 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_post | The post that was reposted (user_articles, profile_feed): the same shape as a row, and it does not nest another reposted post. |
article_title | Title of the article (user_articles). |
article_url | Link to the article (user_articles); the article text is not in the row, so open this link for it. |
article_cover_url | Link to the article's cover image (user_articles). |
article_author | Byline of the article (user_articles); it need not be the account that posted. |
platform | Source 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.