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.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 0 件

プレイグラウンド

入力
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": "闪电新闻官方账号"

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

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

質問

FAQ

Toutiao Article Details (App) API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/toutiao/app/article-info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Toutiao Article Details (App) API の料金はいくらですか?

1回あたり $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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Toutiao の API アクセスを別途申請する必要はありません。

App Article Info には article ID が必要ですか、それとも author ID ですか?

選択した article の識別子を group_id として送信してください。publisher の user_id や media_id は別の識別子です。profile ID を代用したり自動検索したりせず、既知の article リンクから article ID を抽出してください。

すべての publisher フィールドが各レスポンスで保証されますか?

いいえ。参照には publisher と article のフィールドが記載されていますが、公開 JSON は切り詰められています。実際に返されたフィールドを確認し、欠けている名前や件数は unknown のままにしてください。古い sparse-profile の実験は、現在のすべての profile エンドポイントが失敗する証拠ではありません。

Web Article Info のリクエストキーとして group_id を再利用できますか?

同じ選択済み article の識別子は、web/article-info ルートでは aweme_id として送信します。選択したルートのパラメータ名を正確に使い、両方のキーを送信したり、無関係な別プラットフォームの video ID と混同したりしないでください。