I found the problem and a solution.
The problem is due to double caching system:
1) the final widget output is cached using the class class/Magento_Cache.php
2) single api results are cached in class/Magento.php through calls to setAPICacheResults
I solved the problem commenting out all the calls to setAPICacheResults and getAPICacheResults in the file class/Magento.php