Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Toutiao Article Details (App)

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Post ID, can be obtained from the link
ÇıktıÖrnek
Yanıtoutputs · 15.7 KB · 398 satır
[
  {
    "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": "闪电新闻官方账号"

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.001 çağrı başınaJSON
Toutiao$0.071429 çağrı başınaJSON

Sorular

SSS

Toutiao Article Details (App) API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/toutiao/app/article-info adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Toutiao Article Details (App) API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Toutiao Article Details (App) API'si hangi parametreleri kabul eder?

Gerekli: group_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Toutiao Article Details (App) API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Toutiao geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Toutiao Article Details (App), SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Toutiao API erişimi için ayrıca başvuru yapmanız gerekmez.

App Article Info için article ID mi yoksa author ID mi gerekiyor?

Seçilen article tanımlayıcısını group_id olarak gönderin. Yayıncı user_id ya da media_id farklı bir tanımlayıcıdır. Article ID’yi bir profil ID’siyle değiştirmek ya da otomatik arama yapmak yerine bilinen bir article bağlantısından çıkarın.

Her yanıtta tüm yayıncı alanları garanti mi?

Hayır. Referans yayıncı ve article alanlarını tanımlar, ancak genel JSON’u kırpılmıştır. Gerçek dönen alanları inceleyin ve eksik adlar ya da sayıları bilinmeyen olarak bırakın. Tarihli seyrek profil deneyi, her güncel profil endpoint’inin başarısız olduğunun kanıtı değildir.

Web Article Info için group_id’yi istek anahtarı olarak yeniden kullanabilir miyim?

Aynı seçilen article tanımlayıcısı web/article-info rotasında aweme_id altında gönderilir. Tam olarak seçilen rotanın parametre adını kullanın; her iki anahtarı birden göndermeyin ve onu başka bir platformun video ID’siyle karıştırmayın.