For the on-prem version you need a valid license. Then you can download it from https://support.sap.com/swdc -> A-Z -> A -> SAP API Management OP
If you want to give the cloud version a try, you can follow the steps outlined here: Free Trial of SAP API Management on HANA Cloud Platform is available now!
Regards,
Holger.