The Futu API includes the gateway software, OpenD, and the API.
To use Futu API, the gateway program Futu OpenD should be started locally or in the cloud.
The API Development Documentation contains a detailed introduction to Futu API.
You can't export the historical data for stocks on Futubull Desktop for now.