DocsHTTP API

HTTP API

The tools of the MCP server as operations under https://api.pandex.io/v1, with the same arguments. Answers are JSON, or the text a model reads.

A request

Arguments go in a JSON body. The key goes in Authorization: Bearer YOUR_KEY, in X-API-Key or in ?key=; without one an address may ask 50 times a day.

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}'

Operations

RequestArguments
POST /v1/searchThose of search, in a JSON body. Also GET with a query string.
POST /v1/documentThose of get_document, in a JSON body.
POST /v1/outlineThose of get_outline, in a JSON body.
POST /v1/citationsThose of get_citations, in a JSON body.
POST /v1/changesThose of get_changes, in a JSON body.
GET /v1/sourcesThose of list_sources, in the query string.
GET /v1/registerNone. What is held of every institution and what is not, as on the coverage page.

JSON or text

An answer is JSON: every passage with its id, its document, its dates and the address of the source. Add ?format=text to any operation for the text the MCP tool gives a model: the same answer, written to be read, cut to max_tokens.

Each tool’s page shows one request with both answers.

Limits

CallerA dayA minute
Without a key, per address5010
A free key1,00060
A paid plan · pricingset to your traffic

A day ends at midnight UTC. A tool call over MCP that is over the limit gets a message the model reads.

Errors

An error is a status and a sentence: {"error": "…"}.

400
An argument is missing or wrong, or no text was found for an id. The message says what to pass instead.
401
The key is not known or was switched off.
403
The request came from a page in a browser on another site. Call the API from a server.
429
The limit of the key, or of the address without one, is reached. The message says when to ask again.

What is logged

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.