Connection check
verified live · 27h ago
legislation
Read-only query service for EU payments legislation: 51 curated instruments, by provision.
Tools
13
GitHub stars
—
Installs / wk
—
Licence
—
Transport
streamable-http
Last checked
27h ago
Tools & capabilities
13 toolsRead from the running server on 27h ago.
compare_versions
read-only
limitcursorto_locatorfrom_locatorinstrument_id*to_version_id*
+1
What changed in this article between two texts of the same instrument? Serves the word-level comparison the build published: a pair is servable if and only if a diff artefact exist… What changed in this article between two texts of the same instrument? Serves the word-level comparison the build published: a pair is servable if and only if a diff artefact exists for it — the PSR and PSD3 proposal↔compromise pairs and nothing else. Every other pair, including every consolidated instrument's pinned as-adopted text, is refused with the URL where that text is published; this service never recomputes a comparison. Pairs match in either direction, and a reversed request is the same artefact with the ops inverted. `changes` reads that artefact structurally — paragraphs added or deleted, figures and durations moved, a heading rewritten — for a caller that needs what KIND of change this was without parsing the word-level ops. It is scoped to the article, not to the page of ops, and locates each entry no more precisely than the served text allows.
fetch
read-only
id*
OpenAI-compatible retrieval: the full text of one provision by its cite anchor id (e.g. "psd-2 Art 97"), with citation metadata. Accepts only ids this service minted — free-text ci… OpenAI-compatible retrieval: the full text of one provision by its cite anchor id (e.g. "psd-2 Art 97"), with citation metadata. Accepts only ids this service minted — free-text citations belong to resolve_citation. get_provision returns more: paging, applicability and typed warnings.
get_defined_term
read-only
term*viewon_datecomparisoninstrument
What does this term mean, where, and since when? Every definition verbatim and resolved, clustered by what the text actually says, with the chronological and concurrent views and w… What does this term mean, where, and since when? Every definition verbatim and resolved, clustered by what the text actually says, with the chronological and concurrent views and word-level comparisons between them. Resolution follows the CITED version, never legislative succession: a definition citing a repealed act resolves to that act and is labelled repealed, not silently replaced by its successor's wording. A term the corpus does not define is refused with suggestions — nothing is substituted. references_in gives the reverse edges: which definitions lean on this one.
get_instrument
read-only
on_dateinstrument_id*
What is this instrument? Metadata, dates, lifecycle and application events, and curated relationships. Each relationship names the operative amending or repealing article where cur… What is this instrument? Metadata, dates, lifecycle and application events, and curated relationships. Each relationship names the operative amending or repealing article where curated (openable with get_provision) and the counterpart's legal status at the release. An operative_cite can arrive without an operative_locator: the article is real but the served text has dropped it, and operative_locator_unavailable says so. An amender outside the corpus is named under source_external, whose via_article carries its article. No article index — use list_provisions. Pass on_date for the multi-axis applicability record on that date.
get_orientation
read-only
pathway
Where do I start on a subject, and in what order? Curated reading pathways into the corpus for a stated audience: ordered waypoints with cite anchors every other tool can open, rel… Where do I start on a subject, and in what order? Curated reading pathways into the corpus for a stated audience: ordered waypoints with cite anchors every other tool can open, related defined terms and known pitfalls. The prose is editorial and labelled as such — it maps the reading order, never legal weight. Omit the pathway argument for the catalogue; an unknown id is refused with the catalogue, nothing substituted.
get_provision
read-only
cursorlocator*on_dateversion_idinstrument_id*include_correspondences
What does this provision say? Returns the operative text of an article, annex or recital as markdown, with its cite anchor, provenance and text-state disclosure. Large provisions p… What does this provision say? Returns the operative text of an article, annex or recital as markdown, with its cite anchor, provenance and text-state disclosure. Large provisions paginate by structural block — never truncated silently. version_id is optional: the service serves one text per instrument, and a pinned version id is refused with the URL where it is published. include_correspondences adds the cross-instrument article equivalences — what a PSR article is amended from, or which PSR articles carry a PSD2 article's obligation — each openable by a second call.
list_instruments
read-only
limitcursorstatusis_corecategoryin_force_on_date
What is in the corpus? Paginated, filterable by status, category, core/supplementary, and by whether an instrument was in force on a given date. For corpus-coverage questions, filt… What is in the corpus? Paginated, filterable by status, category, core/supplementary, and by whether an instrument was in force on a given date. For corpus-coverage questions, filter by category here, enumerate each instrument with list_provisions, then open what you need with get_provision.
list_provisions
read-only
kindlimittopiccursorchapterinstrument_id*
What provisions does an instrument contain? Metadata only: each item carries the exact locator get_provision accepts. Articles and annexes by default; pass kind=recital for recital… What provisions does an instrument contain? Metadata only: each item carries the exact locator get_provision accepts. Articles and annexes by default; pass kind=recital for recitals.
list_version_changes
read-only
limitcursorstatusarticlesinstrument_id*material_only
+2
What changed across the whole instrument between its two published texts? Every aligned article with its classification, filterable by status, materiality and article range. The ed… What changed across the whole instrument between its two published texts? Every aligned article with its classification, filterable by status, materiality and article range. The editorial materiality markers travel on every response whatever the filters, because they exist precisely where the mechanical classification does not show what matters — a re-scoped defined term changes articles whose text did not change at all. Classifications are mechanical, and the response says on what basis.
resolve_citation
read-only
limitcursorcitation*
What does this citation refer to? Ranked candidates with ambiguity flagged and confidence stated: exact (instrument certain, provision found), strong (instrument certain, provision… What does this citation refer to? Ranked candidates with ambiguity flagged and confidence stated: exact (instrument certain, provision found), strong (instrument certain, provision not verified or not named) or ambiguous (more than one reading). A citation of an instrument this corpus does not hold is named, with its CELEX and ELI, rather than guessed at.
search
read-only
query*
OpenAI-compatible search over the corpus: the top hits as {id, title, url}, where id is the cite anchor fetch accepts. For filters, snippets, scores and paging use search_legislati… OpenAI-compatible search over the corpus: the top hits as {id, title, url}, where id is the cite anchor fetch accepts. For filters, snippets, scores and paging use search_legislation, which returns more.
search_defined_terms
read-only
limitquerycursorinstrumentonly_divergent
Which instruments define this term, and do they agree? A listing: term, definers and divergence flags, with no definition text. Matching is over the term itself, never the definiti… Which instruments define this term, and do they agree? A listing: term, definers and divergence flags, with no definition text. Matching is over the term itself, never the definition body. Divergence is judged on the RESOLVED text as well as the verbatim one, because several instruments defining a term by pointing at the same root agree, however differently their pointers read. Pass only_divergent to find where the corpus does not agree with itself.
search_legislation
read-only
kindlimitquery*topiccursorinstrument_id
+1