Skip to main content

When to use this endpoint

GET /buoys/last_readings is best when:
  • You already have a list of specific buoy IDs you care about (e.g. stored in your own database)
  • You want only reading data, without buoy metadata, for a minimal payload
  • You need targeted polling for a small, fixed set of buoys
Don’t have IDs yet? Use GET /buoys?country=FR — it returns buoys with readings in one call, and is the right starting point for building your ID list.

Basic usage

By default, only the first 3 IDs in your list are returned. To fetch more, pass a limit:

Parameters

Array-style IDs also work:

Response

missing_ids

Any IDs you requested that don’t exist in the database are returned in missing_ids. This lets you detect stale IDs in your application without additional lookups.

Payload design

The endpoint returns only the fields needed for reading collection. Forecast fields (tide_forecast, marine_forecast, weather_forecast) are excluded to keep payloads small, even at 100 buoys per request.

Polling 30+ buoys

If you have more than 100 buoys, chunk the ID list and make multiple calls. Each call counts as one request against your rate limit:

Choosing between country filter and last_readings