New license purchases will be for version 5. However, once registered to your "My VMware" account you can downgrade the keys to version 4.
Regarding your question about the API. Yes, with any paid license the API will unlocked which may be required by your application (You'd have to check with the vendor what's required).
André