Data enrichment workflow

I am creating a data enrichment app. In which a user uploads a list of websites and makes calls to a specific API that returns me several outputs. My question is, how to create a processing queue in the API with a 3 seconds interval?