v3

Get measurements aggregated to days by sensor ID

Changed on

Provides a list of measurements by sensor ID

get/v3/sensors/{sensors_id}/measurements/daily

Request

  • Base URL
    https://api.openaq.org (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header X-API-Key

Path parameters

sensors_idinteger required

Limit the results to a specific sensors id

Query parameters

string date-time
OR
string date
string date-time
OR
string date
limitinteger

Change the number of results returned. e.g. limit=100 will return up to 100 results

pageinteger

Paginate through results. e.g. page=1 will return first page of results

Response

Successful Response

Changes

    • breaking

      the response property results/items/value became optional for the status

    • breaking

      response property results/items/value list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      the meta response's property type changed from no type to object for status

    6 more changes in this revision