cdep.ro APIcdep.ro ↗
Access Romanian legislative initiatives via the cdep.ro API. List bills by year and chamber, retrieve sponsors, status, summaries, and introduction dates.
curl -X GET 'https://api.parse.bot/scraper/00f13c84-43c8-4cec-a51d-93e445c77769/list_initiatives' \ -H 'X-API-Key: $PARSE_API_KEY'
List legislative initiatives for a specific year and chamber.
| Param | Type | Description |
|---|---|---|
| year | string | Year of registration |
| chamber | string | Legislative chamber (1 = Senate, 2 = Chamber of Deputies) |
{
"type": "object",
"fields": {
"year": "string",
"count": "integer",
"initiatives": "array"
},
"sample": {
"year": "2024",
"count": 1,
"initiatives": [
{
"idp": "22238",
"title": "Proiect de Lege pentru modificarea şi completarea Legii nr.227/2015 privind Codul fiscal",
"status": "în lucru la comisiile permanente ale Camerei Deputaţilor",
"date_introduced": "15.01.2024",
"registration_number": "PL-x 1/2024"
}
]
}
}About the cdep.ro API
The cdep.ro API exposes Romanian Chamber of Deputies legislative data through 2 endpoints, covering both bill listings and detailed initiative records. Use list_initiatives to retrieve all proposals registered in a given year for either the Senate or Chamber of Deputies, and get_initiative_details to pull structured fields like title, status, sponsors, and date introduced for any specific bill identified by its idp parameter.
What the API Covers
The cdep.ro API gives programmatic access to legislative initiatives published on the official Romanian Chamber of Deputies website. The list_initiatives endpoint accepts a year and a chamber parameter — 1 for the Senate, 2 for the Chamber of Deputies — and returns the total count of matched proposals alongside an initiatives array for that session. This lets you build year-over-year comparisons or monitor legislative activity across both chambers.
Initiative Detail Records
Once you have an idp identifier from the list endpoint, pass it to get_initiative_details to retrieve a full record. The response includes the bill's title, current status, a human-readable summary, the date_introduced, a sponsors array listing the individuals or groups who introduced the bill, and a direct url back to the official cdep.ro page. These fields are sufficient to track a bill's lifecycle from introduction through its current parliamentary state.
Reliability Notes
The cdep.ro site periodically experiences availability issues. The API includes retry logic so transient outages at the source do not immediately surface as errors to your application. Responses reflect the data as currently published on the official site; the API does not maintain a separate historical archive beyond what cdep.ro itself exposes.
- Track which sponsors have introduced the most bills in a given parliamentary year using the
sponsorsfield. - Build a legislative calendar by querying
list_initiativesfor each year and sorting bydate_introduced. - Monitor status changes on specific bills by polling
get_initiative_detailswith storedidpvalues. - Compare legislative volume between the Senate and Chamber of Deputies using the
chamberparameter andcountfield. - Aggregate bill summaries for legal research or policy analysis by collecting the
summaryfield across many initiatives. - Generate citation links to official cdep.ro bill pages using the
urlfield returned byget_initiative_details. - Filter active versus historical proposals by combining
yearfiltering with thestatusfield.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does cdep.ro have an official developer API?+
What does the `chamber` parameter control in `list_initiatives`?+
1 to scope results to Senate-registered initiatives and 2 for those registered in the Chamber of Deputies. Omitting the parameter returns initiatives without chamber filtering, depending on the site's default behavior. The response always includes the matched count and the full initiatives array for that selection.Does the API return the full text or PDF of a bill?+
title, status, summary, sponsors, date_introduced, and a url — but not the raw legislative text or attached document files. The url field points to the official cdep.ro page where documents are typically linked. You can fork this API on Parse and revise it to add an endpoint that fetches and returns linked document content.How current is the data returned by `get_initiative_details`?+
status and other fields reflect what is currently published on the cdep.ro website at the time of the request. The API does not cache or store historical snapshots, so if cdep.ro updates a bill's status, subsequent calls will return the updated value. During source-site outages, the retry logic attempts to resolve the request but cannot serve data that the site itself is not delivering.