# Toutiao API

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.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "toutiao", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/toutiao-api](https://everyinfra.com/en/toutiao-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### article — Article 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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `url` (required): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/toutiao-api/article](https://everyinfra.com/en/toutiao-api/article?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/article.md)

### profile — Profiles
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `user_id` (required): Target user profile token or `secUid`, typically starting with `MS4w`. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs.
- Returns fields: user_id, nickname, bio, url, avatar_url, is_verified, verify_reason, follower_count, following_count, like_count, ip_location, platform
- Capability page: [https://everyinfra.com/en/toutiao-api/profile](https://everyinfra.com/en/toutiao-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/profile.md)

### user_posts — Posts 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 `tab`. A single batch may not cover the whole archive.
- Sync delivery · Price: $0.56 per 1,000 requests (every 20 rows count as one call)
- 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.
- Parameters:
  - `user_id` (required): Target user profile token or `secUid`, typically starting with `MS4w`. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs.
  - `tab` (optional): Selects the profile feed tab in `user_posts`. Allowed values are `all` (default), `article`, `video`, `ugc`, and `short_video`. It does not alter item detail types.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/toutiao-api/user_posts](https://everyinfra.com/en/toutiao-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/user_posts.md)

### profile_search — Profile 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` and `keyword` are required. It does not search for people or across the whole platform.
- Sync delivery · Price: $0.56 per 1,000 requests (every 20 rows count as one call)
- 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.
- Parameters:
  - `user_id` (required): Target user profile token or `secUid`, typically starting with `MS4w`. A full Toutiao profile URL can also be passed in this field. It does not accept display nicknames or short numeric UIDs.
  - `keyword` (required): Search query string for searching posts specifically within the target profile specified by `user_id` in `profile_search`. It does not perform platform-wide Toutiao searches.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/toutiao-api/profile_search](https://everyinfra.com/en/toutiao-api/profile_search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/profile_search.md)

### comments — Comments
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.
- Sync delivery · Price: $0.81 per 1,000 requests
- 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.
- Parameters:
  - `url` (required): 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_token` (optional): Page token for `comments`: pass back the previous response's `next_page_token` to get the next page; leave it out to start at the first. Keep `url` the same as on the call that returned the token. Tokens last 24 hours and each page is one call.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/toutiao-api/comments](https://everyinfra.com/en/toutiao-api/comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/comments.md)

### video — Video 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.
- Sync delivery · Price: $0.81 per 1,000 requests
- Parameters:
  - `url` (required): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/toutiao-api/video](https://everyinfra.com/en/toutiao-api/video?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/toutiao-api/video.md)

## 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.

### Does Toutiao have an official API?

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 (checked 2026-11-30): [Douyin Open Platform: Toutiao content publishing](https://open.douyin.com/platform/resource/docs/ability/content-management/toutiao-publish-solution)

### Do I need a Toutiao developer account or API key?

No. Requests go through EveryInfra with an EveryInfra API key: sign up, create a key in the console and send it as `Authorization: Bearer <API_KEY>`. You do not register a Toutiao developer app, apply for Toutiao API access or sign in with a Toutiao account, and the actions return public Toutiao data only.

### How much does the Toutiao API cost per 1,000 requests?

each action's price is listed in the table on this page and in the public catalog. There is no subscription: you top up a USD balance and pay per call, and failed calls and empty results are not charged.

### 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.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=toutiao
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
