Skip to content

Get a country by ID

GET
/v3/countries/{countries_id}

Provides a country by country ID

Parameters

Path Parameters

countries_id
required
integer

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
code
required
string
name
required
string
datetimeFirst
Any of:
string format: date-time
datetimeLast
Any of:
string format: date-time
parameters
Any of:
Array<object>
object
id
required
integer
name
required
string
units
required
string
displayName
Any of:
string

422

Validation Error

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