Sources and coverage
const url = 'https://api.pandex.io/v1/sources?format=json';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.pandex.io/v1/sources?format=json' \ --header 'Authorization: Bearer <token>'The sources that are loaded, per jurisdiction: what each one holds, its languages, how many documents and as of which day. With a jurisdiction: also its institutions (courts, legislators), what is held of each and what is not.
The MCP tool list_sources takes the same arguments.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Json (default), or text: the answer written for a model to read, as the MCP tool gives it.
Only these jurisdictions, comma-separated.
Responses
Section titled “Responses”The answer: JSON, or with format=text the text the MCP tool gives a model.
object
Documents held.
The source: pass it as source.
Eu, de, ch-zh…
Legislation, decision or treaty.
Of its citations of other documents: the share whose target is held.
What it is.
When it was last read.
Passages held.
The publisher’s terms of reuse.
object
The licence.
A word on them.
Where the terms are.
What it covers.
Passages searchable by meaning.
Example generated
[ { "documents": 1, "id": "example", "jurisdiction": "example", "kind": "example", "languages": [ "example" ], "linked": 1, "name": "example", "parsed_at": "example", "passages": 1, "reuse": { "licence": "example", "note": "example", "url": "example" }, "scope": "example", "vectors": 1 }]An argument is missing or wrong, or no text was found for an id. The message says what to pass instead.
object
What was wrong, and what to pass instead.
Example generated
{ "error": "example"}The key is not known or was switched off.
object
What was wrong, and what to pass instead.
Example generated
{ "error": "example"}The request came from a page in a browser on another site. Call the API from a server.
The limit of the key, or of the address without one, is reached. The message says when to ask again.
object
What was wrong, and what to pass instead.
Example generated
{ "error": "example"}