DocsToolssearch
MCP toolPOST /v1/searchRead-only

search

Search legislation and court decisions

Find passages of legislation and court decisions. Answers with the passages themselves (an article, a paragraph of a judgment), each with its document, date, id and url. A query that names a text ("art. 6:162 BW", "§ 823 BGB", "ECLI:NL:HR:2019:2006", "32016R0679 art 17") is answered with that text first. Write the query in the language of the documents; set jurisdiction when you know it.

A request

curl -s https://api.pandex.io/v1/search \
  -H "content-type: application/json" \
  -d '{"query": "right to erasure personal data", "jurisdiction": "eu", "limit": 2}'

The answer

Results 1–2 · 484 passages in 348 documents hold every word · more: offset=2

1. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of  › III Rights of the data subject › 3 Rectification and erasure › 17 Right to erasure (‘right to be forgotten’) [eu.legislation:32016R0679#art_17]
   regulation · CONSIL · 2016-04-27 · wording in force since 2016-04-27 · this provision cited by 74 documents (the whole text by 7362) · en
… The data subject shall have the right to obtain from the controller the erasure of personal data concerning him or her without undue delay and the controller shall have the obligation to erase personal data without undue delay where one of the following grounds applies:
(a) the personal data are no longer necessary in relation to the purposes for which they were collected or otherwise processed;
(b) the data subject withdraws consent on which the processing is based according to point (a) of Article 6(1), or point (a) of Article 9(2), and where there is no other legal ground for the processing;
(c) the data subject objects to the processing pursuant to Article 21(1) and there are no overriding legitimate grounds for the processing, or the data subject objects to the processing pursuant to Article 21(2);
(d) the personal data have been unlawfully processed;
(e) the personal data have to be erased for compliance with a legal obligation in Union or Member State law to which the controller is subject;
(f) the personal data have been collected in relation to the offer of information society services referred to in Article 8(1). …
   https://publications.europa.eu/resource/cellar/3e485e15-11bd-11e6-ba9a-01aa75ed71a1.0006.02/zip

2. Regulation (EU) 2018/1725 of the European Parliament and of the Council of 23 October 2018 on the protection of natural persons with regard to the processing of personal data by the Union institutions › III RIGHTS OF THE DATA SUBJECT › 3 Rectification and erasure › 19 Right to erasure (‘right to be forgotten’) [eu.legislation:32018R1725#art_19]
   regulation · CONSIL · 2018-10-23 · wording in force since 2018-10-23 · this provision cited by 4 documents (the whole text by 1084) · en
… The data subject shall have the right to obtain from the controller the erasure of personal data concerning him or her without undue delay and the controller shall have the obligation to erase personal data without undue delay where one of the following grounds applies:
(a) the personal data are no longer necessary in relation to the purposes for which they were collected or otherwise processed;
(b) the data subject withdraws consent on which the processing is based according to point (d) of Article 5(1), or point (a) of Article 10(2), and where there is no other legal ground for the processing;
(c) the data subject objects to the processing pursuant to Article 23(1) and there are no overriding legitimate grounds for the processing;
(d) the personal data have been unlawfully processed;
(e) the personal data have to be erased for compliance with a legal obligation to which the controller is subject;
(f) the personal data have been collected in relation to the offer of information society services referred to in Article 8(1). …
   https://publications.europa.eu/resource/cellar/999029ee-ed62-11e8-b690-01aa75ed71a1.0006.02/zip

Matched on words only: finding by meaning is not available yet.

The text is what the tool gives a model, and what HTTP gives with ?format=text. The JSON is what HTTP gives without it.

Arguments

querystringrequired
Words, a question, or a citation. Put a phrase in double quotes to require it literally.
jurisdictionstring
One or more of: at, ch, ch-ag, ch-ar, ch-bl, ch-bs, ch-ge, ch-gl, ch-gr, ch-ju, ch-lu, ch-ne, ch-nw, ch-sg, ch-sh, ch-so, ch-sz, ch-tg, ch-ti, ch-ur, ch-vd, ch-zg, ch-zh, coe, cw, de, dj, es, eu, fr, gb, lu, mx, ng, nl, pl, us. Comma-separated.
kindstring
Only laws, only court decisions, or only treaties.legislationdecisiontreaty
sourcestring
Source ids from list_sources, comma-separated.
courtstring
Words from the court's name, e.g. "Hoge Raad", "Bundesgerichtshof", "Grand Chamber".
doc_typestring
A document type as shown in results, e.g. regulation, directive, act, judgment, opinion.
date_fromstring
Earliest document date, YYYY-MM-DD.
date_tostring
Latest document date, YYYY-MM-DD.
citesstring
Only passages that cite this document or article: an id, id#element, or a citation.
withinstring
Only passages of this document: an id or a citation.
langstring
Two-letter language to match and answer in (texts that exist in several languages). Default: the query's language.
modestring
hybrid (default) matches words and meaning; text only words; meaning only meaning.hybridtextmeaning
sortstring
relevance (default); date: newest first; date_asc: oldest first; cited: most cited first. The last three order the passages that hold every word.relevancedatedate_asccited
facetsboolean
Also count the passages that hold every word by jurisdiction, source and year.
limitinteger
Passages to return, 1–20. Default 5.
offsetinteger
Results to skip, for the next page: the answer says the offset of the next one.
max_tokensinteger
Size of the answer in tokens, 200–8000. Default 1500.