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

Toutiao Article Details (Web)

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

Returns detailed post information and interface action settings for a specified Toutiao article based on its unique post identifier.

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

Playground

输入
Post ID
输出示例
响应outputs · 15.0 KB · 276 行
[
  {
    "data": {
      "data": {
        "aggr_type": 1,
        "audio_id": "7450115760640229924",
        "content": "\n\n\n<header><div class=\"tt-title\">“海阳船”再发“海阳箭”——谷神星一号海遥四运载火箭发射成功</div><div class=\"authorbar\" style=\"padding-bottom:3px;\"><div class=\"avatar\"><a class=\"author-avatar-link\"><div class=\"author-avatar\"><img class=\"author-avatar-img\" src=\"https://p11-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~300x300.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1787875200&x-signature=7CvvSuBJux%2Fgj3BpLchUf45Hpac%3D\"></div></a></div><div class=\"author-function-buttons\"><button class=\"follow-button\"></button></div><div class=\"author-bar\"><div class=\"name-link-wrap\"><div class=\"nam…",
        "content_hash": "e6b66251",
        "group_id": 7450114952884504000,
        "group_source": 2,
        "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": "0"
            },
            "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"
          },
          "avatar": "https://p11-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~300x300.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1787875200&x-signature=7CvvSuBJux%2Fgj3BpLchUf45Hpac%3D",
          "diversity": {
            "publish_loc_info": "山东"
          },
          "g_composition": 8,
          "g_source": 2,
          "is_lite": 1,
          "is_original": 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,
              "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",
              "preloadWeb": 2
            },
            "articleBase": {
              "gidStr": "7450114952884503059",
              "itemStatus": 20
            },
            "articleClassification": {
              "aggrType": 1,
              "articleSubType": 0,
              "articleType": 0,
              "bizID": 10,
              "bizTag": 22,
              "groupSource": 2,
              "isOriginal": false,
              "isSubject": false,
              "level": 0
            },
            "cellCtrl": {},
            "extra": {
              "ping": "pong"
            },
            "imageList": {},
            "itemCounter": {
              "buryCount": 0,
              "commentCount": 1,
              "diggCount": 2,
              "forwardCount": 0,
              "readCount": 95,
              "repinCount": 1,
              "shareCount": 9,
              "showCount": 3474,
              "textCount": 0,
              "videoWatchCount": 95
            },
            "relatedInfo": {},
            "shareInfo": {
              "shareControl": {
                "isHighQuality": true
              },
              "shareURL": "http://toutiao.com/group/7450114952884503059/?app=news_article"
            }
          },
          "media": {
            "auth_info": "闪电新闻官方账号",
            "avatar_url": "https://p11-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~300x300.image?_iz=112761&from=tt_user.tuwen&lk3s=06827d14&x-expires=1787875200&x-signature=7CvvSuBJux%2Fgj3BpLchUf45Hpac%3D",
            "can_be_praised": false,
            "car_author": 0,
            "creator_id": 51050126444,
            "description": "闪电新闻,先声夺人。山东广播电视台倾力打造的融媒体客户端。",
            "id": 51201073347,
            "master_media_info": "",
            "name": "闪电新闻",
            "pgc_custom_menu": "",
            "praise_data": {},
            "show_pgc_component": true,
            "user_auth_info": "{\"auth_type\":\"5\",\"auth_info\":\"闪电新闻官方账号\"}",
            "user_verified": true,
            "v": false
          },
          "media_user_id": "51050126444",
          "name": "闪电新闻",
          "publish_stamp": "1734615075",
          "publish_time": "2024-12-19 21:31",
          "sensitive_label": "32",
          "source": "闪电新闻",
          "src_link": "https://sdxw.iqilu.com/w/article/YS0yMS0xNjExMzg4Mg.html",
          "str_group_id": "7450114952884503059",
          "str_item_id": "7450114952884503059",
          "title": "“海阳船”再发“海阳箭”——谷神星一号海遥四运载火箭发射成功",
          "video_count": 0
        },
        "image_detail": [
          {
            "height": 4000,
            "image_type": 1,
            "uri": "large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
            "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=X5XNGZ0dO2AQk0M3iPpAT1Jv6KA%3D",
            "url_list": [
              {
                "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=X5XNGZ0dO2AQk0M3iPpAT1Jv6KA%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=X5XNGZ0dO2AQk0M3iPpAT1Jv6KA%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=X5XNGZ0dO2AQk0M3iPpAT1Jv6KA%3D"
              }
            ],
            "width": 6000
          }
        ],
        "is_wenda": 0,
        "item_id": 7450114952884504000,
        "main_image_list": [
          {
            "height": 370,
            "image_type": 0,
            "uri": "tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
            "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-post:540:370.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=vc0Zg5v%2B0ZC6GTPoZ3rl7%2FQ2V2U%3D",
            "url_list": [
              {
                "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-post:540:370.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=vc0Zg5v%2B0ZC6GTPoZ3rl7%2FQ2V2U%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-post:540:370.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=ZI4IMHjSaljETcOSOWWLcC97%2B7M%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-tt-post:540:370.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=ZI4IMHjSaljETcOSOWWLcC97%2B7M%3D"
              }
            ],
            "width": 540
          }
        ],
        "media_user_id": 51050126444,
        "origin_image_list": [
          {
            "height": 4000,
            "image_type": 0,
            "uri": "tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
            "url": "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-obj.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&l=20260820173341AB3937623FE877741D7D&lk3s=06827d14&n=content_origin_image_list&x-expires=1818754421&x-signature=rAcLCHuFFt65VJx1Xh5NGFaYNrc%3D",
            "url_list": [
              {
                "url": "https://p11-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-obj.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&l=20260820173341AB3937623FE877741D7D&lk3s=06827d14&n=content_origin_image_list&x-expires=1818754421&x-signature=rAcLCHuFFt65VJx1Xh5NGFaYNrc%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-obj.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&l=20260820173341AB3937623FE877741D7D&lk3s=06827d14&n=content_origin_image_list&x-expires=1818754421&x-signature=HIP2OIwKkzOAlCjHZp6nfviMj7o%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a~tplv-obj.image?_iz=6191&bid=10&from=detail&gid=7450114952884503059&l=20260820173341AB3937623FE877741D7D&lk3s=06827d14&n=content_origin_image_list&x-expires=1818754421&x-signature=HIP2OIwKkzOAlCjHZp6nfviMj7o%3D"
              }
            ],
            "width": 6000
          }
        ],
        "thumb_image": [
          {
            "height": 4000,
            "image_type": 1,
            "uri": "thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
            "url": "https://p11-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=MY%2BAqx3INGeUDtxJq3yL5%2F0FngQ%3D",
            "url_list": [
              {
                "url": "https://p11-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=MY%2BAqx3INGeUDtxJq3yL5%2F0FngQ%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=MY%2BAqx3INGeUDtxJq3yL5%2F0FngQ%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=MY%2BAqx3INGeUDtxJq3yL5%2F0FngQ%3D"
              }
            ],
            "width": 6000
          }
        ],
        "title_image": {
          "title_image_night_url": "https://p11-sign.toutiaoimg.com/113e00006abfd9a0ea794~noop.image?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=3yf1cMQU2I%2B1OjC3qQyhbjJDhGI%3D",
          "title_image_url": "https://p11-sign.toutiaoimg.com/113e30006a970ad304392~noop.image?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=0UxfQ%2FykZ3l4YAlDdspbcMejhH0%3D",
          "type": "article"
        },
        "video_count": 0,
        "webp_image_detail": [
          {
            "height": 4000,
            "image_type": 1,
            "uri": "details/v0/w640/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a.webp",
            "url": "https://p11-sign.toutiaoimg.com/details/v0/w640/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=iTdfw0tQKDyJtQ5b5Xtan8N08fY%3D",
            "url_list": [
              {
                "url": "https://p11-sign.toutiaoimg.com/details/v0/w640/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=iTdfw0tQKDyJtQ5b5Xtan8N08fY%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/details/v0/w640/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=iTdfw0tQKDyJtQ5b5Xtan8N08fY%3D"
              },
              {
                "url": "https://p11-sign.toutiaoimg.com/details/v0/w640/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=iTdfw0tQKDyJtQ5b5Xtan8N08fY%3D"
              }
            ],
            "width": 6000
          }
        ],
        "webp_thumb_image": [
          {
            "height": 4000,
            "image_type": 1,
            "uri": "thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a.webp",
            "url": "https://p3-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=veRiexu6A4XHeY7f67yzhmcZAP0%3D",
            "url_list": [
              {
                "url": "https://p3-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=veRiexu6A4XHeY7f67yzhmcZAP0%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=veRiexu6A4XHeY7f67yzhmcZAP0%3D"
              },
              {
                "url": "https://p3-sign.toutiaoimg.com/thumb/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a?_iz=31825&bid=10&from=article.detail&gid=7450114952884503059&lk3s=06827d14&x-expires=1818754421&x-signature=veRiexu6A4XHeY7f67yzhmcZAP0%3D"
              }
            ],
            "width": 6000
          }
        ]
      },
      "message": "success"
    }
  }
]

示例

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

API README

Toutiao Article Details (Web) API

Returns the details of one Toutiao article: title, HTML body, publish time, source account, images, engagement counters and action bar settings. It needs one input, the article's post ID in aweme_id.

Use cases

  • Archive the title, HTML body and original source link (src_link) of a news article by its ID.
  • Track the read, show, like, comment and share counts of a single article over repeated calls.
  • Identify the publishing account of an article and read its verification text and description.
  • Download the cover and detail images of an article in several sizes and formats.

Request

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

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

Parameters

NameTypeRequiredDescription
aweme_idstringYesPost ID

Example response

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

{
  "data": {
    "aggr_type": 1,
    "audio_id": "7450115760640229924",
    "content": "\n\n\n<header><div class=\"tt-title\">“海阳船”再发“海阳箭”——谷神星一号海遥四运载火箭发射成功</div><div class=…",
    "content_hash": "e6b66251",
    "group_id": 7450114952884503059,
    "group_source": 2,
    "h5_extra": {
      "audio_info": {
        "audioDuration": 248,
        "audioGroupID": "7450115760640229924",
        "audioID": 7450115760640229924,
        "audioWatchBar": "LARGE_BAR",
        "audioWatchBarContent": "听全文",
        "audioWatchCount": 27,
        "audioWatchCountShowText": "文章较长试试听",
        "logPB": {
          "audioGroupSource": "578",
          "category_name": "toutiao_audio",
          "recommend_reason": "文章较长试试听",
          "stream_channel_id": "0"
        }
      },
      "avatar": "https://p3-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~300x…",
      "diversity": {
        "publish_loc_info": "山东"
      },
      "g_composition": 8,
      "g_source": 2,
      "is_lite": 1,
      "is_original": false,
      "itemCell": {
        "actionCtrl": {
          "actionBar": {
            "actionSettingList": [
              {
                "actionType": 1,
                "styleSetting": {
                  "iconKey": "分享的Icon",
                  "layoutDirection": 0,
                  "text": "分享"
                }
              }
            ]
          },
          "actionTimeInSec": "0",
          "banBury": false,
          "banComment": false,
          "banDigg": false,
          "feedbackBotSchema": "sslocal://gpt_detail/second_page?bot_id=7504969938109579302&ailog_extra=%7B%22bo…",
          "preloadWeb": 2
        },
        "articleBase": {
          "articleVersion": 0,
          "gidStr": "7450114952884503059",
          "itemStatus": 20
        },
        "articleClassification": {
          "aggrType": 1,
          "articleSubType": 0,
          "articleType": 0,
          "bizID": 10,
          "bizTag": 22,
          "groupSource": 2,
          "isOriginal": false,
          "isSubject": false
        },
        "cellCtrl": {},
        "extra": {
          "ping": "pong"
        },
        "imageList": {},
        "itemCounter": {
          "buryCount": 0,
          "commentCount": 1,
          "diggCount": 3,
          "forwardCount": 0,
          "readCount": 95,
          "repinCount": 1,
          "shareCount": 9,
          "showCount": 3479
        },
        "relatedInfo": {}
      },
      "media": {
        "auth_info": "闪电新闻官方账号",
        "avatar_url": "https://p3-sign.toutiaoimg.com/user-avatar/14194628f142c924cb14b638f6b04d91~300x…",
        "can_be_praised": false,
        "car_author": 0,
        "creator_id": 51050126444,
        "description": "闪电新闻,先声夺人。山东广播电视台倾力打造的融媒体客户端。",
        "id": 51201073347,
        "master_media_info": ""
      },
      "media_user_id": "51050126444",
      "name": "闪电新闻",
      "publish_stamp": "1734615075"
    },
    "image_detail": [
      {
        "height": 4000,
        "image_type": 1,
        "uri": "large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
        "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c…",
        "url_list": [
          {
            "url": "https://p3-sign.toutiaoimg.com/large/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c…"
          }
        ],
        "width": 6000
      }
    ],
    "is_wenda": 0,
    "item_id": 7450114952884503059,
    "main_image_list": [
      {
        "height": 370,
        "image_type": 0,
        "uri": "tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460eff7a",
        "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460ef…",
        "url_list": [
          {
            "url": "https://p3-sign.toutiaoimg.com/tos-cn-i-tjoges91tu/0db73b409bfcbc388e7995c7460ef…"
          }
        ],
        "width": 540
      }
    ],
    "media_user_id": 51050126444
  },
  "message": "success"
}

Response fields

FieldMeaning
data.title / data.sourceArticle title and the name of the publishing source account.
data.contentArticle body as an HTML string, including the title block and author bar.
data.publish_time / data.publish_stampPublish time as a text date (2024-12-19 21:31) and as a Unix timestamp string.
data.src_linkLink to the original article on the source publisher's own site.
data.h5_extra.itemCell.itemCounter.readCount / showCount / diggCount / commentCount / shareCount / repinCountEngagement counters for the article. showCount is the number of shows and readCount is the number of reads.
data.h5_extra.media.auth_info / data.h5_extra.media.descriptionVerification label and profile description of the publishing account.
data.media_user_idID of the publishing account. The same value appears as a string in data.h5_extra.media_user_id.
data.h5_extra.itemCell.actionCtrl.actionBar.actionSettingList[]Action bar buttons for the article. Each entry has an actionType and a styleSetting with the button text and icon key.
data.h5_extra.itemCell.actionCtrl.banComment / banDigg / banBuryFlags that show whether commenting, liking and burying are turned off for the article.
data.image_detail[].url / data.origin_image_list[].url / data.thumb_image[].urlImage URLs in detail, original and thumbnail versions. Each entry also gives width and height.

Notes

  • data.group_id, data.item_id and data.str_item_id all hold the same ID as the aweme_id you sent.
  • data.h5_extra.audio_info gives audioDuration and the audio ID when an audio version of the article exists.
  • To read the reader comments on a post, call Toutiao Post Comments.
  • For the author's profile, use Toutiao User Profile with the account ID.

Pricing

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

Read one article's web content

For this exact Toutiao endpoint, send the selected article ID as aweme_id. The App Article Info variant calls that identifier group_id. Use the request field declared by the selected route; a familiar field name does not change the provider or identify a different platform's video.

The reference describes data.content as an HTML string, with article metadata such as group_id, source and publication information. Confirm the fields actually returned before using them: trimmed references omit fields and an absent body is different from a present empty string. A first-request helper can validate the provider envelope and return data without claiming that every article contains all the reference fields.

Choose text excerpts and source links for a research summary; returned HTML and media URLs do not themselves download images or establish permission to republish the full article. Do not fetch comments, author profiles or images automatically. Keep a publication date separate from your retrieval time and from this documentation's revision date.

If you need the article's app metadata and publisher card instead, use App Article Info as a separate request. One article's counts and publisher fields do not establish an author's full history, audience reach or the reliability of its claims.

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.001 每次调用JSON

问题

常见问题

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

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

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

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

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

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

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

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

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

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

为什么这个 Toutiao 文章 endpoint 要求 aweme_id?

那是 toutiao/web/article-info 上声明的输入名。其参考资料将其标识为文章 ID。app/article-info 变体则使用 group_id。请将 endpoint 与其文档字段一起理解。

data.content 是纯文本吗,这个调用会下载图片吗?

参考资料将 content 描述为 HTML。处理前请检查返回字段,并使用适当的摘录并注明来源。payload 中的媒体 URL 并不会自动下载图片,也不会授予转载权。

一篇文章的响应能描述作者的整体受众吗?

不能。它只是所选单篇文章的一条记录。计数和发布者元数据只是该响应的观测值,不是完整发帖历史、测量覆盖量或活动结果。进一步读取应作为独立任务。