Tianyancha Company Dimension Counts
Pricing
$3.00 / 1,000 dimension counts
Tianyancha Company Dimension Counts
Fetches a company's dimension counts (诉讼, 专利, 商标, 股东等) from Tianyancha (天眼查) by company gid.
Pricing
$3.00 / 1,000 dimension counts
Rating
0.0
(0)
Developer
NewLai
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
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.
中文简介: 这是一个天眼查企业风险数据 API,可批量获取企业司法诉讼、行政处罚、经营风险、专利、商标、股东和分支机构等维度的数量汇总,适合企业尽调、风险评分、知识产权分析和批量企业筛查。
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
gidsin 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.
How to use tianyancha-dimension
- Open the Actor's Input tab in the Apify Console.
- Enter one or more company
gids(e.g.[9519792, 9519793]). - Click Start. The Actor fetches each company's dimension counts and stores them in the run's dataset.
- 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:
| Field | Type | Required | Description |
|---|---|---|---|
gids | array<integer> | Yes | Tianyancha 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:
| Variable | Description |
|---|---|
TYC_CONCURRENCY | Maximum 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:
| Field | Description |
|---|---|
gid | Tianyancha company ID |
lawsuitCount | Number of lawsuits (裁判文书) |
tmCount | Number of trademarks (商标) |
patentCount | Number of patents (专利) |
holderCount | Number of shareholders (股东) |
legalPersonCount | Number of legal representatives (法人) |
staffCount | Number of staff (人员) |
investOrgsCount | Number of investment organizations (投资机构) |
branchCount | Number of branches (分支机构) |
How much does it cost to scrape Tianyancha?
Apify usage is measured in compute units (CUs). Each run is a lightweight set of HTTP requests with no browser, so it consumes well under a fraction of a CU per company. With Apify's free tier, occasional lookups cost nothing. For bulk lookups, the default memory (256 MB) and short run duration keep costs minimal — you can estimate your exact spend on the Apify Pricing page.
Tips or Advanced options
- Get the right
gid— pair this with thetianyancha-searchActor to find companies by keyword, then feed theirids here. - Batch lookups — pass many
gidsin 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.