SuperAPI AI Directory

toutiao-news-trends

Data & analytics

View repository

Updated 10-16 02:37

About this skill

Toutiao News Hot List

Skill Overview

This skill is used to scrape Toutiao PC-side hot-board data, including:

  • Hot topic title
  • Popularity value (HotValue)
  • Detail jump link (redundant query parameters removed for easy sharing)
  • Cover image (if any)
  • Tags (such as "Hot Event", etc.)

Data source: Toutiao (www.toutiao.com)

Get Hot List

Get the hot list (default 50 items, returned in list order):

node scripts/toutiao.js hot

Get the top N items of the hot list:

node scripts/toutiao.js hot 10

Returned Data Field Description

Field Type Description
rank number List ranking (starting from 1)
title string Hot topic title
popularity number Popularity value (HotValue, converted to a number; 0 if parsing fails)
link string Hot topic detail link (query/hash cleaned)
cover string | null Cover image URL (if any)
label string | null Tag/identifier (if any)
clusterId string Aggregation ID (stringified)
categories string[] Interest category (if any)

Notes

  • This interface is a public web-side interface, and the returned structure may change; if fields are missing, appropriate fault tolerance can be applied
  • Frequent access may trigger risk control; the script has built-in random User-Agent and timeout control

About the Author

  • Omnipresent One Piece Fan
  • My WeChat official account: Omnipresent Technology