Plety API reference

Plety Limited. Updated

The Plety API is a free, read-only JSON API over the public Plety website. It searches Plety's guides on licensing UK company records to AI buyers, returns any page as Markdown with its sources, lists pages by section and gives the company facts. It needs no key, and the full OpenAPI 3.1 description is at https://plety-desk.vercel.app/openapi.json.

Base address and format

Every endpoint lives under https://plety-desk.vercel.app/api/v1 and answers GET with JSON (UTF-8). There is no key or sign-in. The OpenAPI description at https://plety-desk.vercel.app/openapi.json gives every parameter and response schema, and an API catalogue (RFC 9727) at https://plety-desk.vercel.app/.well-known/api-catalog points to it.

Endpoints and parameters

Section ids for the section parameter come from /api/v1/sections, for example questions, insolvency or compliance.

EndpointParametersReturns
GET /api/v1/searchq (required, 2 to 300 characters), limit (1 to 20, default 5)query and results: title, url, markdown_url, section, description, snippet, score
GET /api/v1/pagessection (optional), limit (1 to 100, default 50), cursor (optional)section, total, pages, next_cursor
GET /api/v1/pageurl (required, an address or path), format (json or markdown)url, title, description and markdown; text/markdown when format=markdown
GET /api/v1/sectionsnonesections: id, label, url, pages
GET /api/v1/companynonename, legal_name, company_number, registered_office, summary, contact_email and more

Examples

Search, then read the best match in full:

curl "https://plety-desk.vercel.app/api/v1/search?q=who+signs+a+data+licence+in+a+liquidation&limit=3"
curl "https://plety-desk.vercel.app/api/v1/page?url=/about/questions/who-signs-a-data-licence-in-a-liquidation&format=markdown"
curl "https://plety-desk.vercel.app/api/v1/pages?section=insolvency&limit=10"

Errors

Errors share one JSON shape with a code, a message, a hint and a documentation link. Codes: missing_query (400), bad_limit (400), bad_cursor (400), unknown_section (400), page_not_found (404), not_found (404), method_not_allowed (405), rate_limited (429) and server_error (500).

Rate limits, pagination and versioning

Up to 120 requests a minute per client. Every answer carries RateLimit-Policy and RateLimit headers, plus RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; a 429 answer adds Retry-After in seconds.

The pages list uses an opaque cursor: pass next_cursor from the previous answer to get the next page; null means the end. The version is in the path: a breaking change would ship as /api/v2, with v1 kept for at least six months and a Deprecation header on v1 first.

Other ways in

The same content is offered as a read-only MCP server (https://plety-desk.vercel.app/about/mcp-server), as natural-language search at POST /ask (NLWeb), as an A2A agent at /a2a, and as Markdown at any page address plus .md. The developer overview is at https://plety-desk.vercel.app/about/developers.