Machine info card on api?

Hi, I want to download

that image with the HTB api. If I press the download button, It downloads the image but I needed in the api. Thanks!