Tianyancha Risk Data Scraper avatar

Tianyancha Risk Data Scraper

Pricing

from $3.00 / 1,000 dimension counts

Go to Apify Store
Tianyancha Risk Data Scraper

Tianyancha Risk Data Scraper

Scrape Tianyancha company dimension counts by gid, including operating risks, lawsuits, administrative penalties, patents, trademarks, shareholders, and branches. Combine with Search, Basic Info, Dynamics, Shareholders, Listing, and News Actors for risk scoring, IP research, and company screening.

Pricing

from $3.00 / 1,000 dimension counts

Rating

0.0

(0)

Developer

Tarique

Tarique

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

4

Monthly active users

22 days ago

Last modified

Share

What does tianyancha-dimension do?

tianyancha-dimension is a Chinese company risk, legal case, and intellectual-property count scraper. Given a company gid, it extracts hundreds of dimension counts from Tianyancha, including lawsuits, administrative penalties, patents, trademarks, shareholders, branches, operating risks, and more, as a single flat JSON record.

The output is one spreadsheet-ready record per company. Use it in Apify Console or automate risk scoring and portfolio screening through the Apify API, schedules, webhooks, monitoring, and integrations.

Why use tianyancha-dimension?

  • No browser, no manual login — plain HTTP requests, so runs are fast and cheap.
  • Flat, spreadsheet-ready JSON — every company is one row with all counts as columns, downloadable as JSON, CSV, Excel, XML, or HTML.
  • Batch by company — fetch many gids in a single run.
  • Ready for automation — combine it with Apify scheduling, webhooks, and API access to power risk-scoring and monitoring 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-dimension

  1. Open the Actor's Input tab in the Apify Console.
  2. Enter one or more company gids (e.g. [9519792, 9519793]).
  3. Click Start. The Actor fetches each company's dimension counts and stores them in the run's dataset.
  4. 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-dimension --input '{"gids": [9519792, 9519793]}'

Input

The Actor takes a single input field:

FieldTypeRequiredDescription
gidsarray<integer>YesTianyancha company group IDs (gids) to fetch, e.g. [9519792, 9519793]

Example input:

{
"gids": [9519792, 9519793]
}

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 flat record per company to the default dataset. A representative (abbreviated) output item looks like:

{
"gid": 9519792,
"lawsuitCount": 1393,
"tmCount": 224,
"patentCount": 1487,
"holderCount": 4,
"legalPersonCount": 1,
"staffCount": 3908
}

The full record contains hundreds of count fields. 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
lawsuitCountNumber of lawsuit records
tmCountNumber of trademarks
patentCountNumber of patents
holderCountNumber of shareholders
legalPersonCountNumber of legal representatives
staffCountNumber of staff
investOrgsCountNumber of investment organizations
branchCountNumber of branches

How much does it cost to scrape Tianyancha?

This Actor uses pay-per-event pricing at $0.003 per successfully processed company (gid). The number of records, pages, articles, shareholders, events, or listing items returned for that company does not change the price.

Successfully processed companiesEvent charge
1$0.003
2$0.006
10$0.030
100$0.300

A company is charged only after Tianyancha returns a valid response and all output records for that gid are saved to the Dataset. Failed requests, restricted/error responses, and Dataset write failures are not charged. A valid response with zero matching detail records is still a completed company lookup and is charged once. Duplicate input gid values are normalized and processed only once.

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.
  • Batch lookups — pass many gids in a single run; every company is one row in the same dataset.
  • 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.