Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Toutiao Article Details (App)

API 文档
https://api.sandbase.ai/v1/api/toutiao/app/article-info

Returns details and interface settings for a specified Toutiao post. Provide the post ID to inspect article properties and action settings.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Post ID, can be obtained from the link
输出示例
响应outputs · 15.7 KB · 398 行
[
  {
    "data": {
      "data": {
        "ab_path": "0f35e2858fb36f23fab49cc74e768cf5",
        "ban_bury": 0,
        "ban_comment": 0,
        "ban_digg": 0,
        "bury_count": 0,
        "comment_count": 1,
        "content_hash": "e6b66251",
        "context": "{\"labels\":{\"gold_task_status\":0,\"is_virtual\":false,\"labels_style\":2,\"labels_words\":[],\"query_word\":\"\",\"search_id\":\"\"},\"entity_info\":{\"1140837504906020782\":{\"baike\":{\"button_title\":\"查看百科\",\"description\":\"行星自转轴与轨道的倾斜角度\",\"icon\":\"http://p3-sdbk2-media.byteimg.com/tos-cn-i-xv4ileqgde/a517e0ad10cb4f3d8bd0aed7a75311e9~tplv-xv4ileqgde-cspdq:256:256:q30.image\",\"title\":\"转轴倾角\",\"url\":\"https://m.baike.com/wikiid/1140837504906020782?baike_source=entitylabel&baike_session_id=20261006203801DAC0D8905AE7A3114FD4_1140837504906020782\"},\"content\":\"转轴倾角,是指行星的自转轴相对于轨道平面的倾斜角度,也称为(obliguity)或轴交角(axial inclination)。在天文学…",
        "danmaku_count": 0,
        "dataType": 0,
        "detail_show_flags": 0,
        "digg_count": 2,
        "display_flags": 0,
        "display_url": "https://toutiao.com/group/7450114952884503059/",
        "feed_labels": null,
        "filter_words": [
          {
            "id": "8:0",
            "name": "看过了的内容"
          },
          {
            "id": "9:1",
            "name": "内容太水的内容"
          }
        ],
        "group_id": 7450114952884504000,
        "h5_extra": {
          "audio_info": {
            "audioDuration": 248,
            "audioGroupID": "7450115760640229924",
            "audioID": 7450115760640230000,
            "audioWatchBar": "LARGE_BAR",
            "audioWatchBarContent": "听全文",
            "audioWatchCount": 27,
            "audioWatchCountShowText": "文章较长试试听",
            "logPB": {
              "audioGroupSource": "578",
              "category_name": "toutiao_audio",
              "recommend_reason": "文章较长试试听",
              "stream_channel_id": "94349609444"
            },
            "playerSchema": "sslocal://detail/audio_new?enter_from=click_headline&force_player_style=2&group_id=7450115760640229924&group_source=2&launch_player_page=1&module=tingtoutiao_module&scene=tingtoutiao"
          },
          "have_red_pack": 0,
          "is_original": false,
          "is_subscribed": 0,
          "is_top": false,
          "itemCell": {
            "actionCtrl": {
              "actionBar": {
                "actionSettingList": [
                  {
                    "actionType": 1,
                    "styleSetting": {
                      "iconKey": "分享的Icon",
                      "layoutDirection": 0,
                      "text": "分享"
                    }
                  },
                  {
                    "actionType": 2,
                    "styleSetting": {
                      "iconKey": "评论的Icon",
                      "layoutDirection": 0,
                      "text": "评论"
                    }
                  },
                  {
                    "actionType": 4,
                    "styleSetting": {
                      "iconKey": "点赞的Icon",
                      "layoutDirection": 0,
                      "text": "点赞"
                    }
                  },
                  "… 1 more items in the full response"
                ]
              },
              "actionTimeInSec": "0",
              "banBury": false,
              "banComment": false,
              "banDigg": false,
              "canShowDCarGuide": false,
              "feedbackBotSchema": "sslocal://gpt_detail/second_page?bot_id=7504969938109579302&ailog_extra=%7B%22bot_entrance%22%3A%22feedback_assistant%22%2C%22enter_from%22%3A%22feedback_assistant%22%7D",
              "filterWord": [
                {
                  "id": "8:0",
                  "name": "看过了的内容"
                },
                {
                  "id": "9:1",
                  "name": "内容太水的内容"
                }
              ],
              "ignoreWebTransform": false
            },
            "articleBase": {
              "gidStr": "7450114952884503059"
            },
            "articleClassification": {
              "bizID": 10,
              "bizTag": 22
            },
            "cellCtrl": {
              "detailShowFlag": 0
            },
            "extra": {
              "ping": "pong"
            },
            "itemCounter": {
              "buryCount": 0,
              "commentCount": 1,
              "danmuCount": 0,
              "diggCount": 2,
              "forwardCount": 0,
              "readCount": 95,
              "repinCount": 1,
              "shareCount": 9,
              "showCount": 3477
            },
            "relatedInfo": {
              "forumID": "1778450324018216"
            },
            "shareInfo": {
              "imCoverImage": {
                "height": 4000,
                "imageType": 1,
                "uri": "tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
                "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=fN44IK0gCMwCpngmYD2lQ8RWW3s%3D",
                "urlList": [
                  "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=fN44IK0gCMwCpngmYD2lQ8RWW3s%3D",
                  "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=wwwdyLbGtmobtWeWnMBkBBCV%2FHY%3D"
                ],
                "width": 6000
              },
              "shareControl": {
                "isHighQuality": true
              },
              "shareURL": ""
            },
            "userInfo": {
              "avatarURL": "https://p3-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~tplv-resize:120:120.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1791936000&x-signature=YSfMFJ%2FhPCL25v%2BTy1N6IhdYwrM%3D",
              "description": "闪电新闻,先声夺人。山东广播电视台倾力打造的融媒体客户端。",
              "followersCount": 5582944,
              "isVitalityAuthor": false,
              "liveInfo": {
                "liveBusinessType": 0,
                "liveInfoType": 1
              },
              "mediaID": 51201073347,
              "mediaType": 7,
              "name": "闪电新闻",
              "userAuthInfo": "{\"auth_type\":\"5\",\"auth_info\":\"闪电新闻官方账号\"}",
              "userID": 51050126444,
              "userRelation": {
                "isFollowing": false
              },
              "userVerified": 1,
              "verifiedContent": "闪电新闻官方账号"
            },
            "userInteraction": {
              "userBury": false,
              "userDigg": false,
              "userRepin": false
            },
            "videoInfo": {}
          },
          "media": {
            "avatar_url": "https://p3-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~tplv-resize:120:120.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1791936000&x-signature=YSfMFJ%2FhPCL25v%2BTy1N6IhdYwrM%3D",
            "can_be_praised": false,
            "description": "闪电新闻,先声夺人。山东广播电视台倾力打造的融媒体客户端。",
            "id": 51201073347,
            "name": "闪电新闻",
            "pgc_custom_menu": "",
            "user_auth_info": "{\"auth_type\":\"5\",\"auth_info\":\"闪电新闻官方账号\"}",
            "user_decoration": "",
            "user_verified": true
          },
          "video_play_info": null
        },
        "ignore_web_transform": 0,
        "info_flag": 7,
        "is_virtual": false,
        "is_wenda": 0,
        "itemCell": {
          "actionCtrl": {
            "actionBar": {
              "actionSettingList": [
                {
                  "actionType": 1,
                  "styleSetting": {
                    "iconKey": "分享的Icon",
                    "layoutDirection": 0,
                    "text": "分享"
                  }
                },
                {
                  "actionType": 2,
                  "styleSetting": {
                    "iconKey": "评论的Icon",
                    "layoutDirection": 0,
                    "text": "评论"
                  }
                },
                {
                  "actionType": 4,
                  "styleSetting": {
                    "iconKey": "点赞的Icon",
                    "layoutDirection": 0,
                    "text": "点赞"
                  }
                },
                "… 1 more items in the full response"
              ]
            },
            "actionTimeInSec": "0",
            "banBury": false,
            "banComment": false,
            "banDigg": false,
            "canShowDCarGuide": false,
            "feedbackBotSchema": "sslocal://gpt_detail/second_page?bot_id=7504969938109579302&ailog_extra=%7B%22bot_entrance%22%3A%22feedback_assistant%22%2C%22enter_from%22%3A%22feedback_assistant%22%7D",
            "filterWord": [
              {
                "id": "8:0",
                "name": "看过了的内容"
              },
              {
                "id": "9:1",
                "name": "内容太水的内容"
              }
            ],
            "ignoreWebTransform": false
          },
          "articleBase": {
            "gidStr": "7450114952884503059"
          },
          "articleClassification": {
            "bizID": 10,
            "bizTag": 22
          },
          "cellCtrl": {
            "detailShowFlag": 0
          },
          "extra": {
            "ping": "pong"
          },
          "itemCounter": {
            "buryCount": 0,
            "commentCount": 1,
            "danmuCount": 0,
            "diggCount": 2,
            "forwardCount": 0,
            "readCount": 95,
            "repinCount": 1,
            "shareCount": 9,
            "showCount": 3477
          },
          "relatedInfo": {
            "forumID": "1778450324018216"
          },
          "shareInfo": {
            "imCoverImage": {
              "height": 4000,
              "imageType": 1,
              "uri": "tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
              "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=fN44IK0gCMwCpngmYD2lQ8RWW3s%3D",
              "urlList": [
                "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=fN44IK0gCMwCpngmYD2lQ8RWW3s%3D",
                "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-thumb.webp?_iz=1&bid=10&ci=&from=article.private_chat&gi=&gid=7450114952884503059&ii=0&lk3s=06827d14&rt=0&x-expires=1791895081&x-signature=wwwdyLbGtmobtWeWnMBkBBCV%2FHY%3D"
              ],
              "width": 6000
            },
            "shareControl": {
              "isHighQuality": true
            },
            "shareURL": ""
          },
          "userInfo": {
            "avatarURL": "https://p3-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~tplv-resize:120:120.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1791936000&x-signature=YSfMFJ%2FhPCL25v%2BTy1N6IhdYwrM%3D",
            "description": "闪电新闻,先声夺人。山东广播电视台倾力打造的融媒体客户端。",
            "followersCount": 5582944,
            "isVitalityAuthor": false,
            "liveInfo": {
              "liveBusinessType": 0,
              "liveInfoType": 1
            },
            "mediaID": 51201073347,
            "mediaType": 7,
            "name": "闪电新闻",
            "userAuthInfo": "{\"auth_type\":\"5\",\"auth_info\":\"闪电新闻官方账号\"}",
            "userID": 51050126444,
            "userRelation": {
              "isFollowing": false
            },
            "userVerified": 1,
            "verifiedContent": "闪电新闻官方账号"

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Toutiao Article Details (App) API

Returns details for one Toutiao article: engagement counts, the publishing account, share links, and the action bar settings. It needs the article's group_id.

Use cases

  • Track the read, like, comment and share counts of a single Toutiao article.
  • Identify which media account published an article and check its follower count and verification status.
  • Get the share URL, share title and source article URL for a post.
  • Check whether commenting, liking or burying is disabled on an article.

Request

curl -X POST "https://api.sandbase.ai/v1/api/toutiao/app/article-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"group_id": "7450114952884503059"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
group_idstringYesPost ID, can be obtained from the link

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "ab_path": "0f35e2858fb36f23fab49cc74e768cf5",
    "ban_bury": 0,
    "ban_comment": 0,
    "ban_digg": 0,
    "bury_count": 0,
    "comment_count": 1,
    "content_hash": "e6b66251",
    "context": "{\"entity_info\":{\"1140837504906020782\":{\"baike\":{\"button_title\":\"查看百科\",\"descripti…",
    "danmaku_count": 0,
    "dataType": 0,
    "detail_show_flags": 0,
    "digg_count": 3
  },
  "message": "success"
}

Response fields

FieldMeaning
data.group_idNumeric ID of the article. data.itemCell.articleBase.gidStr holds the same ID as a string.
data.share_info.titleArticle title, with the " - 今日头条" suffix.
data.sourceName of the account that published the article.
data.urlLink to the original article on the publisher's site.
data.read_count / data.digg_count / data.comment_count / data.repin_countCounts of reads, likes, comments and saves (repins) for the article.
data.itemCell.itemCounter.shareCount / data.itemCell.itemCounter.forwardCountCounts of shares and forwards for the article. readCount, diggCount and commentCount in the same object repeat the main counts.
data.user_info.name / data.user_info.fans_count / data.user_info.user_verifiedPublisher account name, follower count, and whether the account is verified. data.user_info.user_auth_info holds the verification label as a JSON string.
data.user_info.media_id / data.user_info.user_idNumeric IDs of the publishing media account and its user.
data.ban_comment / data.ban_digg / data.ban_buryFlags for whether comments, likes and buries are disabled. 0 means not disabled.
data.itemCell.actionCtrl.actionBar.actionSettingList[]Action bar buttons for the article. Each entry has an actionType and a styleSetting.text label such as share, comment or like.
data.h5_extra.audio_info.audioDurationLength of the audio version of the article. audioWatchCount shows how many times the audio was played.

Notes

  • Take group_id from the Toutiao post link. It is the long number after /group/ or /article/, for example 7450114952884503059.
  • data.itemCell and data.h5_extra.itemCell contain the same article data, and data.user_info and data.media_info contain the same account data.
  • To read comments on the article, call Toutiao Post Comments. For the publisher's profile, use Toutiao User Profile.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Read the selected article's app metadata

Use group_id for a known Toutiao article, taking the article identifier from a link such as /article/<id>/ or /group/<id>/. The input is an article ID, not the publisher's user_id or media_id. This guide starts from an article you already chose and does not search for or collect all of an author's work.

The reference describes article counters and optional publisher fields such as data.user_info.name and fans_count. Its public JSON is trimmed, so not every described field appears in the visible example. Inspect the actual record and keep absent fields unknown; do not manufacture an author name or convert a missing follower count to zero. A publisher card attached to one article is not a universal substitute for every user-profile endpoint.

The tutorial's older experiment found sparse profile results for the accounts it tested. That is a dated observation, not proof that all current profile requests fail. Preserve article and account identifiers separately when grouping research, and do not interpret likes or views as campaign attribution.

Need article body HTML instead? Choose Web Article Info independently. That endpoint names the article input aweme_id even though this one uses group_id. Do not send both names or substitute an unrelated short-video ID based on the field name.

Give your agent one selected article

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ and Bearer authentication. For an already connected agent, give it the exact endpoint and article ID. Starting a project? Share the setup Skill, Markdown quickstart and one task. Ask it to save one response before adding profile, comments or repeated measurements.

Validate completed SandBase status and read outputs[0].data. Both selected reference payloads use message success with a data object; validate that provider result before extracting fields. Do not prefer a top-level output fallback, silently convert a missing object to an empty record, or run another endpoint automatically when a field is absent. These are single-article reads with no pagination parameters in the selected schemas.

Pricing checked on 2026-11-08: each endpoint lists $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement. Check current pricing before executing. This revision made no new business query. See the Toutiao Python article-research guide for current code and separately dated historical observations.

探索更多

相关 APIs

全部 APIs
API价格响应
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.071429 每次调用JSON

问题

常见问题

如何使用 Toutiao Article Details (App) API?

向 https://api.sandbase.ai/v1/api/toutiao/app/article-info 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Toutiao Article Details (App) API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Toutiao Article Details (App) API 接受哪些参数?

必填:group_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Toutiao Article Details (App) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Toutiao 开发者账户或 API key 吗?

不需要。Toutiao Article Details (App) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Toutiao API 访问权限。

App Article Info 需要文章 ID 还是作者 ID?

请将所选文章标识符作为 group_id 发送。publisher 的 user_id 或 media_id 是不同的标识符。请从已知文章链接中提取文章 ID,不要用 profile ID 替代,也不要自动搜索。

每次响应都会保证包含所有发布者字段吗?

不会。参考资料描述了发布者和文章字段,但其公开 JSON 被截断了。请检查实际返回的字段,并将缺失的名称或数量视为未知。过时的稀疏 profile 实验并不能证明现在每个 profile endpoint 都会失败。

我可以把 group_id 复用为 Web Article Info 的请求键吗?

同一个所选文章标识符在 web/article-info 路由中是通过 aweme_id 发送的。请使用该路由文档中准确的参数名;不要同时发送两个键,也不要把它与其他平台无关的视频 ID 混淆。