npm
by running:
HTTP
client for Node.js, and add it to your project.
axios
library.
Get Your Credentials
Configure the Proxy URL
<YOUR_USERNAME>
and <YOUR_PASSWORD>
with your ZenRows proxy credentials.Code Example
httpbin.io/ip
, which returns the IP address used for the request.axios
.
407 Proxy Authentication Required
or a 401 Unauthorized
error, double-check your username
and password
in the auth section of your proxy configuration. Ensure that they match the credentials in the ZenRows dashboard.
Can I use HTTPS with ZenRows® Residential Proxies?
proxy.host
value or use an HTTPS URL.How can I change the IP rotation interval?
What should I do if my requests are blocked?
What is the Sticky TTL?
How do I know if my proxy is working?
https://httpbin.io/ip
. The proxy is successfully applied if the response shows an IP address different from your local IP.