Find peer companies
find_peersIdentify same-size peer companies for a given Austrian Firmenbuch number, preferring same ÖNACE industry matches and returning compact company cards.
Instructions
Find the companies most similar in size to a given one. Read-only.
Parameters:
- fnr (required): the reference company's Firmenbuchnummer, e.g. "123456a".
- n (optional, default 10, clamped to 1..50): how many peers to return.
Returns up to `n` companies in the SAME size class (`gkl`) as the reference, preferring
the same ÖNACE industry as SPECIFICALLY as possible: the cascade class -> group ->
division -> section widens only when a level has too few companies, and any remaining
slots are filled with the nearest same-size companies from other industries — closest by
Bilanzsumme within the class and group levels; on broader levels a reference with a
registered activity text gets the most similar activities first. Each is a compact card
like search_companies. The response
carries `same_sector_level` ("class"/"group"/"division"/"section"/null: how specific the
industry match is), `same_sector_count`, and an explicit `note` when the match is only
section-wide or the list is (partly) a pure size-neighbourhood — so you never mistake
same-size-different-industry rows for a sector benchmark (e.g. holdings whose stated
industry differs from the group's). The reference company is excluded; an empty list means
the FNR is unknown or has no Bilanzsumme to rank against. Recency: only companies whose
last Jahresabschluss is from the current year minus 3 or later qualify; when fewer than
`n` class/group-level peers exist in that window it widens once to minus 5 and the `note`
says so (`peer_recency` = {years, min_year, widened}); every peer row carries
`latest_year`. For a strict industry benchmark, filter search_companies by oenace_* + size
instead; for group aggregates use get_cohort_summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| fnr | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||