Skip to content
Book a demoStart free
Connectors

OpenAQ connector

Set up the OpenAQ connector in Kaivo: authentication, configuration, the 16 BigQuery tables it syncs, and answers to common questions.

OpenAQ connector pricing, tier and credits on kaivo.io

Kaivo is a fully managed data platform that syncs your OpenAQ data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your data from OpenAQ instead of moving it.

Sync your OpenAQ air-quality measurements, locations, and sensors into BigQuery with Kaivo to analyse pollution levels across sites and countries.

CategoryOther
AuthenticationAPI key
SetupSelf-service
  1. Sign up for Kaivo and create a workspace.
  2. Connect your OpenAQ account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticate with your API Key.

Field Description
API Key
Your OpenAQ API key. Register for free at explore.openaq.org/register, then find or rotate your key under your account settings.

|

When you set up the connector, you provide:

Field Description
Country IDs
The numeric OpenAQ country IDs to fetch air quality data for (e.g. 42 for Kazakhstan). Look up IDs in the OpenAQ countries list.

|

Kaivo syncs 16 tables from OpenAQ into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

countries (7 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
code STRING
datetime_first STRING
datetime_last STRING
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
units STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
instruments (7 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
is_monitor BOOL
manufacturer__id FLOAT64
manufacturer__name STRING
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
latest_parameters (9 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coordinates__latitude FLOAT64
coordinates__longitude FLOAT64
datetime__local STRING
datetime__utc STRING
locations_id FLOAT64
sensors_id FLOAT64
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
license_instrument (10 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
attribution_required BOOL
commercial_use_allowed BOOL
id FLOAT64
modification_allowed BOOL
name STRING
redistribution_allowed BOOL
share_alike_required BOOL
source_url STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
licenses (10 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
attribution_required BOOL
commercial_use_allowed BOOL
id FLOAT64
modification_allowed BOOL
name STRING
redistribution_allowed BOOL
share_alike_required BOOL
source_url STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
location_latest_measure (9 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coordinates__latitude FLOAT64
coordinates__longitude FLOAT64
datetime__local STRING
datetime__utc STRING
locations_id FLOAT64
sensors_id FLOAT64
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
locations (21 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coordinates__latitude FLOAT64
coordinates__longitude FLOAT64
country__code STRING
country__id FLOAT64
country__name STRING
datetime_first__local STRING
datetime_first__utc STRING
datetime_last__local STRING
datetime_last__utc STRING
id FLOAT64
is_mobile BOOL
is_monitor BOOL
locality STRING
name STRING
owner__id FLOAT64
owner__name STRING
provider__id FLOAT64
provider__name STRING
timezone STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
attribution__name STRING
date_from STRING
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
parameter__display_name STRING
parameter__id FLOAT64
parameter__name STRING
parameter__units STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
manufacturer_instruments (7 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
is_monitor BOOL
manufacturer__id FLOAT64
manufacturer__name STRING
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
manufacturers (4 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
measurements_daily (32 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coverage__datetime_from__local STRING
coverage__datetime_from__utc STRING
coverage__datetime_to__local STRING
coverage__datetime_to__utc STRING
coverage__expected_count FLOAT64
coverage__expected_interval STRING
coverage__observed_count FLOAT64
coverage__observed_interval STRING
coverage__percent_complete FLOAT64
coverage__percent_coverage FLOAT64
flag_info__has_flags BOOL
parameter__id FLOAT64
parameter__name STRING
parameter__units STRING
period__datetime_from__local STRING
period__datetime_from__utc STRING
period__datetime_to__local STRING
period__datetime_to__utc STRING
period__interval STRING
period__label STRING
summary__avg FLOAT64
summary__max FLOAT64
summary__median FLOAT64
summary__min FLOAT64
summary__q02 FLOAT64
summary__q25 FLOAT64
summary__q75 FLOAT64
summary__q98 FLOAT64
summary__sd FLOAT64
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
measurements_yearly (32 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coverage__datetime_from__local STRING
coverage__datetime_from__utc STRING
coverage__datetime_to__local STRING
coverage__datetime_to__utc STRING
coverage__expected_count FLOAT64
coverage__expected_interval STRING
coverage__observed_count FLOAT64
coverage__observed_interval STRING
coverage__percent_complete FLOAT64
coverage__percent_coverage FLOAT64
flag_info__has_flags BOOL
parameter__id FLOAT64
parameter__name STRING
parameter__units STRING
period__datetime_from__local STRING
period__datetime_from__utc STRING
period__datetime_to__local STRING
period__datetime_to__utc STRING
period__interval STRING
period__label STRING
summary__avg FLOAT64
summary__max FLOAT64
summary__median FLOAT64
summary__min FLOAT64
summary__q02 FLOAT64
summary__q25 FLOAT64
summary__q75 FLOAT64
summary__q98 FLOAT64
summary__sd FLOAT64
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
owners (4 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
parameters (7 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
description STRING
display_name STRING
id FLOAT64
name STRING
units STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
providers (11 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
bbox__type STRING
datetime_added STRING
datetime_first STRING
datetime_last STRING
entities_id FLOAT64
export_prefix STRING
id FLOAT64
name STRING
source_name STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value JSON
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
name STRING
units STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
sensor_measurements (23 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coverage__datetime_from__local STRING
coverage__datetime_from__utc STRING
coverage__datetime_to__local STRING
coverage__datetime_to__utc STRING
coverage__expected_count FLOAT64
coverage__expected_interval STRING
coverage__observed_count FLOAT64
coverage__observed_interval STRING
coverage__percent_complete FLOAT64
coverage__percent_coverage FLOAT64
flag_info__has_flags BOOL
parameter__id FLOAT64
parameter__name STRING
parameter__units STRING
period__datetime_from__local STRING
period__datetime_from__utc STRING
period__datetime_to__local STRING
period__datetime_to__utc STRING
period__interval STRING
period__label STRING
value FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
sensors (30 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
coverage__datetime_from__local STRING
coverage__datetime_from__utc STRING
coverage__datetime_to__local STRING
coverage__datetime_to__utc STRING
coverage__expected_count FLOAT64
coverage__expected_interval STRING
coverage__observed_count FLOAT64
coverage__observed_interval STRING
coverage__percent_complete FLOAT64
coverage__percent_coverage FLOAT64
datetime_first__local STRING
datetime_first__utc STRING
datetime_last__local STRING
datetime_last__utc STRING
id FLOAT64
latest__coordinates__latitude FLOAT64
latest__coordinates__longitude FLOAT64
latest__datetime__local STRING
latest__datetime__utc STRING
latest__value FLOAT64
name STRING
parameter__display_name STRING
parameter__id FLOAT64
parameter__name STRING
parameter__units STRING
summary__avg FLOAT64
summary__max FLOAT64
summary__min FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where OpenAQ supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won’t get duplicate rows.

How long does the initial sync take for OpenAQ?

Section titled “How long does the initial sync take for OpenAQ?”

It depends on how much history is in your OpenAQ account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they’re much faster.

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don’t select are never copied to your warehouse.

What happens when OpenAQ’s schema changes?

Section titled “What happens when OpenAQ’s schema changes?”

New fields are never added automatically. You choose which fields to sync, so data you haven’t selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table’s sync mode: full-refresh tables always match what’s currently in OpenAQ, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Section titled “How do I handle GDPR or data deletion requests?”

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in OpenAQ instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the OpenAQ connector in Kaivo and all of its synced data is deleted with it.

Use sensor_measurements and latest_parameters to track pollutant levels over time.

Join locations with sensors to compare air quality across sites.

Use parameters to see which pollutants are measured where.

Group measurements by country to compare air quality across regions.

Once OpenAQ data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here’s how the most common destinations work with OpenAQ data.

Use Kaivo’s MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Microsoft’s BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

The premium analytics standard, with native BigQuery integration. Setup guide →

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Connect via Power Query’s BigQuery connector. Setup guide →

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for OpenAQ connector pricing and plan details.