Using a Custom Proxy
This example shows how to make a request with or without a browser using your own proxy information.
By default, no proxy is used which can quickly result in the ScrAPI server IP address being banned. You can use the proxy options provided by us or use your own proxy.
This use your own proxy server, simply set the customProxyUrl
parameter the proxy URL to use with the format protocol://username:password@host:port
There is no need to set the ‘proxyType’ parameter to Custom
, this is implied by supplying a value for customProxyUrl
.
Example Request
POST https://api.scrapi.tech/v1/scrape
Example With Credentials
{
"url": "https://deventerprise.com",
"customProxyUrl": "socks5://username:password@example.com:8080"
}
Example Without Credentials
{
"url": "https://deventerprise.com",
"customProxyUrl": "http://example.com:9090"
}
Testing
If you want to test this request or a variation of it, head to the Playground or the OpenAPI page.