The sidekiq job will not know about whether a page list loads more data. It is independent.
You will have the sidekiq job periodically load the data using the API and store it together with the topic.
Then when the topic list is loaded, the stored data will be retrieved. See it as a caching mechanism.