I would like to know the Ecowitt HP2551 sent data input to Home assistant API protocol

Hello ,I would like to know the Ecowitt HP2551 sent data input to Home assistant URL and API protocol is HTTP or MQTT ?i the data format is JSON ?can you send me the complete API of HP2551 ,thanks