Toutiao API
Read Toutiao articles, videos, comments, account profiles and the content accounts publish as JSON with one EveryInfra API key, from $0.56 per 1,000 calls.
All you need is one API key, no Toutiao account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- 6 endpoints, one key.
- Failed calls and empty results are not charged.
- An account is given by its profile token, which usually starts with
MS4w.
Real sample values for one account
POST /api/v1/social params {"user_id":"MS4wLjABAAAA3KU9ifwN12G41E6PJRpZgIfzVrXWQ4WPF66ns54c0uw"}
Platform availability
- 24h health
- 100%
Last 30 days
Available capabilities
Retrieve Toutiao articles, videos and user updates to read post content, author details and engagement counts.
Provide a user ID that starts with MS4w or a complete profile URL. Profile search looks only inside that user's page.
Articles, videos and comments
- Article detailsHealthy · health 100%
Read a Toutiao article or video from its URL.
article$0.56 per 1,000 calls - Video detailsNormal
Look up one Toutiao video by link or numeric ID.
video$0.81 per 1,000 calls - CommentsNormal
Read the top-level comments on a Toutiao article or video, 20 per page.
comments$0.81 per 1,000 calls
Accounts
- ProfilesNormal
Pull up a Toutiao account's nickname, bio, avatar, profile link, and verification status with its description.
profile$0.56 per 1,000 calls - Posts by userNormal
List a Toutiao author's articles, videos and short posts.
user_posts$0.56 per 1,000 callsEvery 20 rows count as one call - Profile searchNormal
Search inside the posts of one Toutiao account by keyword.
profile_search$0.56 per 1,000 callsEvery 20 rows count as one call
6 questions to ask before choosing a data API for Toutiao
Does Toutiao have an official API, and how is it different from this one?
Toutiao's official integration runs through the Douyin Open Platform: its Toutiao publishing capability lets an app post short videos of up to one minute for an authorized account and view those videos' play and engagement data. It does not support Toutiao articles or Weitoutiao posts, and the public documentation we checked describes no API for reading other users' articles or comments. EveryInfra reads public content with one API key, without applying to the Douyin Open Platform.
Official sources: Douyin Open Platform: Toutiao content publishing · Checked
Do I need to log in to Toutiao or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, from $0.56 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this Toutiao API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.
What compliance points apply when using Toutiao data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What Toutiao data can I get?
Available Toutiao capabilities (6): Article details, Profiles, Posts by user, Profile search, Comments, Video details. The parameters and response fields of each capability are in the API reference on this page.
Use cases
Take stock of one account
Read the account profile, then the content it published, to see the publishing rhythm and how much each piece is read.
Find a topic inside an account
Search by keyword inside the profile of one account, then read the details of a single item.
Read a piece of content and how readers react
Read an article or a video from its link, then the top-level comments under it.
Look up the author behind a piece of content
Take the
author_idof the author from a video result, then read the account profile and the content the account published.
Toutiao official documentation vs EveryInfra
Toutiao's official documentation is about creators publishing and managing their own content. It has no page about reading public articles, videos, comments or account profiles, so this page has no comparison rows.
| Compared | Toutiao official documentation | EveryInfra |
|---|
The official documentation has no page about these objects, so the platform page has no comparison rows. Official sources:
What does each Toutiao action accept?
Parameter table for all 6 actions
Sync delivery for every action.
| Action | Required | Optional | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|
articleArticle details Read a Toutiao article or video from its URL. Get title, body text, cover, read or play count, likes, comments, shares and author verification. Full text or a transcript appears only when the page shows it. | url | — | — | $0.56 per 1,000 requests | id · url · type · title · text · content_text · cover · read_count · play_count · like_count · comment_count · share_count · impression_count · source · author_name · author_id · author_verified · author_auth_info · region · posted_at · platform · duration_sec · duration_seconds · image_urls |
profileProfiles Pull up a Toutiao account's nickname, bio, avatar, profile link, and verification status with its description. | user_id | — | — | $0.56 per 1,000 requests | user_id · nickname · bio · url · avatar_url · is_verified · verify_reason · follower_count · following_count · like_count · ip_location · platform |
user_postsPosts by user List a Toutiao author's articles, videos and short posts. Get title, text, reads or plays, likes, comments, shares and publish time. Pick a profile section with | user_id | tab | Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 20 rows count as one call | id · url · type · title · text · content_text · cover · read_count · play_count · like_count · comment_count · share_count · source · author_name · author_id · author_verified · author_auth_info · region · posted_at · platform · duration_sec · duration_seconds · image_urls |
profile_searchProfile search Search inside the posts of one Toutiao account by keyword. Get matching articles and videos with text, reads or plays and engagement counts. Both | user_id, keyword | — | Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 20 rows count as one call | id · url · type · title · text · content_text · cover · read_count · play_count · like_count · comment_count · share_count · source · author_name · author_id · author_verified · author_auth_info · region · posted_at · platform · duration_sec · duration_seconds · image_urls |
commentsComments Read the top-level comments on a Toutiao article or video, 20 per page. Each comment has text, likes, reply count, time, the commenter's name, avatar, verification and IP region, and whether the author liked it. Pass an article or video link or its numeric ID, and page with | url | page_token | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.81 per 1,000 requests | id · text · like_count · reply_count · posted_at · author_id · author_name · author_avatar_url · author_verified · author_auth_info · ip_location · liked_by_author · platform |
videoVideo details Look up one Toutiao video by link or numeric ID. Get title, length, plays, likes, comments, shares, saves, publish time, cover, a signed video file link and the author's name; landscape videos add impressions, the author's profile token and follower count. Vertical short videos are covered too. | url | — | — | $0.81 per 1,000 requests | id · url · video_type · title · duration_sec · duration_seconds · play_count · like_count · comment_count · share_count · collect_count · impression_count · source · region · posted_at · cover_url · video_url · author_id · author_name · author_avatar_url · author_follower_count · author_verified · author_auth_info · platform |
What each action's parameters mean (6 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the Toutiao article parameters mean?
Read a Toutiao article or video from its URL. Get title, body text, cover, read or play count, likes, comments, shares and author verification. Full text or a transcript appears only when the page shows it.
Full API reference: parameters, code samples, response example and healthurlRequired- Full URL to a specific article or video for the
articleaction. In user-scoped actions where bothurlanduser_idare supplied,urltakes precedence to identify the profile page.
What do the Toutiao profile parameters mean?
Pull up a Toutiao account's nickname, bio, avatar, profile link, and verification status with its description. user_id takes the account token, usually starting with MS4w, or a full profile URL, not a nickname or short numeric ID.
user_idRequired- Target user profile token or
secUid, typically starting withMS4w. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs.
What do the Toutiao user_posts parameters mean?
List a Toutiao author's articles, videos and short posts. Get title, text, reads or plays, likes, comments, shares and publish time. Pick a profile section with tab. A single batch may not cover the whole archive.
user_idRequired- Target user profile token or
secUid, typically starting withMS4w. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs. tabOptional- Selects the profile feed tab in
user_posts. Allowed values areall(default),article,video,ugc, andshort_video. It does not alter item detail types.Toutiao: Micro-Toutiao and Articles Are Distinct Content Types — The Toutiao Creator Help Center describes Micro-Toutiao as short social content and introduces its publishing and editing workflows separately. This API reads posts according to the column specifications above and does not gain capabilities to publish, edit, participate in topics, or earn creator revenue simply by referencing these workflows. · Checked
What do the Toutiao profile_search parameters mean?
Search inside the posts of one Toutiao account by keyword. Get matching articles and videos with text, reads or plays and engagement counts. Both user_id and keyword are required. It does not search for people or across the whole platform.
user_idRequired- Target user profile token or
secUid, typically starting withMS4w. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs. keywordRequired- Search query string for searching posts specifically within the target profile specified by
user_idinprofile_search. It does not perform platform-wide Toutiao searches.
What do the Toutiao comments parameters mean?
Read the top-level comments on a Toutiao article or video, 20 per page. Each comment has text, likes, reply count, time, the commenter's name, avatar, verification and IP region, and whether the author liked it. Pass an article or video link or its numeric ID, and page with next_page_token. Replies themselves are not returned; reply_count tells you how many there are.
urlRequired- A Toutiao article or video link (https://www.toutiao.com/article/<ID>/ or https://www.toutiao.com/video/<ID>/; older /i<ID>/, /a<ID>/ and /item/<ID>/ links also work), or the numeric ID in it. Each call returns one page of up to 20 top-level comments.
page_tokenOptional- Page token for
comments: pass back the previous response'snext_page_tokento get the next page; leave it out to start at the first. Keepurlthe same as on the call that returned the token. Tokens last 24 hours and each page is one call.
What do the Toutiao video parameters mean?
Look up one Toutiao video by link or numeric ID. Get title, length, plays, likes, comments, shares, saves, publish time, cover, a signed video file link and the author's name; landscape videos add impressions, the author's profile token and follower count. Vertical short videos are covered too.
Full API reference: parameters, code samples, response example and healthurlRequired- A Toutiao video link (https://www.toutiao.com/video/<ID>/; /item/<ID>/ and /group/<ID>/ links also work), or the numeric ID in it. An article ID returns an empty result.
How to use the Toutiao API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"toutiao","action":"article","params":{"url":"<url>"}}'
Toutiao API questions
What can I retrieve with the Toutiao API?
Set platform to toutiao. The current catalog lists article details, profiles, posts by user, profile search, comments, and more. These action names identify different Toutiao objects or views; they are not interchangeable search modes.
Which input starts the Toutiao article request?
Full URL to a specific article or video for the article action. In user-scoped actions where both url and user_id are supplied, url takes precedence to identify the profile page. Send it as url inside params.
Which fields can Toutiao article return?
Its declared schema includes type, title, text, and content_text. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every Toutiao action return immediately?
Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.