If the API was protected in any way, the usage can fall under anti-circumvention. That's how the DMCA works. This is also a fact.
We can dispute what actually happened, and we can dispute invididual laws in China (or in EU, or the US), but your assertions seem to be suggesting that it's wrong that these things happen at all, which is not true.