Search parliamentary speeches
euparl_search_speechesSearch speech activities in parliamentary term 9 or 10, default 10, or retrieve one with mode get and speech_id. Text and title search return activity metadata, not transcripts. Follow document_ids with euparl_search_documents mode get and any returned parent_document_ids to source files. Use euparl_list_reference topic activity_types for activity_type codes. Get rejects search filters and nondefault paging. Search exposes at most 10000 results; continue with page.next_offset when present, otherwise narrow text, title, person_id, activity_type or sitting dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default search discovers speech activities; get requires speech_id and rejects search filters. | search |
| term | No | Search-only parliamentary term 9 or 10; omitted search defaults to 10. Omit in get mode. | |
| text | No | Search-only keywords in the selected language; matching does not guarantee transcript output. | |
| limit | No | Whole items requested; default 20, effective maximum 100 with notice. | |
| title | No | Search-only published activity title keywords in the selected language. | |
| offset | No | Zero-based collection offset; default 0. | |
| language | No | Supported EU ISO-639-1 language, case-insensitive; default en; source text is never translated. | |
| person_id | No | Search-only numeric MEP identifier, person/ prefix or exact public person URI. | |
| speech_id | No | Get-only canonical activity ID, eli/dl/event/ prefix or exact public URI. | |
| sitting_date | No | Search-only sitting date YYYY-MM-DD; start date when a range end is supplied. | |
| activity_type | No | Search-only code from euparl_list_reference topic activity_types; case-insensitive and whitespace-trimmed. | |
| sitting_date_end | No | Search-only inclusive end date YYYY-MM-DD; requires sitting_date and cannot precede it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective whole-item page limit. | |
| mode | No | Executed speech retrieval mode. | |
| page | No | Search continuation metadata; absent in get mode. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Get-only publication result; false for missing or empty detail. | |
| items | No | Whole speech activity records on the search page; absent in get mode. | |
| shown | No | Whole items shown on this partial page. | |
| notice | No | Publication, language fallback, empty-result or continuation guidance. | |
| speech | No | Published activity detail when get succeeds. | |
| available | No | Whether the selected source array was published, including a published empty array. | |
| truncated | No | True when this page returns only part of the selected collection. | |
| totalCount | No | Exact count only when published or computed over a complete collection. | |
| appliedFilters | No | Actual normalized retrieval scope and filters. |