I can't imagine how it would be illegal. This API is being used by your browser when you login to their website and place orders. Unless their API...
Separate names with a comma.