List Top Entities
list_top_entitiesAggregated count of regulations/consultations per issuing entity, ranked descending — for 'most active entities'/'who issued the most regulations' type questions, without paging through raw rows and counting client-side.
domain selects which activity to count (regulations or consultations, required). since/until (YYYY-MM-DD) bound the window — e.g. the last 10 days. country_code is comma-separated; omit for all accessible countries.
⚠️ Not available for bills/news/schedules/votes/actors/interventions/transcripts — none of them carry an entity (or any other categorical field) to group by, so there's no structural 'top entity'/'top topic' for those domains; that still requires paging + client-side synthesis.
Data sources: reference catalogs derived from the official registries behind each domain — issuing entities from gazette attributions, commissions and parties from the congress rosters. These are internal lookup values (entity_id, commission_id, etc.), not citable documents themselves — cite the regulation/bill/actor record that uses them instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many entities to return, ranked by activity in the window (1-50). | |
| since | No | Count activity on or after this date (YYYY-MM-DD). | |
| until | No | Count activity on or before this date (YYYY-MM-DD). | |
| domain | Yes | Which domain's activity to count. | |
| country_id | No | Deprecated alias: comma-separated numeric ids, e.g. 8,2,6. | |
| country_code | No | Comma-separated country codes, e.g. BR,CO,CL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| empty_result | No |