Skip to content

Get measurements aggregated from day to day of week by sensor ID

GET
/v3/sensors/{sensors_id}/days/monthofyear

Provides a list of yearly summaries of daily data by sensor ID

Parameters

Path Parameters

sensors_id
required

Limit the results to a specific sensors id

integer

Limit the results to a specific sensors id

Query Parameters

date_to
Any of:
string format: date-time

To when?

date_from
Any of:
string format: date-time

From when?

Responses

200

Successful Response

object
meta
object
name
string
default: openaq-api
website
string
default: /
page
integer
default: 1
limit
integer
default: 100
found
Any of:
integer
results
required
Array<object>
object
value
Any of:
number
parameter
required
object
id
required
integer
name
required
string
units
required
string
displayName
Any of:
string
period
Any of:
object
label
required
string
interval
required
string
datetimeFrom
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time
datetimeTo
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time
coordinates
Any of:
object
latitude
Any of:
number
longitude
Any of:
number
summary
Any of:
object
min
Any of:
number
q02
Any of:
number
q25
Any of:
number
median
Any of:
number
q75
Any of:
number
q98
Any of:
number
max
Any of:
number
avg
Any of:
number
sd
Any of:
number
coverage
Any of:
object
expectedCount
required
integer
expectedInterval
required
string
observedCount
required
integer
observedInterval
required
string
percentComplete
required
number
percentCoverage
required
number
datetimeFrom
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time
datetimeTo
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string