Api Stats
One aggregate over a filtered population. Returns numbers, never company rows.
This is what makes an analytical question answerable at all: shipping the matching companies instead would cost an agent tens of thousands of tokens and then ask it to do arithmetic over thousands of rows. It is also what keeps §8.5's "never bulk" line intact while still answering the question — the conclusion is given away, the dataset is not.
Every response carries matched_companies beside rows_with_metric. An average reported without both describes a population the caller did not ask about.
get/api/stats
Request
- Base URL: https://cuisor.ro
- URL: https://cuisor.ro/api/stats
- Auth: one of:
- none
- HTTP bearer
- API key in header X-API-Key
Query parameters
metricstring
aggstring
group_bystring nullable
yearinteger nullable
yearsstring nullable
Inclusive range, e.g. 2019-2024
caenstring
caen_querystring nullable
cuistring
One or more CUIs, comma separated
judetstring nullable
statusstring nullable
registered_afterstring nullable
registered_beforestring nullable
min_turnovernumber nullable
max_turnovernumber nullable
min_employeesinteger nullable
max_employeesinteger nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.