get_statistics
Count HKEx filings grouped by company ticker, filing type, or sink. Apply date, ticker, and status filters to get breakdowns with top N buckets.
Instructions
Use this to count filings grouped by one dimension, or per sink.
Choose between: this tool gives a grouped breakdown of one population (or per-sink totals
when group_by="sink"); get_coverage reports scrape coverage by month; verify_sinks
compares across sinks. group_by is one of: company_ticker (default), filing_type,
filing_category, document_status, exchange, or sink. Optional filters narrow the population
and combine with AND semantics (a filing must match every filter you set); group_by="sink"
honours only ticker, filing_type, filing_category, document_status, date_from, and date_to,
and returns per-sink totals (relational sinks only). top_n caps the returned buckets and
min_count drops small buckets, but total still counts every matching filing.
Buckets are sorted by count descending. This tool is read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Maximum buckets to return (1..200). | |
| source | No | Source of the filing, e.g. HKEx. | |
| ticker | No | Company ticker filter, e.g. 0700.HK; comma-separate to match several. | |
| date_to | No | Latest filing date, YYYY-MM-DD inclusive. | |
| exchange | No | Exchange code, e.g. HK. | |
| group_by | No | Dimension to count filings by: company_ticker (default), filing_type, filing_category, document_status, exchange, or sink (per-sink totals across configured sinks). | company_ticker |
| date_from | No | Earliest filing date, YYYY-MM-DD inclusive. | |
| min_count | No | Only return buckets with at least this many filings (0 = all). | |
| filing_type | No | Filing type(s), e.g. 'Annual Report'; comma-separate to match several. | |
| title_query | No | Case-insensitive substring matched against the filing title. | |
| document_type | No | Document type: pdf, html, xlsx, docx, or unknown. | |
| document_status | No | Document status(es): processed, skipped, failed, or unprocessed; comma-separate to match several. | |
| filing_category | No | Filing category(ies), e.g. LISTED_COMPANY; comma-separate to match several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |