Skip to main content

Get observations for a station

GET 

/observations/:stationId

Retrieves a set of observations for a specified station. The data can be filtered by a date/time range or by the most recent number of minutes.

Usage examples:

  • Get latest observation: Use ?sort=-time&limit=1
  • Get last 10 minutes: Use ?last_minutes=10
  • Get a specific time range: Use ?from_date_time=...&to_date_time=...

Note: last_minutes cannot be used with from_date_time or to_date_time.

Request

Responses

A set of observations for the specified station and time range.