Check your timeout setting

Connection_timeout refers to the maximum time allowed for the API to attempt a request. With ScraperAPI you need to have it set at 60 seconds to give the API enough time to retry your request with different proxies until it returns a successful response (or return an error code if the request was unsuccessful). Keep in mind that setting the connection_timeout lower than 60 seconds will increase the speed of each request but may lower your overall success rate.

Last updated