extract pm2.5 api helper.