# LexAPI Documentation > A complete, plainspoken reference for the LexAPI REST API. Every endpoint lists its exact request shape, response shape, and the error codes it can return. LexAPI is a REST API over the EU legal corpus (EUR-Lex, the Court of Justice docket, and the Official Journal). The complete documentation below is available as Markdown for AI tools and as a machine-readable OpenAPI spec. ## Docs - [Full documentation (Markdown)](https://lex-api.com/docs.md): Complete API reference — auth, plans, every endpoint, examples - [Full text for LLMs](https://lex-api.com/llms-full.txt): The same documentation as a single plain-text file - [OpenAPI specification](https://lex-api.com/openapi.yaml): Machine-readable spec for every endpoint - [Human documentation](https://lex-api.com/docs): The rendered documentation page ## API endpoints - [GET /api/v1/info](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/search](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/documentContent](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/documentContent/batch](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/documents/recent](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/documents/url](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/documents/metadata](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/resolve](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/documents/:celex/versions](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/documents/:celex/versions/:version](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/documents/:celex/at/:date](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/citations/extract](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/cited-by/:celexNumber](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/cites/:celexNumber](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/network/:celexNumber](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/path/:from/:to](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/related/:celexNumber](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/citations/stats](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/search/semantic](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/legislation/semantic](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/export — BUSINESS and above](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/webhooks](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/webhooks](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/webhooks/:id](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [PUT /api/v1/webhooks/:id](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [DELETE /api/v1/webhooks/:id](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [POST /api/v1/webhooks/:id/test](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes - [GET /api/v1/webhooks/:id/deliveries](https://lex-api.com/docs.md): See the Markdown docs for request/response shapes ## Optional - [Status](https://lex-api.com/status): Live service status - [Dashboard](https://lex-api.com/dashboard): Create and manage API keys