List Top Bill Authors
list_top_bill_authorsLegislators ranked by how many bills they filed in a window — the direct answer to '¿qué congresistas han presentado más proyectos de ley este periodo?', which otherwise means paging a country's whole docket and tallying authors client-side. Pass co_author_of=<actor_id> to turn the same ranking into a co-authorship ranking: who most often co-signs that legislator's bills.
since/until (YYYY-MM-DD) bound the window on the bill's filing date; party_id narrows to one bancada (use list_parties to discover IDs); country_code is comma-separated, omit for every accessible country. Counts distinct bills, so a bill that lists the same author twice still counts once.
⚠️ This ranks who is RECORDED as the author. Coverage is uneven — about 91% of Colombian and Peruvian bills carry an author, but only ~28% in Brazil, Chile and Rep. Dominicana, and none in Venezuela — so in those countries the ranking reflects ingestion as much as activity. Say so rather than presenting it as a complete tally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many authors to return, ranked by bills filed in the window (1-50). | |
| since | No | Count bills filed on or after this date (YYYY-MM-DD). | |
| until | No | Count bills filed on or before this date (YYYY-MM-DD). | |
| party_id | No | Only count authors in this party. Use list_parties(country_code=...) for IDs. | |
| country_id | No | Deprecated alias: comma-separated numeric ids, e.g. 8,2,6. | |
| co_author_of | No | Rank only the people who co-sign this actor's bills, most frequent first — the answer to 'who does X legislate with?'. The actor themself is excluded (they sign all of their own). Resolve the id with list_actors(q='<name>'). | |
| 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 |