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
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
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.