Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Toutiao Article Details (App)

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Post ID, can be obtained from the link
SalidaEjemplo
Respuestaoutputs · 15.7 KB · 398 líneas
[
  {
    "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": "闪电新闻官方账号"

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.001 por llamadaJSON
Toutiao$0.071429 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Toutiao Article Details (App)?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/toutiao/app/article-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Toutiao Article Details (App)?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Toutiao Article Details (App)?

Requeridos: group_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Toutiao Article Details (App)?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Toutiao?

No. Toutiao Article Details (App) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Toutiao por separado.

¿App Article Info necesita el ID del artículo o el ID del autor?

Envía el identificador del artículo seleccionado como group_id. Un user_id o media_id del editor es un identificador diferente. Extrae el ID del artículo de un enlace conocido del artículo en lugar de sustituirlo por un ID de perfil o buscarlo automáticamente.

¿Todos los campos del editor están garantizados en cada respuesta?

No. La referencia describe campos del editor y del artículo, pero su JSON público está recortado. Inspecciona los campos realmente devueltos y mantén desconocidos los nombres o recuentos faltantes. Un experimento antiguo con perfiles escasos no prueba que hoy falle cada endpoint de perfil.

¿Puedo reutilizar group_id como clave de solicitud para Web Article Info?

El mismo identificador del artículo seleccionado se envía como aweme_id en la ruta web/article-info. Usa exactamente el nombre del parámetro de la ruta seleccionada; no envíes ambas claves ni lo confundas con el ID de video de una plataforma no relacionada.