added random api selection to reduce rate limiting