# LotsLink API > Free, unlimited short links, QR codes and click analytics. Create and track them from your AI agent or the dashboard; pay only for your own custom domains. Every capability is defined once and served two ways: as a Model Context Protocol tool for AI agents, and as a REST endpoint. The two never drift, because they are generated from the same registry. - Base URL: https://api.lots.link - Authentication: API key, sent as `Authorization: Bearer ` or `X-API-Key: ` - MCP endpoint: https://api.lots.link/mcp ## Documentation - [REST API reference](https://api.lots.link/docs): every endpoint, its parameters and its scopes, generated from the live registry. - [MCP server guide](https://api.lots.link/docs/mcp): connecting Claude, ChatGPT, Cursor and any other MCP client. - [OpenAPI 3.0 spec](https://api.lots.link/api/v1/docs?app=lotslink&format=openapi): the machine-readable contract. - [Endpoint list as JSON](https://api.lots.link/api/v1/docs?app=lotslink): method, path, description and category for each endpoint. ## Notes - The endpoint list is generated, so it is current by construction. Read it rather than any summary of it. - Publishing and other write actions follow the same validation and approval rules over the API and MCP as they do in the app.