Instagram follow robot

Hello guys, I’m working on a project that I have to develop a Instagram follower robot. But in this case the robot has to follow only accounts with at least one stories posted (therefore an open account). I have no clue how to do this verification. Any thoughts?
Thanks in advance!

Here an example of who the robot would follow.

Screenshot_20210812_233318_com.instagram.android|230x500