Skip to content

Get sensors by location ID

GET
/v3/locations/{locations_id}/sensors

Provides a list of sensors by location ID

Parameters

Path Parameters

locations_id
required

Limit the results to a specific sensors id

integer

Limit the results to a specific sensors id

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
id
required
integer
name
required
string
parameter
required
object
id
required
integer
name
required
string
units
required
string
displayName
Any of:
string
datetimeFirst
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time
datetimeLast
Any of:
object
utc
required
string format: date-time
local
required
string format: date-time
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
latest
Any of:
object
datetime
required
object
utc
required
string format: date-time
local
required
string format: date-time
value
required
number
coordinates
required
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

422

Validation Error

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