Here is a very similar flow using a Function node
[{"id":"efaea6e1.c7a46","type":"inject","z":"d345a010.8f36d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":300,"y":180,"wires":[["72bef589.4425dc"]]},{"id":"72bef589.4425dc","type":"http request","z":"d345a010.8f36d8","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://cluj-napoca.pulse.eco/rest/current","tls":"","persist":false,"proxy":"","authType":"","x":490,"y":180,"wires":[["c07a7573.a818c8"]]},{"id":"c07a7573.a818c8","type":"function","z":"d345a010.8f36d8","name":"","func":"let arr = msg.payload\nlet pm25 = arr.find(el => el.sensorId == '522ad249-96b8-47b7-a63e-8dba638cef6e' && el.type == 'pm25')\nlet pm10 = arr.find(el => el.sensorId == '522ad249-96b8-47b7-a63e-8dba638cef6e' && el.type == 'pm10')\n\nlet newMsg = {\n \"payload\": arr,\n \"pm25\" : pm25.value,\n \"pm10\" : pm10.value\n};\n\nreturn newMsg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":680,"y":180,"wires":[["4f633983.ecbeb"]]},{"id":"4f633983.ecbeb","type":"debug","z":"d345a010.8f36d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":850,"y":180,"wires":[]}]
ps. i noticed that your sensorId 522ad249-96b8-47b7-a63e-8dba638cef6e
doesnt return
Humidity, Temperature, Pressure ? Are those stored under a different device id ?
ps2. Does your API always return one PM25 and PM10 respectively with that id ?