Get Point Analysis
Returns historical data for a single latitude-longitude coordinate.
|Category||For now, there is only one category for the API,
|Version||When the API for a given category is changed, the
|Parameter||The parameter to get.|
|From||Get data starting from this date time.|
|To||Get data up until this date time.|
|Interval||The aggregation interval to use. Valid values are
The data is returned as mediatype application/json (
). The JSON-result is an array of objects where each object contains the key
value that stores the parameter value (a float) and the key
date_time that stores the value's date time (a RFC3339 formatted date time).
longitude specifies the target coordinate.
The values returned in the response are the result of a linear interpolation with the four
closest data points of the given coordinate.
The query parameters
to are optional. If
from is specified but not
all available data after
from is returned. If
to is specified but not
from, all data from the start up until
to is returned.
If neither is specified data for the last 24 hours is returned.
The query parameter
interval is optional. If
interval is not specified
hourly interval is used. If the interval is
monthly the values in
the response are added together to form one value for each day/month in the in the range
The date time format for
to query parameters is RFC3339,
2020-01-02T10:00:00+02:00. It may also be specified without a
time zone (
2020-01-02T10:00:00) in which case the time zone is set to +00:00 (UTC),
and without the time part (
2020-01-02) in which case the time is set to 00:00.
It can be further simplified by removing the second, minute or hour parts (which are all set
to 0), and the day part (which is set to 1) as well as the hyphens and colons. For example,
2020010211 gets parsed to 2020-01-02T11:00:00Z.