Licensed marina data · API v1

DockWise Partner API

Bring published marina facts and DockWise docking insights into your product, with clear attribution and agreed licensing.

Request API access

Access & authentication

Captain Rob provides a key after licensing is agreed. Send it only in the Authorization header, never in a URL. All requests use HTTPS and return JSON. Keep keys on your server, not in public browser code.

curl 'https://dockwiseai.com/api/public/partners/v1/marinas?limit=25&offset=0' \
  -H "Authorization: Bearer $DOCKWISE_API_KEY"

The examples describe the unpublished API preview; production endpoints become available only after an owner-approved release. TEST keys work only on preview hosts.

Endpoints

Published marinas

Names, canonical report links, location, region, Marina Quality, public skill labels, amenities, depths, maximum boat dimensions, VHF, fuel prices, rates, status and verification dates.

GET https://dockwiseai.com/api/public/partners/v1/marinas?limit=25&offset=0

One marina

The same published facts, plus the reviewed dock count, saved fairway width range, usual wind exposure and recorded entrance point.

GET https://dockwiseai.com/api/public/partners/v1/marinas/safe-harbor-toledo-beach-la-salle-mi

Nearby marinas

Published marinas within the chosen radius in miles, sorted nearest first, with distance_miles. Radius is straight-line distance, not a navigable route.

GET https://dockwiseai.com/api/public/partners/v1/nearby?lat=41.84&lng=-83.43&radius=25&limit=25&offset=0

Lists accept limit (1–50, default 25) and offset (0–10,000, default 0). Nearby also requires lat (−90 to 90) and lng (−180 to 180); radius is greater than zero up to 100 miles, default 25. Unknown parameters are rejected. pagination.next_offset is null on the final page.

Response format

Illustrative response excerpt using a fictional marina; real requests return recorded facts only.

{
  "api_version": "1",
  "data": [
    {
      "name": "Example Marina",
      "slug": "example-marina",
      "url": "https://dockwiseai.com/marinas/example-marina",
      "marina_quality": null,
      "docking": {
        "name": "DockWise Docking Grade",
        "letter": null,
        "skill_label": "Some experience recommended",
        "details_url": "https://dockwiseai.com/marinas/example-marina#scores"
      },
      "depths_ft": {
        "approach": null,
        "dockside": null
      },
      "fuel_prices": {
        "currency": "USD",
        "unit": "US gallon",
        "gas": null,
        "diesel": null,
        "checked_on": null
      },
      "rates": [],
      "last_verified": null
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 25,
    "total": 1,
    "next_offset": null
  }
}

Single-marina responses use a data object, not an array. Nearby entries include distance_miles. Missing facts are null or an empty collection, never estimates invented for the API. Dates use YYYY-MM-DD. Depths and boat dimensions are feet; fuel prices are USD per US gallon. Rate units and effective dates are returned as recorded.

dock_layout includes dock_type, layout, dock_count, review_status, fairway_width, wind_exposure and entrance. Dock counts appear only when the saved layout is approved; awaiting_review returns a null count. A single saved width is labelled an estimate; multiple readings show the recorded range. Usual wind is saved historical context, not a live forecast. Entrance coordinates are a recorded point, not navigation instructions.

Public data & usage

  • Published, non-TEST marinas only. No boater identities, staff contacts, private notes, individual reports, draft geometry or scoring formulas.
  • B− and higher DockWise Docking Grade letters remain visible. Other results use the site’s positive skill labels, with a link to docking details. Marina Quality is shown only at 60 or higher.
  • Each key has its own per-calendar-minute allowance, set by the admin. Authorized requests—including validation errors and missing marina lookups—count; throttled attempts are counted separately. Revocation stops subsequent requests immediately.
  • Rate headers: X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds). A 429 response includes Retry-After in seconds. Requests and usage days are counted in UTC.
  • Responses are not publicly cached. Respect the agreed refresh terms so publication changes stay current. Attribution uses “DockWise Docking Grade” and the returned canonical marina link.

Response codes

200Published data returned
400Check the documented parameters
401Supply an active partner key
404No published marina at that slug
429Wait for the next request window
503Retry when data access is available
{
  "error": {
    "code": "unauthorized",
    "message": "A valid partner API key is required."
  }
}

Let’s plan your integration

Tell Captain Rob about your product, coverage and field needs. Access and permitted reuse follow your licensing agreement.

Request API access

Reviewed by Captain Robert B. Kolb, USCG Licensed Captain.