Tianyancha Company News Scraper avatar

Tianyancha Company News Scraper

Pricing

from $1.00 / 1,000 news articles

Go to Apify Store
Tianyancha Company News Scraper

Tianyancha Company News Scraper

Scrape paginated Tianyancha company news by gid, including articles, media sources, summaries, sentiment, publication times, and original URLs. Combine with Search, Basic Info, Shareholders, Risk, Dynamics, and Listing Actors for media monitoring, due diligence, and alerts.

Pricing

from $1.00 / 1,000 news articles

Rating

0.0

(0)

Developer

Tarique

Tarique

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

What does tianyancha-news do?

tianyancha-news is a paginated Chinese company news and media monitoring scraper. Given a company gid, it extracts articles from Tianyancha with their title, source website, summary, sentiment, publication time, and original URL as structured JSON.

Each article becomes a dataset row tagged with company ID, and pagination supports hundreds of articles per company. Run it in Apify Console or automate media alerts through the Apify API, schedules, webhooks, monitoring, and integrations.

Why use tianyancha-news?

  • No browser, no manual login — plain HTTP requests, so runs are fast and cheap.
  • Clean structured JSON — every article is flattened into its own dataset row, downloadable as JSON, CSV, Excel, XML, or HTML.
  • Paginated — control page size and page count to tune volume versus cost.
  • Ready for automation — combine it with Apify scheduling, webhooks, and API access to power media-monitoring and reputation pipelines.
  • Apify platform advantages — monitored runs, pay-per-use billing, proxy support, and 15 integrations out of the box.

These Actors share a gid-based workflow. Start with Tianyancha Company Search to find companies by keyword, then pass each returned id to the detail Actors below.

ActorBest for
Tianyancha Company SearchFind companies by keyword and return reusable gid values
Tianyancha Basic Company InfoCompany profile, legal representative, capital, credit code, and address
Tianyancha ShareholdersShareholders, holding percentages, controlling shareholder, and actual controller
Tianyancha Company DynamicsCompany changes, lawsuits, court hearings, penalties, and alerts
Tianyancha Risk & IP CountsLawsuit, penalty, patent, trademark, branch, and risk counts
Tianyancha Listed Company DataStock code, exchange, market board, listing status, and market cap

How to use tianyancha-news

  1. Open the Actor's Input tab in the Apify Console.
  2. Enter one or more company gids (e.g. [9519792, 9519793]).
  3. Optionally set Articles per page and Max pages per company.
  4. Click Start. The Actor fetches each company's news and stores every article in the run's dataset.
  5. Open the run's Dataset tab to preview the JSON, or download it in your preferred format.

You can also run it from the command line with the Apify CLI:

$apify call <username>/tianyancha-news --input '{"gids": [9519792, 9519793], "pageSize": 20, "maxPages": 1}'

Input

The Actor takes the following input fields:

FieldTypeRequiredDescription
gidsarray<integer>YesTianyancha company group IDs (gids) to fetch, e.g. [9519792, 9519793]
pageSizeintegerNoArticles per page (1–100, default 20)
maxPagesintegerNoMax pages per company (1–50, default 1)

Example input:

{
"gids": [9519792, 9519793],
"pageSize": 20,
"maxPages": 2
}

All Tianyancha API requests use Apify Residential Proxy with the exit location fixed to mainland China (CN). No custom proxy URL or proxy environment variable is required. The Actor fails instead of falling back to a direct request.

The remaining runtime option is preset in the Actor configuration:

VariableDescription
TYC_CONCURRENCYMaximum number of companies fetched concurrently. Preset and fallback: 8.

Output

The Actor pushes one record per news article to the default dataset. A representative (abbreviated) output item looks like:

{
"gid": 9519792,
"pageNum": 1,
"total": 5000,
"title": "A common challenge most smartphone users encounter",
"website": "Example News",
"sentiment": "Neutral",
"rtm": 1786855325000,
"uri": "https://www.toutiao.com/article/7674485073693131266/"
}

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Data table

Main fields you can expect in the output:

FieldDescription
gidTianyancha company ID
titleNews article title
abstractsNews article summary
websiteSource website or media outlet
sentimentSentiment label (positive, neutral, or negative)
rtmPublish time (millisecond timestamp)
uriOriginal article URL
totalTotal articles available for the company

How much does it cost to scrape Tianyancha?

This Actor uses pay-per-event pricing at $0.001 per successfully saved news article.

Successfully saved news articlesEvent charge
1$0.001
10$0.010
100$0.100
1,000$1.000

Each news article is charged only when its record is successfully saved to the Dataset. Failed requests, restricted/error responses, Dataset write failures, invalid entries, and valid company lookups with zero articles are not charged an event fee. Duplicate input gid values are normalized and processed only once. Apify platform usage, including compute, residential proxy traffic, storage, and data transfer, is billed separately.

Tips or Advanced options

  • Get the right gid — pair this with the tianyancha-search Actor to find companies by keyword, then feed their ids here.
  • Tune volume — set maxPages: 1 and a small pageSize for a quick sample, or raise both to pull a company's full news history.
  • Fast and cheap — the Actor uses plain HTTP, so it is far cheaper and faster than browser-based scrapers for the same data.

FAQ, disclaimers, and support

  • Is this legal? The Actor accesses Tianyancha's public mobile API. You are responsible for complying with Tianyancha's Terms of Service and applicable laws, and for how you use the data.
  • Known limitations — the private API may change without notice; if the endpoint changes, runs may fail until the Actor is updated.
  • Need a custom solution? For tailored scraping, bulk export, or integration work, open an issue on the Issues tab or reach out for a custom Actor.

This page was generated with Apify's Actor README guidelines.