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.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.071429JSON

問題

常見問題

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

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/toutiao/app/article-info。您也可以直接在本頁的 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 金鑰嗎?

不需要。Toutiao Article Details (App) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Toutiao API 存取權。

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

請將所選文章識別碼以 group_id 傳入。發布者的 user_id 或 media_id 是不同的識別碼。請從已知的文章連結擷取文章 ID,不要用個人檔案 ID 代替,也不要自動搜尋。

每次回應都保證會有所有發布者欄位嗎?

不保證。參考資料描述了發布者與文章欄位,但其公開 JSON 已被裁切。請檢查實際回傳欄位,並將缺少的名稱或數值維持未知。過時的稀疏個人檔案實驗,不能證明現在每個 profile endpoint 都會失敗。

我可以把 group_id 重用為 Web Article Info 的請求鍵嗎?

相同的所選文章識別碼在 web/article-info 路由中會以 aweme_id 傳送。請使用該路由明確指定的參數名稱;不要同時送兩個鍵,也不要把它和其他平台無關的影片 ID 混淆。