As I know, there is no such API. You can view the remaining transaction from the Account page from the Marketplace. Log in and click "My Account", then select "My Details". You will see all the data that you are subscribed to, and how many quotas are left.
source share