Developer API
Programmatic access to the Boatwork pro network. Search and filter marine service professionals by specialty, location, and rating.
Authentication
All authenticated requests use a Bearer token in the Authorization header. Public API keys begin with bw_public_.
Free-key responses are directory cards: name, address, city and state, specialties and the storefront link, with estimate and booking links instead of contact details.
curl https://boatwork.co/api/v1/public/contractors/search \
-H "Authorization: Bearer bw_public_your_key_here" \
-G --data-urlencode "q=yacht detailing"Get your API key from your developer console → API Keys or — if you’re an AI agent — self-register (no human in the loop, see below).
Rate Limits
The Boat Owner MCP is free for AI assistants; these plans are for the developer API.
Managing your own storefront through the API comes with Storefront Pro, with no developer plan needed.
Public API keys are limited to 10 requests per 24-hour rolling window and 5 requests per minute on the free plan. Paid plans raise both caps. When a limit is exceeded the API returns 429 Too Many Requests with a Retry-After header indicating seconds to wait.
| Plan | Price | Calls / day | Calls / min |
|---|---|---|---|
| Free | Free | 10 | 5 |
| Starter | $19/mo | 50 | 10 |
| Growth | $39/mo | 150 | 20 |
| Directory Pro | $79/mo | 400 | 40 |
Paid plans add the deep description of the one Pro you are reading. Contact details are never included; estimates and bookings go through Boatwork.
Your storefront's API and webhooks
Manage your own storefront and receive real-time events through the Boatwork API.
Storefront API access comes with Storefront Pro. You can manage your storefront content, bookings, and communications through the same REST API used by the developer network.
Find your API keys in Business Center › Connections. Use them as a Bearer token on every request.
All storefront endpoints live under the base path /api/v1/content/contractors/{id}/….
Webhook events
You can subscribe to any of the following events. Each event is delivered as a POST to your configured endpoint URL.
| Parameter | Type | Description |
|---|---|---|
| estimate_request.received | event | New estimate request |
| estimate.accepted | event | Owner chose your estimate |
| estimate_request.closed | event | Request closed without choosing you |
| booking.requested | event | New booking request |
| booking.confirmed | event | Booking confirmed |
| booking.cancelled | event | Booking cancelled, declined or expired |
| booking.rescheduled | event | Booking time changed |
| purchase.paid | event | Payment received |
| purchase.refunded | event | Refund issued |
| review.received | event | New review |
| message.received | event | New message from a boat owner |
Delivery and signature verification
Every webhook delivery includes three headers:
| Parameter | Type | Description |
|---|---|---|
| Boatwork-Webhook-Id | string | Unique identifier for this delivery. |
| Boatwork-Event | string | The event type that triggered the delivery. |
| Boatwork-Signature | string | HMAC-SHA256 signature in the form t=<unix-seconds>,v1=<hex>. |
The signature is computed as HMAC-SHA256 of ${t}.${rawBody} using the endpoint secret you set in Business Center. The Boatwork-Signature header is t=<unix-seconds>,v1=<hex>. Compare the v1 value against your locally computed digest in constant time, and reject any delivery whose t is older than five minutes.
Retries happen over about 2 days. Respond with a 2xx status quickly so the queue can move on. A 410 response turns the endpoint off.
const crypto = require('node:crypto');
function verify(rawBody, header, secret) {
const [t, v1] = header.split(',').map(part => part.split('=')[1]);
const expected = crypto.createHmac('sha256', secret)
.update(`${t}.${rawBody}`).digest('hex');
const fresh = Date.now() / 1000 - Number(t) <= 300;
const safe = expected.length === v1.length &&
crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
return fresh && safe;
}For AI Agents
Self-register, get a working API key in one POST, no human gate.
/api/agents/registerCreates an agent identity (a User row with isAgent = true) and mints the initial bw_public_* key. The plaintext key + email are returned ONCE — capture them now.
| Parameter | Type | Description |
|---|---|---|
| firstName* | string | Display first name. |
| lastName* | string | Display last name. |
| email* | string | Unique email; used for the sign-in flow. |
| password* | string | Minimum 10 characters. Hashed with argon2 server-side. |
| purpose | string | Optional free-text describing what this agent does. |
curl -X POST https://boatwork.co/api/agents/register \
-H "Content-Type: application/json" \
-d '{
"firstName": "Andi",
"lastName": "Moore",
"email": "andi-agent@example.com",
"password": "a-strong-password-of-at-least-10-chars",
"purpose": "Handles marina onboarding triage."
}'{
"success": true,
"data": {
"agent": { "id": "...", "firstName": "Andi", "lastName": "Moore", "email": "andi-agent@example.com", "isAdmin": false, "isAgent": true },
"credentials": {
"email": "andi-agent@example.com",
"apiKey": "bw_public_abcdef1234567890",
"apiKeyPrefix": "bw_public_abcdef",
"apiBase": "https://boatwork.co/api/v1/public",
"howToUse": "Send `Authorization: Bearer <apiKey>` on every request."
}
}
}Email already in use? Pick a different one (e.g. andi-agent@boatwork.co). If you legitimately own the email and want to recover, contact the admin.
/api/account/meReturns your current role + a convenience canMintAdminKeys flag. isAdmin is tied to the SUPER_ADMIN tier. A Boatwork admin can grant this agent a staff role; staff capabilities appear in platformCapabilities. Only a SUPER_ADMIN can mint a bw_live_* admin key automatically.
{
"success": true,
"data": {
"id": "...",
"firstName": "Andi",
"lastName": "Moore",
"email": "andi-agent@example.com",
"isAgent": true,
"isAdmin": false,
"canMintAdminKeys": false,
"platformCapabilities": []
}
}/api/v1/user-api-keysMint additional keys. Authenticated agents get one of two key shapes based on role: bw_public_* for public-tier users, bw_live_* for admin-tier (after elevation). Max 5 active keys for current admins and 2 for every non-admin, including registered agents. The isAgent flag alone never grants wildcard authority.
curl -X POST https://boatwork.co/api/v1/user-api-keys \
-H "Authorization: Bearer bw_public_your_key_here" \
-H "Content-Type: application/json" \
-d '{"name": "rotation 2026-05"}'Discovery shortcut: the same information is available machine-readable at /.well-known/agent.json, in the public OpenAPI spec at /openapi.json, and as a bootstrap recipe inside /llms.txt.
Public API Endpoints
Base URL: https://boatwork.co
/api/v1/public/contractors/searchSearch active pros by keyword, specialty, city, or state.
| Parameter | Type | Description |
|---|---|---|
| q | string | Text search on name, description, and location |
| specialty | string | Specialty slug (e.g. yacht-detailing). See /specialties endpoint. |
| city | string | City filter (case-insensitive partial match) |
| state | string | State filter (e.g. FL) |
| page | integer | Page number (1–3 max) |
| limit | integer | Results per page (max 20, default 20) |
curl "https://boatwork.co/api/v1/public/contractors/search?q=engine+repair&state=FL&limit=5" \
-H "Authorization: Bearer bw_public_your_key_here"{
"success": true,
"data": {
"contractors": [
{
"id": "clt_abc123",
"slug": "marine-engines-miami",
"name": "Marine Engines Miami",
"tagline": "Certified outboard & inboard specialists",
"location": "Miami, FL",
"geocodedCity": "Miami",
"geocodedState": "FL",
"avatarUrl": "https://example.com/logo.jpg",
"rating": 4.8,
"reviewCount": 145,
"googleRating": 4.8,
"googleReviewCount": 142,
"isVerified": true,
"isClaimed": true,
"phone": "+1-305-555-0100",
"email": "info@marineenginesmiami.com",
"websiteUrl": "https://marineenginesmiami.com",
"specialities": [
{ "id": "sp_1", "name": "Engine Repair", "slug": "engine-repair" }
]
}
],
"pagination": {
"page": 1,
"limit": 5,
"total": 38,
"totalPages": 3
}
}
}/api/v1/public/contractors/geo-searchFind pros within a radius of a point, or within a bounding box. Returns distance from the search point (point mode only).
| Parameter | Type | Description |
|---|---|---|
| lat | float | Latitude of search point (point mode) |
| lng | float | Longitude of search point (point mode) |
| radius | float | Search radius in miles (default 30, point mode) |
| minLat | float | Minimum latitude (bbox mode) |
| maxLat | float | Maximum latitude (bbox mode) |
| minLng | float | Minimum longitude (bbox mode) |
| maxLng | float | Maximum longitude (bbox mode) |
| specialtySlug | string | Filter by specialty slug |
| minRating | float | Minimum public rating (Boatwork-native reviews blended with Google where available, e.g. 4.0) |
| limit | integer | Max results (default 100, max 500) |
curl "https://boatwork.co/api/v1/public/contractors/geo-search?lat=25.77&lng=-80.19&radius=20" \
-H "Authorization: Bearer bw_public_your_key_here"/api/v1/public/contractors/:slugReturns a full public storefront for a pro by slug, including photos, videos, reviews, and badges.
curl "https://boatwork.co/api/v1/public/contractors/marine-engines-miami" \
-H "Authorization: Bearer bw_public_your_key_here"{
"success": true,
"data": {
"id": "clt_abc123",
"slug": "marine-engines-miami",
"name": "Marine Engines Miami",
"about": "Full-service marine engine repair and maintenance...",
"tagline": "Certified outboard & inboard specialists",
"phone": "+1-305-555-0100",
"email": "info@marineenginesmiami.com",
"location": "Miami, FL",
"city": "Miami",
"state": "FL",
"logoUrl": "https://example.com/logo.jpg",
"isVerified": true,
"isClaimed": true,
"rating": 4.8,
"reviewCount": 142,
"specialties": [
{ "id": "sp_1", "name": "Engine Repair", "slug": "engine-repair" }
],
"photos": [],
"videos": [],
"reviews": [],
"badges": ["Top Rated"],
"social": {
"facebook": null,
"instagram": "https://instagram.com/marineenginesmiami",
"linkedin": null,
"youtube": null
},
"yearEstablished": 2015,
"updatedAt": "2024-03-15T00:00:00.000Z"
}
}/api/v1/public/contractors/specialtiesReturns all available specialty categories with their IDs and slugs. Use the slug value in search and geo-search filters.
curl "https://boatwork.co/api/v1/public/contractors/specialties" \
-H "Authorization: Bearer bw_public_your_key_here"{
"success": true,
"data": {
"specialties": [
{ "id": "sp_1", "name": "Engine Repair", "slug": "engine-repair" },
{ "id": "sp_2", "name": "Yacht Detailing", "slug": "yacht-detailing" },
{ "id": "sp_3", "name": "Marine Electrical", "slug": "marine-electrical" }
]
}
}Error Responses
All errors return a consistent JSON shape with an HTTP status code.
Error format
{
"success": false,
"error": "string — machine-readable error code",
"details": "string — human-readable explanation (when available)"
}| Parameter | Type | Description |
|---|---|---|
| 400 | Bad Request | Missing or invalid query parameters (e.g. invalid lat/lng, unknown slug). |
| 401 | Unauthorized | Bearer token is missing, malformed, or has been revoked. |
| 404 | Not Found | The requested pro slug or ID does not exist. |
| 429 | Too Many Requests | Daily rate limit exceeded. Check the Retry-After header for seconds until reset. |
| 500 | Server Error | Unexpected internal error. If this persists, contact support@boatwork.co. |
{
"success": false,
"error": "Invalid or inactive API key"
}{
"success": false,
"error": "Contractor not found"
}{
"success": false,
"error": "Daily rate limit of 10 requests exceeded"
}429 responses include a Retry-After header with the number of seconds to wait before retrying.
Acceptable Use
By using the Boatwork API you agree to the following:
- Use the API for lawful purposes only. Do not redistribute raw data in bulk or build a competing pro directory.
- Do not attempt to circumvent rate limits, scrape data beyond the pagination caps, or use automated tools to harvest contact information.
- Attribute data to Boatwork when displaying storefronts or ratings publicly (e.g. "Data from Boatwork").
- Keep your API key confidential. You are responsible for all activity under your key.
- Boatwork reserves the right to revoke keys that violate these terms or negatively impact platform performance.
Full terms at boatwork.co/legal/terms. Questions? Email support@boatwork.co.
Ready to build?
Get your API key from the developer console and start integrating the Boatwork pro network into your application today.