Parameters

1. state

Filter by state (“Bundesland”)
Allowed Values: two character string
Values Whitelist: bw, by, be, bb, hb, hh, he, mv, ni, nw, rp, sl, sn, st, sh, th
https://api.stateparl.de?state=be Call API

2. affiliation

Speaker’s affiliation. Could be a group description or a functional description like member of government or session president
Allowed Values: three character string
Values Whitelist: pre, gov, cdu, spd, fdp, grn, lin, csu, afd, rep, npd, pds, b90, frw, pir, ssw, odp, fam, gra, dep, biw, bft, par, bĂĽd (possibly not always up to date)
https://api.stateparl.de?affiliation=spd Call API

3. speaker

Filter by a speaker’s name
Allowed Values: string
Values Whitelist: no restrictions
https://api.stateparl.de?speaker=Klaus Wowereit Call API

4. period

Continuous number of periods. Keep in mind that the periods differ significantly between states
Allowed Values: nonnegative integer
Values Whitelist: no restrictions
https://api.stateparl.de?period=18 Call API

5. nth

Continuous number of the session in current legislative period
Allowed Values: nonnegative integer
Values Whitelist: no restrictions
https://api.stateparl.de?nth=10 Call API

6. match

Full text search
Allowed Values: string
Values Whitelist: no restrictions
https://api.stateparl.de?match=Ukraine Call API

7. like

Keyword search
Allowed Values: string
Values Whitelist: no restrictions
https://api.stateparl.de?like=Ukraine Call API

8. id

Entry's id in database. It is not persistent because database update creates new ids
Allowed Values: nonnegative integer
Values Whitelist: no restrictions
https://api.stateparl.de?id=200 Call API

9. onlyMetadata

Returns only paragraphs’ metadata and excludes the content
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?onlyMetadata=true Call API

10. noInterjections

Remove Interjections from resultset
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?noInterjections=true Call API

11. noPresidium

Remove presidium speeches from resultset
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?noPresidium=true Call API

12. minDate

Exclude speeches before a specific date
Allowed Values: string in YYYY-MM-DD format
Values Whitelist: no restrictions
https://api.stateparl.de?minDate=2010-05-01 Call API

13. maxDate

Exclude speeches after a specific date
Allowed Values: string in YYYY-MM-DD format
Values Whitelist: no restrictions
https://api.stateparl.de?maxDate=2020-12-01 Call API

14. limit

Decrease number of results. Default is 1,000
Allowed Values: nonnegative integer
Values Whitelist: no restrictions
https://api.stateparl.de?limit=30 Call API

15. offset

Returns data starting with a specific entry
Allowed Values: nonnegative integer
Values Whitelist: no restrictions
https://api.stateparl.de?offset=20 Call API

16. minSeq

Includes all values same or higher than the indicated value for seq
Allowed Values: nonnegative intege
Values Whitelist: no restrictions
https://api.stateparl.de?minSeq=100 Call API

17. orderBy

Orders result set by a specific column. Allows random ordering. Default is by id
Allowed Values: string
Values Whitelist: columns
https://api.stateparl.de?orderBy=random Call API

18. orderDirection

Define order direction. Default is asc
Allowed Values: string from defined list
Values Whitelist: desc asc
https://api.stateparl.de?orderDirection=desc Call API

19. highlightMatches

Mark search matches with tags
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?highlightMatches Call API

20. nlp

Returns content with nlp tags for names and groups
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?nlp=true Call API

21. count

Returns the Number of rows in general or in context of used parameters if given
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?count=true Call API

22. metadata

Adds metadata as first element to the output. The metadata contains information to the number of requested rows and the total number without filters.
Allowed Values: bool
Values Whitelist: true or false
https://api.stateparl.de?metadata=true Call API

23. format

Choose output format
Allowed Values: string
Values Whitelist: json or xml
https://api.stateparl.de?format=json Call API