{"id":"341796b4-7bae-4437-9c5e-bb8e47687d8d","task":"create a purpleair sensor group to poll multiple sensors and read their data in one call","domain":"api.purpleair.com","steps":["Request an API key pair from PurpleAir — a READ key for reading data and a WRITE key for creating/modifying resources","POST to /v1/groups with the WRITE key and a group name to create a group; the response returns a group_id","POST to /v1/groups/{group_id}/members with the WRITE key and a sensor_index to add each sensor as a group member","GET /v1/groups/{group_id}/members with the READ key and a fields query param (comma-separated field names) to read current data for all member sensors in one call","Use the group member-history endpoint to retrieve historical data for a specific member sensor within the group"],"gotchas":["READ and WRITE keys are distinct — creating/deleting groups or members requires a WRITE key; data reads use a READ key","Groups exist specifically so you can poll many sensors in one request instead of hitting single-sensor endpoints repeatedly","The fields param must be set explicitly on member reads or the response may omit the measurements you need"],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/341796b4-7bae-4437-9c5e-bb8e47687d8d"}