Tianyancha Company Events Scraper
Pricing
from $1.00 / 1,000 dynamic events
Tianyancha Company Events Scraper
Scrape recent Tianyancha company events by gid, including company record changes, lawsuits, administrative penalties, court announcements, and risk levels. Combine with Search, Basic Info, Risk, Shareholders, Listing, and News Actors for compliance, due diligence, monitoring, and alerts.
Pricing
from $1.00 / 1,000 dynamic events
Rating
0.0
(0)
Developer
Tarique
Maintained by CommunityActor stats
0
Bookmarked
4
Total users
4
Monthly active users
8 days ago
Last modified
Categories
Features
Share
What does tianyancha-dynamics do?
tianyancha-dynamics is a Chinese company event and legal risk monitoring scraper. Given a company gid, it extracts recent events from Tianyancha — lawsuits, court hearing announcements, administrative penalties, company record changes, event dates, and risk levels — as structured JSON.
Each event becomes its own dataset row tagged with company ID, event type, date, and risk level. Run one-off checks in Apify Console or build recurring alerts with the Apify API, schedules, webhooks, monitoring, and integrations.
Why use tianyancha-dynamics?
- No browser, no manual login — plain HTTP requests, so runs are fast and cheap.
- Clean structured JSON — every event is flattened into its own dataset row, downloadable as JSON, CSV, Excel, XML, or HTML.
- Batch by company — fetch many
gidsin a single run; every event lands in the same dataset. - Ready for automation — combine it with Apify scheduling, webhooks, and API access to power risk-monitoring and compliance pipelines.
- Apify platform advantages — monitored runs, pay-per-use billing, proxy support, and 15 integrations out of the box.
Related Tianyancha Actors
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.
| Actor | Best for |
|---|---|
| Tianyancha Company Search | Find companies by keyword and return reusable gid values |
| Tianyancha Basic Company Info | Company profile, legal representative, capital, credit code, and address |
| Tianyancha Shareholders | Shareholders, holding percentages, controlling shareholder, and actual controller |
| Tianyancha Company Dynamics | Company changes, lawsuits, court hearings, penalties, and alerts |
| Tianyancha Risk & IP Counts | Lawsuit, penalty, patent, trademark, branch, and risk counts |
| Tianyancha Listed Company Data | Stock code, exchange, market board, listing status, and market cap |
How to use tianyancha-dynamics
- 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 dynamics 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-dynamics --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 record per dynamic event to the default dataset. A representative (abbreviated) output item looks like:
{"gid": 9519792,"eventType": "New court hearing announcement","dynamicDate": "2026-08-16","riskLevel": 4,"textList": [{ "text": "New court hearing announced for a copyright dispute", "display": true }]}
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 |
eventType | Type of the dynamic event |
dynamicDate | Date the event occurred |
textList | Human-readable description lines |
riskLevel | Risk level (higher = more severe) |
dimType | Internal dimension type code |
appRouteUrl | In-app deep-link to the event |
How much does it cost to scrape Tianyancha?
This Actor uses pay-per-event pricing at $0.001 per successfully saved dynamic event.
| Successfully saved dynamic events | Event charge |
|---|---|
| 1 | $0.001 |
| 10 | $0.010 |
| 100 | $0.100 |
| 1,000 | $1.000 |
Each dynamic event 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 dynamic events 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 thetianyancha-searchActor to find companies by keyword, then feed theirids here. - Batch lookups — pass many
gidsin a single run; every event is stored 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.