Implement redirecting to temporary direct links, while caching them to reduce number of API requests