Skip to content

Get latest measurements

GET
/v2/latest

Provides a list of locations with latest measurements

Parameters

Query Parameters

limit
Any of:
integer
page
Any of:
integer
offset
Any of:
integer
sort
Any of:
string
Allowed values: asc desc
parameter_id
Any of:
integer
coordinates
Any of:
string
radius
integer
default: 1000
country_id
Any of:
integer
order_by
string
Allowed values: city country location sourceName firstUpdated lastUpdated count random distance
is_mobile
Any of:
boolean
is_analysis
Any of:
boolean
entity
Any of:
string
Allowed values: government community research
sensor_type
Any of:
string
Allowed values: reference grade low-cost sensor
dump_raw
Any of:
boolean

Request Body

object
parameter
Any of:
Array<string>
unit
Any of:
Array<string>
country
Any of:
Array<string>
city
Any of:
Array<string>
location_id
Any of:
Array<integer>
location
Any of:
Array<string>
source_name
Any of:
Array<string>
model_name
Any of:
Array<string>
manufacturer_name
Any of:
Array<string>

Responses

200

Successful Response

object
meta
object
name
string
default: openaq-api
license
string
""
website
string
default: /
page
integer
default: 1
limit
integer
default: 100
found
Any of:
integer
results
required
Array<object>
object
location
Any of:
string
city
Any of:
string
country
Any of:
string
coordinates
Any of:
object
latitude
Any of:
number
longitude
Any of:
number
measurements
required
Array<object>
object
parameter
required
string
value
required
number
lastUpdated
required
string
unit
required
string

422

Validation Error

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