Skip to main content
Technical Preview

PurpleAir

Client-mode REST API connector for a curated PurpleAir v1 slice: list sensors and read one sensor.
  • Hub category: Public data.
  • Base: https://api.purpleair.com

Template reference

Generated from the shipped broker template purpleair (-routeCode PURPLEAIR). It lists every event the template defines.

Auth

Auth headers used by the template: X-API-Key: Bearer {value.json.api_token}.

Template parameters

BASE_ADDRESS default: https://api.purpleair.com.

Events

Deploy

Get the template card (JSON with template and metadata) from the broker, then deploy the connector:
The deployable connector from the REST API app, with BASE_ADDRESS already filled in:
Deploy it with -addRoute (do not include ADD METADATA).

Usage example

Call Listsensors by publishing a JSON payload to its request topic, and read the reply on the response topic:
Last modified on October 21, 2026