Get locations
GET
/v2/locations
Provides a list of locations
Parameters
Query Parameters
limit
page
parameter_id
parameter
Any of:
Array<string>
null
(optional) A parameter name or ID by which to filter measurement results. e.g. parameter=pm25 or parameter=pm25¶meter=pm10
unit
Any of:
Array<string>
null
coordinates
radius
Search radius from coordinates as center in meters. Maximum of 25,000 (25km) defaults to 1000 (1km) e.g. radius=10000
integer
Search radius from coordinates as center in meters. Maximum of 25,000 (25km) defaults to 1000 (1km) e.g. radius=10000
country_id
country
Any of:
Array<string>
null
Limit results by a certain country using two letter country code. e.g. ?country=US or ?country=US&country=MX
city
Any of:
Array<string>
null
Limit results by a certain city or cities. (e.g. ?city=Chicago or ?city=Chicago&city=Boston)
location_id
Any of:
Array<integer>
null
location
Any of:
Array<string>
null
order_by
Order by a field
string
Order by a field
is_analysis
source_name
Any of:
Array<string>
null
Name of the data source e.g. ?sourceName=Houston%20Mobile
entity
sensor_type
model_name
manufacturer_name
Responses
200
Successful Response
object
meta
results
required
Array<object>
object
id
required
integer
sources
Any of:
Array<object>
isMobile
required
boolean
parameters
Any of:
Array<object>
object
id
required
integer
unit
required
string
count
required
integer
average
required
number
parameter
required
string
lastUpdated
required
string
parameterId
required
integer
firstUpdated
required
string
manufacturers
Any of:
Array<object>
object
modelName
required
string
manufacturerName
required
string
object
modelName
required
string
manufacturerName
required
string
null
coordinates
measurements
required
integer
bounds
Any of:
Array<number>
null
manufacturers
Any of:
Array<object>
object
modelName
required
string
manufacturerName
required
string
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string