qq.com APIqq.com ↗
Access QQ.com news articles, hot topics, stock indices, sports schedules, and homepage content via a structured JSON API. 12 endpoints covering qq.com data.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/1f07493c-d9a8-455a-9a18-6f954096105b/get_homepage' \ -H 'X-API-Key: $PARSE_API_KEY'
Get homepage content from qq.com including links, images, and text elements extracted from the page HTML.
No input parameters required.
{
"type": "object",
"fields": {
"links": "array of link objects with text and url fields",
"images": "array of image objects with url, alt, and context fields",
"sections": "array of section identifiers (may be empty)",
"headlines": "array of headline strings (may be empty)",
"text_elements": "array of text strings extracted from links on the page"
},
"sample": {
"data": {
"links": [
{
"url": "https://mail.qq.com/",
"text": "邮箱"
},
{
"url": "https://news.qq.com/",
"text": "要闻"
}
],
"images": [
{
"alt": "",
"url": "https://inews.gtimg.com/newsapp_bt/0/0422170355111_2054/0",
"context": ""
}
],
"sections": [],
"headlines": [],
"text_elements": [
"邮箱",
"要闻",
"科技"
]
},
"status": "success"
}
}About the qq.com API
The QQ.com API provides 12 endpoints covering news articles, trending topics, stock market indices, sports schedules, and homepage content from one of China's largest web portals. You can fetch full article text via get_article, search QQ News by keyword with search_news, pull category-specific feeds with get_category_news, and retrieve live stock index data for nine major markets including Shanghai, Nasdaq, and Hang Seng via get_stock_indices.
Homepage and Content Extraction
Three focused endpoints break down qq.com's homepage into constituent parts. get_homepage returns the full set of links, images, sections, headlines, and text_elements in a single call. If you only need image assets, get_homepage_images returns each image's url, alt text, and surrounding context. get_homepage_links returns link text and url pairs for all article links on the page. get_evening_report filters those links for entries containing '晚报' (evening report) — note it may return an empty array outside the times when that section is published.
News Search and Category Feeds
search_news accepts a query string and an optional page integer (starting from 0) for pagination. The response includes a secList array of section objects, each holding a newsList with article titles, URLs, and abstracts, plus a total_num count and a hasMore flag. get_category_news takes a category channel ID — such as news_news_tech, news_news_sports, or news_news_finance — and returns data objects containing hot_module and collection_article arrays with titles, URLs, and thumbnails. get_article accepts a full article url and returns the article title, body content as a text string, and an array of image URL strings.
Trending, Sports, and Markets
get_hot_topics returns a ranked list of trending articles via an idlist array, where each entry's newslist contains articles with hot scores. get_today_hot_broadcast narrows that to the top 10 items, each with a title, url, and hot_event metadata object. get_sports_schedule accepts a competition_id (e.g., 100000 for NBA) and returns match objects with team names, scores, start times, and streaming details. get_stock_indices returns nine major indices — including Shanghai Composite, Shenzhen Component, ChiNext, STAR Market, CSI 300, Hang Seng, Dow Jones, Nasdaq, and S&P 500 — each with name, code, current price, change amount, and percent change.
- Monitoring QQ News hot topics in real time using
get_hot_topicshot scores to detect trending stories in China - Building a Chinese market dashboard with
get_stock_indicescovering both mainland and international indices - Aggregating sports match schedules and live scores for NBA games via
get_sports_schedulewith competition_id 100000 - Searching QQ News by keyword with
search_newsto track brand mentions or news coverage across Chinese media - Extracting full article text and images from QQ News pages using
get_articlefor content analysis pipelines - Feeding category-specific news into vertical apps using
get_category_newswith channels like news_news_tech or news_news_finance - Automating daily evening report collection from qq.com using
get_evening_reportto monitor '晚报' digests
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does QQ.com have an official developer API?+
What does `search_news` return and how does pagination work?+
search_news requires a query string and accepts an optional page integer starting at 0. The response includes secList, an array of section objects each containing a newsList array with article titles, URLs, and abstracts. The hasMore field (1 or 0) indicates whether additional pages exist, and total_num gives the total result count.Does `get_sports_schedule` cover competitions beyond NBA?+
competition_id 100000 for NBA. Other competition IDs may work but are not enumerated in the current spec. The API returns match objects with team names, scores, start times, and streaming info for whatever competition ID you supply. You can fork this API on Parse and revise it to explicitly document or extend coverage for additional competitions such as CBA, Premier League, or others.Does the API provide individual stock quotes or historical price data?+
get_stock_indices covers nine major indices (Shanghai, Shenzhen, ChiNext, STAR Market, CSI 300, Hang Seng, Dow Jones, Nasdaq, S&P 500) with current price, change amount, and percent change — not individual ticker quotes or historical time series. You can fork it on Parse and revise to add an endpoint targeting individual stock data.Can `get_evening_report` return an empty result?+
evening_report array will be empty. Factor this time-sensitivity into any scheduled workflows consuming this endpoint.