Developers

Mylne Public API

Read-only JSON API exposing the Alfred Mylne & Co. yacht register and design archive. Use a personal API key, created from the API portal, with each V1 request. All endpoints respect the same privacy and visibility rules as the public HTML pages.

Base URL

https://api.mylne.com

All paths below are relative to this base. Pass your key in the X-API-Key header. Example: https://api.mylne.com/v1/yachts/lady-trix-1761

Endpoints

GET/v1/

API index — lists all endpoints

Try itcurl "https://api.mylne.com/v1/" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/yachts

List yachts

Query parameters

qstringname search (case-insensitive)
year_builtinteger
exists_statusstringe.g. "Yes", "Lost", "Broken Up"
design_idinteger
pageintegerdefault 1
per_pageintegerdefault 30, max 100
Try itcurl "https://api.mylne.com/v1/yachts" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/yachts/{slug}

Yacht detail — slug is "{name}-{id}", e.g. "lady-trix-1761"

Try itcurl "https://api.mylne.com/v1/yachts/lady-trix-1761" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/yachts/{slug}/owners

Ownership history — non-consenting names returned as "Withheld" (and counted)

Try itcurl "https://api.mylne.com/v1/yachts/lady-trix-1761/owners" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/yachts/{slug}/photos

Photo gallery with public URLs

Try itcurl "https://api.mylne.com/v1/yachts/lady-trix-1761/photos" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/designs

List designs

Query parameters

qstringname search
year_of_designinteger
yacht_type_idinteger
pageinteger
per_pageintegerdefault 30, max 100
Try itcurl "https://api.mylne.com/v1/designs" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/designs/{number}

Design detail by design number (e.g. 352 for Albyn)

Try itcurl "https://api.mylne.com/v1/designs/352" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/designs/{number}/yachts

List of yachts built to this design

Try itcurl "https://api.mylne.com/v1/designs/352/yachts" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/designs/{number}/drawings

Public-thumbnail drawings (full-resolution sold via shop)

Try itcurl "https://api.mylne.com/v1/designs/352/drawings" -H "X-API-Key: mylne_v1_your_key_here"
GET/v1/recent-activity

Unified activity feed across the fleet

Query parameters

limitintegerdefault 30, max 100
beforeISO 8601paginate to earlier rows
Try itcurl "https://api.mylne.com/v1/recent-activity" -H "X-API-Key: mylne_v1_your_key_here"
GET/openapi.json

OpenAPI 3.1 specification

Try itcurl "https://api.mylne.com/openapi.json" -H "X-API-Key: mylne_v1_your_key_here"

Privacy and use

  • Owner names are returned only with the owner’s explicit public_name_consent; others appear as "Withheld" but are still counted.
  • Drawing endpoints expose thumbnail URLs only. Full-resolution scans are licensed via the shop.
  • Personal contact details, internal notes, and unpublished records are never returned.
  • Every V1 request requires a personal API key. Please cache responses where possible; rate limits apply.

Need higher limits, custom endpoints, or a commercial licence? Contact us.

The book for Christmas, £49.95

Alfred Mylne: 510 pages, 700 photographs and drawings. The published price is £95.