Getting started
The SuperYacht Times partner API gives licensed partners read access to SuperYacht Times yacht data. It is a read-only JSON API over HTTPS.
Base URL
https://api.superyachttimes.com
All endpoints sit under /partner/api/v1/. Access tokens come from a separate host,
https://pharos.superyachttimes.com.
What you need
- A client id and a client secret. Your SuperYacht Times account manager issues them.
- A product on that key: Standard, Standard + Extended, or a demo. The product decides which yachts you see and which fields each yacht has. See Products.
Quickstart
1. Get an access token
curl -s https://pharos.superyachttimes.com/v1/auth/service/token \
-d grant_type=client_credentials \
-d client_id="$CLIENT_ID" \
-d client_secret="$CLIENT_SECRET"
{
"access_token": "eyJhbGciOi...",
"token_type": "Bearer",
"expires_in": 604800,
"scope": "partner-api:read partner-api:tier:full"
}
Keep the token and reuse it until it expires. See Authentication.
2. List the yachts you can read
curl -s https://api.superyachttimes.com/partner/api/v1/imo/list \
-H "Authorization: Bearer $TOKEN" \
--compressed
{ "11111": "Y02800001", "55555": "Y02800050" }
Each value is a SuperYacht Times yacht id.
3. Read a yacht
curl -s https://api.superyachttimes.com/partner/api/v1/yachts/Y02800001 \
-H "Authorization: Bearer $TOKEN" \
--compressed
The response is the yacht's record in your product's layout. Store the ETag header and send it
back as If-None-Match next time: an unchanged record then costs a 304 with no body. See
Caching and compression.
Next steps
- Endpoints for every endpoint and the usual sync flow.
- Errors for status codes and bodies.
- The API reference for the exact schema of every response.