Skip to content

Get a location by ID

GET
/v3/locations/{locations_id}

Provides a location by location ID

Parameters

Path Parameters

locations_id
required

Limit the results to a specific location by id

integer

Limit the results to a specific location by 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
Any of:
string
locality
Any of:
string
timezone
required
string
country
required
object
id
Any of:
integer
code
required
string
name
required
string
owner
required
object
id
required
integer
name
required
string
provider
required
object
id
required
integer
name
required
string
isMobile
required
boolean
isMonitor
required
boolean
instruments
required
Array<object>
object
id
required
integer
name
required
string
sensors
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
coordinates
required
object
latitude
Any of:
number
longitude
Any of:
number
licenses
Any of:
Array<object>
object
id
required
integer
name
required
string
attribution
required
object
name
required
string
url
Any of:
string
dateFrom
Any of:
string format: date
dateTo
Any of:
string format: date
bounds
required
Array<number>
>= 4 items <= 4 items
distance
Any of:
number
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

422

Validation Error

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