OpenAQ Owners API
The Owners API from OpenAQ — 2 operation(s) for owners.
The Owners API from OpenAQ — 2 operation(s) for owners.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/openaq-owners-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: OpenAQ Owners API
description: '
OpenAQ is a nonprofit organization providing universal access to air
quality data to empower a global community of changemakers to solve air
inequality-the unequal access to clean air.'
version: 2.0.0
tags:
- name: Owners
paths:
/v3/owners/{owners_id}:
get:
tags:
- Owners
summary: OpenAQ Get a owner by ID
description: Provides a owner by owner ID
operationId: owner_get_v3_owners__owners_id__get
security:
- APIKeyHeader: []
parameters:
- name: owners_id
in: path
required: true
schema:
type: integer
description: Limit the results to a specific owner by id
title: Owners Id
description: Limit the results to a specific owner by id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OwnersResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v3/owners:
get:
tags:
- Owners
summary: OpenAQ Get owners
description: Provides a list of owners
operationId: owners_get_v3_owners_get
security:
- APIKeyHeader: []
parameters:
- name: order_by
in: query
required: false
schema:
anyOf:
- $ref: '#/components/schemas/OwnersSortFields'
- type: 'null'
description: The field by which to order results
examples:
- order_by=id
default: id
title: Order By
description: The field by which to order results
- name: sort_order
in: query
required: false
schema:
anyOf:
- $ref: '#/components/schemas/SortOrder'
- type: 'null'
description: Sort results ascending or descending. Default ASC
examples:
- sort=desc
default: asc
title: Sort Order
description: Sort results ascending or descending. Default ASC
- name: limit
in: query
required: false
schema:
type: integer
description: "Change the number of results returned.\n e.g. limit=100 will return up to 100 results"
examples:
- '100'
default: 100
title: Limit
description: "Change the number of results returned.\n e.g. limit=100 will return up to 100 results"
- name: page
in: query
required: false
schema:
type: integer
description: Paginate through results. e.g. page=1 will return first page of results
examples:
- '1'
default: 1
title: Page
description: Paginate through results. e.g. page=1 will return first page of results
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OwnersResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
OwnersSortFields:
type: string
const: id
title: OwnersSortFields
openaq_api__v3__models__responses__Meta:
properties:
name:
type: string
title: Name
default: openaq-api
website:
type: string
title: Website
default: /
page:
type: integer
title: Page
default: 1
limit:
type: integer
title: Limit
default: 100
found:
anyOf:
- type: integer
- type: string
- type: 'null'
title: Found
type: object
title: Meta
Owner:
properties:
id:
type: integer
title: Id
name:
type: string
title: Name
type: object
required:
- id
- name
title: Owner
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
SortOrder:
type: string
enum:
- asc
- desc
title: SortOrder
OwnersResponse:
properties:
meta:
allOf:
- $ref: '#/components/schemas/openaq_api__v3__models__responses__Meta'
default:
limit: 100
name: openaq-api
page: 1
website: /
results:
items:
$ref: '#/components/schemas/Owner'
type: array
title: Results
type: object
required:
- results
title: OwnersResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key