Skip to content

Get countries

GET
/v2/countries

Provides a list of countries

Parameters

Query Parameters

limit
integer
default: 100
page
Any of:
integer
offset
Any of:
integer
sort
Any of:
string
Allowed values: asc desc
country_id
Any of:
integer
order_by
string
Allowed values: code name locations firstUpdated lastUpdated parameters count cities sources

Request Body

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
code
required
string
name
required
string
locations
required
integer
firstUpdated
required
string
lastUpdated
required
string
parameters
required
Array<string>
count
required
integer
cities
required
integer
sources
required
integer

422

Validation Error

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