Skip to content

Introduction

https://api.pandex.io/v1

Arguments go in a JSON body (POST), except GET /v1/sources, which takes a query string. search also takes GET with its arguments as a query string. Every operation has the arguments of the MCP tool of the same name.

Terminal window
curl -s https://api.pandex.io/v1/search \
-H "Authorization: Bearer YOUR_KEY" \
-H "content-type: application/json" \
-d '{"query": "right to erasure personal data", "jurisdiction": "eu", "limit": 3}'
Operation What it does
POST /v1/search Find passages of legislation and decisions.
POST /v1/document Read a document or one article, also on a past day.
POST /v1/outline The structure of a law.
POST /v1/citations What cites a text, and what it cites.
POST /v1/changes What changed in a law, a source or a country.
GET /v1/sources What is held.

JSON by default. ?format=text gives the text the MCP tool gives a model. See Answers.

The API is described as OpenAPI 3.1 at https://api.pandex.io/openapi.json, made from the same definitions the server answers with.

Requests are logged under the key with their arguments and how long they took, to see what is asked for and what is missing. Requests without a key are logged without the address they came from. Privacy.