Search Bolagsanalys figures for many companies (batch)
bolagsanalys_search_dataRetrieve quarterly financial figures for a selected set of up to 50 companies in a single call, optionally narrowing by parameter code and quarter range.
Instructions
Read-only. Fetch quarterly figures for a SPECIFIC SET of companies in one call by passing companyIds (up to 50, from bolagsanalys_list_companies), optionally narrowed to a parameterCode (from bolagsanalys_find_parameter) and a quarter range. Use this for a specific N-company subset — v2's GET has no companyIdIn, so to fetch ALL companies instead omit companyId on bolagsanalys_get_data. Quarter bounds use packed ids: quarterId, fromDate, toDate accept e.g. '20251' or '2025Q1' (QUARTERS, not calendar dates). The cap is 50 — more is rejected. Returns the same envelope as bolagsanalys_get_data; every row keeps its companyId and parameterCode; read-only — never writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-indexed result page (first page = 1), e.g. 1. | |
| sort | No | Comma-separated sort fields; prefix '-' for descending, e.g. '-name'. | |
| count | No | false (default) skips totalCount for cheaper bulk paging. | |
| toDate | No | Inclusive upper quarter bound, e.g. '20254' or '2025Q4'. | |
| fromDate | No | Inclusive lower quarter bound, e.g. '20241' or '2024Q1'. | |
| pageSize | No | Rows per page (v2 default 50, max 500), e.g. 50. | |
| companyId | No | Single company id; OR'd with companyIds. | |
| quarterId | No | Single packed quarter, e.g. '20251' or '2025Q1'. | |
| companyIds | No | Up to 50 company ids (from bolagsanalys_list_companies) to fetch in one call; over 50 is rejected. | |
| parameterCode | No | Parameter code from bolagsanalys_find_parameter; omit for all parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Quarterly figures, one row per company+parameter+quarter. | |
| page | Yes | The page you are on (1-indexed). | |
| pageSize | No | Rows per page echoed back by v2, e.g. 50. | |
| totalCount | No | Total matching rows across all pages; null/absent when count is skipped. | |
| totalPages | No | Total page count; null/absent when count is skipped. |