Guides

Getting an API key

Sign up from the dashboard and create a key under Settings → API Keys. Keys are scoped per project and can be rotated at any time. Old keys keep working for 24 hours after rotation.

Working with tides

Tide responses include heights in metres relative to chart datum, plus the time of each high and low water. Times are returned in the port's local timezone. Use the days query parameter (1–7) to extend the window.

Handling errors

All errors return a JSON body with code and message fields. A 429 means you hit the rate limit; back off and retry after the number of seconds in the Retry-After header.