scan_recent_events
Discover one filing event type across companies using linked filing dates within the last seven Beijing calendar days including today. Dates omitted use this whole window; one omitted end uses the corresponding allowed boundary. Partial overlap is clamped; reversed or wholly outside dates are errors. effective_since/effective_until report the actual dates. A new filing mentioning an old case qualifies without claiming new case progress.
Call this for market-wide recent filings. Do NOT use it for a full company state. Each event appears once, newest matching filing date first. matched_filing contains the qualifying filing id, date and its own PDF link; root source_pdf_url and phase describe current event context, not historical state at the selected date. phase filters current stage. At most 100 events per page. Pass cursor to continue; only non-null cursor means another page. Omit dates/phase on continuation or repeat their effective values; changing filters requires a fresh call. event_type must remain the same; limit/locale may change. matched_count counts the whole frozen window, so truncated can remain true on the last page. Windows that move outside the allowed dates fail with cursor_expired; restart without cursor. Results are a dynamic view, not a snapshot: new filings, stage changes or merges can move events between pages. Poll from the first page and deduplicate by aevt_. Empty results mean no matches after this position, not an empty database. coverage_since is data coverage, not permission to scan history. For a known company/entity use get_entity_state; for a known event use get_event_with_context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 1..100. Default 50. | |
| phase | No | Restrict to one stage of the case. Must belong to the chosen event_type; the error message lists the valid values. | |
| since | No | Inclusive start date, YYYY-MM-DD. | |
| until | No | Inclusive end date, YYYY-MM-DD (the whole day counts). | |
| cursor | No | Return the previous cursor unchanged to continue within its frozen dates. | |
| locale | No | Language of data labels only. | en |
| event_type | Yes | Which filing type to scan. Call list_coverage for the current scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | Yes | Continuation within the frozen effective dates; null means no next page. An expired window is an error: restart without cursor. | |
| events | Yes | ||
| truncated | Yes | True when the whole-window count exceeds this page's size, even on the last page. Only a non-null cursor means another page exists. | |
| disclaimer | Yes | ||
| matched_count | Yes | How many events matched in the whole window, before the limit was applied. | |
| coverage_since | No | ||
| window_clamped | Yes | Requested dates were intersected with the allowed recent window. | |
| effective_since | Yes | Inclusive matching filing start date actually queried, YYYY-MM-DD. | |
| effective_until | Yes | Inclusive matching filing end date actually queried, YYYY-MM-DD. |