Reading the amount of tokens on an address via API


Hi everyone!

I was looking for a way to automatically read the amount of tokens (not Waves coins) stored on a particular address and add a certain percentage of that token if the tokens on the address have reached a certain amount.

Is there a way to do that automatically with a PHP/Javascript script via API? What if there are multiple token addresses?

Thank you!