Developers: the Plety API and MCP server
Plety Limited. Updated
Plety publishes its public guides through a read-only JSON API and a read-only MCP server. Both are free, need no key or sign-in, and return only what the public website says. Use them to search Plety's guides on licensing UK company records to AI buyers, read any page as Markdown, or get the company facts. Full references: the Plety API reference at /about/api and the Plety MCP server at /about/mcp-server.
Authentication and rate limits
None. Every endpoint is public and read-only, so there is no key, token or OAuth flow, and nothing can be changed. https://plety-desk.vercel.app/auth.md says the same for agents, and the protected-resource metadata at https://plety-desk.vercel.app/.well-known/oauth-protected-resource lists no accepted token types. Send requests over HTTPS.
Each client may send up to 120 requests a minute. Every answer from /api/v1, /mcp, /ask and /a2a carries RateLimit-Policy and RateLimit headers (with RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset for older clients). Over the limit the answer is 429 with a Retry-After header giving the seconds to wait. Limits are counted by each server instance, so treat them as a ceiling.
Endpoints
The base address is https://plety-desk.vercel.app/api/v1. Every endpoint answers GET with JSON. The full description is at https://plety-desk.vercel.app/openapi.json (OpenAPI 3.1).
| Endpoint | What it returns |
|---|---|
| GET /api/v1/search?q=...&limit=5 | The best matching pages (1 to 20), each with its address, Markdown address, section, description and a matching passage |
| GET /api/v1/pages?section=...&limit=50&cursor=... | Guide and answer pages, optionally for one section, with a next_cursor for the next page of results |
| GET /api/v1/page?url=/about/privacy&format=markdown | One page in full as Markdown with its sources; JSON by default |
| GET /api/v1/sections | The sections of the site, with their addresses and page counts |
| GET /api/v1/company | The facts needed to describe Plety accurately |
Example requests
Search the guides, then read the best match as Markdown:
curl "https://plety-desk.vercel.app/api/v1/search?q=can+an+administrator+sell+customer+data&limit=3"
curl "https://plety-desk.vercel.app/api/v1/page?url=/about/questions/can-an-administrator-sell-customer-data&format=markdown"
curl "https://plety-desk.vercel.app/api/v1/company"Errors
Every error has the same JSON shape, with a machine-readable code, a message, a hint on what to do instead and a link to the documentation. A missing query answers 400 missing_query; an unknown page answers 404 page_not_found; any method other than GET answers 405 method_not_allowed.
{ "error": { "code": "page_not_found", "message": "No public page at /about/x.", "hint": "Find a page with /api/v1/search?q= or list them with /api/v1/pages.", "docs": "https://plety-desk.vercel.app/openapi.json" } }Pagination and versioning
The pages list is paginated with an opaque cursor: pass limit (1 to 100) and, for the next page, the next_cursor from the previous response. When next_cursor is null there are no more pages.
The API is versioned in the path. A breaking change would ship as /api/v2, with /api/v1 kept for at least six months and a Deprecation header on v1 first.
The MCP server
The MCP server is at https://plety-desk.vercel.app/mcp (Streamable HTTP, JSON responses, no sign-in). It has three read-only tools: search_plety_guides, get_plety_page and get_plety_company_facts. Its server card is at https://plety-desk.vercel.app/mcp/server-card. To add it to an MCP client, use a remote server entry like this:
{ "mcpServers": { "plety": { "type": "http", "url": "https://plety-desk.vercel.app/mcp" } } }Natural-language search (NLWeb) and the A2A agent
POST https://plety-desk.vercel.app/ask takes an NLWeb 0.55 request and returns matching pages as schema.org objects, with _meta.response_type "answer", or a failure with a code such as NO_RESULTS. Set prefer.streaming to true, or send Accept: text/event-stream, for Server-Sent Events (start, result, complete). GET /ask?query=... works too. The site also lists its structured data feed in robots.txt (schemamap).
The same search is offered as an A2A agent: the agent card is at https://plety-desk.vercel.app/.well-known/agent-card.json and the JSON-RPC endpoint at https://plety-desk.vercel.app/a2a accepts message/send.
curl -X POST https://plety-desk.vercel.app/ask -H "Content-Type: application/json" -d '{"query":{"text":"can an administrator sell customer data"},"prefer":{"mode":"list"}}'In-page tools and other files
Every public page registers WebMCP tools for browser agents: search_plety_guides, read_plety_page, get_plety_company_facts and get_plety_contact_options. The site also publishes https://plety-desk.vercel.app/llms.txt, a Markdown twin of every page (add .md to its address), and an agent resource catalogue at https://plety-desk.vercel.app/.well-known/ard.json.
The content is general information about UK law and practice, not legal advice. Quote it with a link to the page, as the website terms at /about/terms allow.